This is an example of a self connecting backdoor which provides a shell for the attacker
This code is prepared for almost every Unix based OS. The server.py is meant to be executed with python3.x
Usage:
- Just start the client.py program to see it trying to connect with the 'attacker'.
- Start the server in another terminal and gain control of client machine
Of course, in the real world scripts like this will never print anything in the client side...
Video demonstration: https://www.youtube.com/watch?v=7Jbx8K104V0