13 lines
623 B
Org Mode
13 lines
623 B
Org Mode
#+TITLE: 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:
|
|
|
|
#+BEGIN_SRC shell
|
|
cargo make examples-bindshell-run
|
|
#+END_SRC
|
|
|
|
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. |