A simple educational project demonstrating remote command execution using Python sockets.
This project shows how a client machine connects to a listener (server) and executes commands remotely.
- 🔹 Client connects to listener
- 🔹 Listener sends commands
- 🔹 Client executes and returns output
Before running the project, you must update the target address inside the code.
target_mac = "LISTNER_MAC-ADDR"👉 Replace LISTNER_MAC-ADDR with the MAC address of the listener device on your network.
target_mac = "00:1A:2B:3C:4D:5E"pip install -r requirements.txtYou can use a tool like netcat:
nc -lvnp 4455python client.py[ Listener ] ---> sends command ---> [ Client ]
[ Listener ] <--- receives output <--- [ Client ]
- Client scans network to find listener using MAC address
- Establishes connection
- Executes commands sent by listener
- Remote command execution
- Network discovery via MAC address
- Automatic connection handling
- Basic client-server communication
- Python 3.x
This project is intended for:
- Educational purposes
- Networking and cybersecurity learning
- Controlled and authorized environments only
❌ Do NOT use this on systems without permission.
- Make sure both devices are on the same network
- Ensure firewall allows connections on the chosen port
- Double-check the MAC address format
- Add encryption
- Improve error handling
- Support multiple clients
- Build a GUI interface
Created for learning and experimentation.