Skip to content

Latest commit

Β 

History

History
47 lines (34 loc) Β· 1.9 KB

File metadata and controls

47 lines (34 loc) Β· 1.9 KB

BOTNET

Botnet Controller (Educational Project)

⚠️ Disclaimer: This project is intended strictly for ethical hacking and cybersecurity education. Use only in isolated lab environments or on systems you own or are authorized to test. Unauthorized use is illegal and unethical.

πŸ“Œ Overview

This project demonstrates the foundations of post-exploitation techniques such as remote command execution, file transfers, keylogging, and botnet-style control over multiple clients. It aims to help students and security researchers understand real-world cyber threats from a defensive perspective.

πŸ“ Components

βœ… server.py

  • Single-client reverse shell interface.
  • Supports command execution, file transfer, keylogging, screenshot capture, and persistence.

βœ… keylogger.py

  • Lightweight Python keylogger.
  • Stores logged keystrokes in a file within %AppData%.
  • Used in combination with server.py.

βœ… commandandcontrol.py

  • Multi-client Command and Control (C2) botnet interface.
  • Accepts multiple connections simultaneously using threading.
  • Allows interactive shell sessions with any connected client.

πŸ’‘ Features

Feature server.py commandandcontrol.py
Remote Shell Access βœ… βœ… (multi-client)
File Upload/Download βœ… βœ…
Keylogger Control βœ… βœ…
Screenshot Capture βœ… βœ…
Session Switching ❌ βœ…
Kill Connections ❌ βœ…
Broadcast Commands ❌ βœ… (sendall)
Threaded Client Mgmt ❌ βœ…

πŸ§ͺ Usage (In a Controlled Lab)

1. Start C2 Server

python commandandcontrol.py