This program is for educational purposes only.
As a student who likes the field of security, I always wondered how one could programmatically implement such a tool. The tool is a simple, well commented project for anyone who is purely interested in the educational part only!! like me. Therefore, I bear no responsibility, in case someone, somehow, uses this tool, for any malicious purpose. I hope you like my project and found it interesting, keep learning.
https://docs.github.com/en/site-policy/acceptable-use-policies/github-active-malware-or-exploits
The following packages must be installed.
sudo apt-get install build-essential git gcc
First download the program from GitHub and go to the simple-reverse-shell folder.
% git clone https://github.com/EmbeddedCat/simple-reverse-shell.git
% cd simple-reverse-shell/
After installation the program must be built. In order to build the program, the following instruction must be
followed.
% make
revershell [OPTION]...
client [IP] [PORT], Try to connect on a server with ip address [ IP ] on port [ PORT ].
server [PORT], Listen on port [ PORT ].
In the above usage example, the server plays the role of the system to be attacked and the client plays the role of the attacker. So by running the server on a certain computer, it forces the system to open a port to listen for a client. The client (attacker) can then, if he has access to that computer over the network, run the program as a client and connect to the port that that computer is listening on.
With a diagram as shown below, I believe it will be fully understood.
