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
..
2023-05-10 21:54:19 -04:00

Example bind shell proof of concept

This bind shell works through local host firewalls on Linux systems using UDP to receive messages, verify them against a public key, run the commands specified, and return the results and display it over the network.

Running the code

In a dev containers terminal, run:

cargo make examples-bindshell-run

This will build the code, generate the keys, create the environment, and run the service and the client in parallel. To verify the execution of the environment, try running iptables -nL and see that the firweall tries to block all packets.