sparse/examples/reverse-shell
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
..

Example reverse shell proof of concept

This bind shell works through local host firewalls on Linux systems using UDP to send and receive messages

Setup

libpcap

Follow the directions in the main README in order to pull in the libpcap dependency

Build the code

Once the previous step is completed, run cargo build --release in a terminal.

Running the code

First, open two shells. In one, run docker-compose up examples_reverseshell_target, and in the other run docker-compose run examples_reverseshell_server. It will be possible to type in commands to examples_bindshell_server and run them in the target container