A modular and powerful collection of socket-based tools for remote communication, system access, and phishing simulation. This project includes multiple socket client-server implementations for use in ethical hacking demonstrations, cybersecurity learning, and network programming practice.
| Module | Description |
|---|---|
chat_socket |
Basic two-way messaging client-server over TCP |
command_socket |
Execute terminal commands remotely and return results |
reverse_shell |
Connects back to attacker and gives shell access from the victim's machine |
screen_phishing |
Simulates phishing via screenshot capture and transfer |
complete_script |
Merged version with selectable modules via menu |
- 🔁 Bi-directional chat over raw sockets
- 🖥️ Remote command execution (like netcat)
- 🐚 Reverse shell setup for penetration testing
- 📸 Screen capture phishing simulation
- ✅ Simple menu-driven interface (in
complete_script.py) - 🔐 Educational design: clear, modular, and hackable
+----------------------------+
| Main Menu |
|---------------------------|
| 1. Chat Server |
| 2. Command Execution |
| 3. Reverse Shell |
| 4. Screen Capture Phishing|
+----------------------------+
- Python 3.8+
Pillowlibrary (for screenshot feature)- Internet access (or localhost test environment)
pip install -r requirements.txtFor screen_phishing.py:
pip install pillowTerminal 1 (Server):
python chat_socket.pyTerminal 2 (Client):
python chat_socket.pyVictim machine:
python reverse_shell.pyAttacker (listening):
nc -lvp 4444- Python
socket,threading,subprocess,os - Optional:
Pillowfor screenshot capture - Netcat / Terminal utilities for reverse shell
graph TD
A[Start Menu] --> B[Choose Option]
B --> C1[Chat Socket]
B --> C2[Command Execution]
B --> C3[Reverse Shell]
B --> C4[Screen Phishing]
C4 --> D[Capture Screen]
D --> E[Send via Socket]
This project is strictly for educational, research, and demo purposes in ethical cybersecurity. Never deploy or run this code on systems without permission. Use responsibly.
Nitin Pandey GitHub | LinkedIn
If you found this project useful or learned something from it, feel free to star ⭐ the repo and contribute!