12 Commits

Author SHA1 Message Date
Andrew Rioux
52538ac7d7
feat: added the ability to send commands 2023-09-05 19:05:26 -04:00
Andrew Rioux
180b29531a
feat: added setuid capabilities 2023-08-23 22:40:21 -04:00
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
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
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
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
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