19 Commits

Author SHA1 Message Date
Andrew Rioux
1517ca6f1c
fix: addressed edge cases for external routing 2023-08-17 18:18:05 -04:00
Andrew Rioux
b770d53f57
feat: added a way to specify port to listen on
the backdoor example always listened on port 54248 and did not allow for
configuration, but now it can be changed by passing in a command line argument
2023-05-28 15:17:09 -04:00
Andrew Rioux
bd31c6457d
feat: added a docker breakout feature
if the bind shell example is compiled with the right feature and is run
inside a(n) (im)properly configured Docker container, it is now able to
break out and run some commands on the host

for some reason, under this breakout mode, it runs a little weird with
networking commands, but does fine with file system or IPC based commands
2023-05-12 17:41:20 -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
978d7cb089 chore: run cargo fmt 2023-05-06 22:50:34 -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