THIS IS A TEST/DEMO NOT THE FULL CODE. (FULL COMING LATER)
NEED SOME BACKROUND KNOWLEDGE
Educational TCP Reverse-Shell Demo (Safe Version)
This project is an educational demonstration of a reverse-shell style client/server architecture using Python TCP sockets.
-
Client
- Connects back to a server (reverse connection)
- Reports basic system information (IP, machine type, OS)
- Sends output back to the server
-
Server
- Listens for incoming client connections
- Sends commands to connected clients
- Receives and prints client responses
- Supports interactive communication without blocking using threads
-
Set the IP Address
- Edit both
server.pyandclient.py. - Change the IP address to the machine you want the client to connect to.
- Edit both
-
Start the Server
- Open a command terminal on the machine running
server.py. - Run:
python server.py
- You should see a message like:
Server is running and waiting for a connection...
- Open a command terminal on the machine running
-
Start the Client
- On the same machine or another machine (your choice for testing), open a command terminal.
- Run:
python client.py
- The client will connect to the server and send basic system info.
-
Interact with the Server
- On the server terminal, once the client connects, you should see:
Run Commands: - You can now type (like
IPCONFIGon Windows orPING) and see the output from the client.
- On the server terminal, once the client connects, you should see: