Andrew Rioux
a03b50ead4
fix: added a default route for MAC addresses
...
there were issues with MAC addresses not having a valid route when it
couldn't find the right route
2023-05-12 17:33:22 -04:00
Andrew Rioux
5ab43a10fe
fix: fixing revshell example and its routes
2023-05-12 01:16:52 -04:00
Andrew Rioux
4123175eda
doc: converting org mode to markdown
2023-05-10 21:54:19 -04:00
Andrew Rioux
d5e78b5746
fix: made it so that the TERM variable is shared
...
now commands like clear work
2023-05-09 21:26:53 -04:00
Andrew Rioux
57cd4aa2be
docs: updated docs to use cargo make
2023-05-09 21:26:29 -04:00
Andrew Rioux
f1e5b2d979
refactor: redid the bindshell example
...
Made it use a single UDP client as well as proper randomized ports to go
through network firewalls, requiring stdin, status, stderr, and stdout
all go over a single UDP socket
Updated the client to have a prompt
2023-05-09 21:02:46 -04:00
Andrew Rioux
813dc104e8
build: added git tasks to Makefile
2023-05-07 00:39:22 -04:00
Andrew Rioux
52e458296c
build: made it easier to build bind-shell
2023-05-07 00:08:04 -04:00
Andrew Rioux
f3453f4399
fix: removing unneeded code
2023-05-06 23:35:38 -04:00
Andrew Rioux
978d7cb089
chore: run cargo fmt
2023-05-06 22:50:34 -04:00
Andrew Rioux
798eda764f
refactor: removed debug code
2023-05-06 22:50:31 -04:00
Andrew Rioux
c142af62f1
fix: added forgotten error handling
...
AggregateInterface was lacking some special error handling for certain cases
2023-05-06 22:49:28 -04:00
Andrew Rioux
24dff10b6b
feat: added AggregateInterface
...
AggregateInterface can be used to gather multiple libpcap interfaces
together in order to listen to all simultaneously and also selectively
send on different interfaces
2023-05-06 22:48:04 -04:00
Andrew Rioux
cfdf8f7e86
refactor: simplified route query code
...
fighting the borrow checker
2023-05-06 22:47:40 -04:00
Andrew Rioux
c16bf366b7
fix: fixed weird issues with querying routes
...
this just involved a better understanding of the data
types provided by libnl and some refactoring to make querying
as a user of the libnl library easier
2023-05-06 22:46:42 -04:00
Andrew Rioux
be5772fa23
build: actually added firewalls to test container
...
One of the more interesting selling points about this project is that it
works through local system firewalls on Linux (iptables, nf_tables)
This commit makes the testing environments in the docker containers
actually have to go up against a firewall, one which has a default
incoming and outgoing policy of drop
2023-05-06 22:45:47 -04:00
Andrew Rioux
9ebf4b931b
docs: adding preliminary documentation
2023-05-06 22:44:17 -04:00
Andrew Rioux
de2c2cc862
feat: added crates to work on a reverse shell
2023-05-06 22:44:14 -04:00
Andrew Rioux
636d895b50
docs: updated docs to work more with examples
2023-05-06 22:43:23 -04:00
Andrew Rioux
8d53fd7a3e
fix: removed extra keys and fixed docker
2023-05-06 22:42:48 -04:00
Andrew Rioux
bd0aa9dd3b
docs: fixed mistake in docs
2023-05-06 22:42:29 -04:00
Andrew Rioux
9f974a81d6
docs: added better documentation
2023-05-06 22:42:27 -04:00
Andrew Rioux
82dd4acd6b
fix: finished example bind shell
2023-05-06 22:42:23 -04:00
Andrew Rioux
50bca92194
feat: added a client, but forgot to add signing
2023-05-06 22:42:21 -04:00
Andrew Rioux
40d105b043
feat: added command response
2023-05-06 22:42:17 -04:00
Andrew Rioux
9e893dbce9
feat: added command parsing and spawning
2023-05-06 22:42:14 -04:00
Andrew Rioux
e0c7e1c240
feat: added a pcap listener to parse commands
2023-05-06 22:42:10 -04:00