A curated collection of real-world, Python-based ethical hacking tools for learning, red teaming, simulation, and penetration testing — developed and maintained by Muhammad Rehan Rashid (aka C0de-N1nja).
This repository is intended for educational use, helping cybersecurity students, professionals, and researchers understand how offensive tools work under the hood — ethically and legally.
⚠️ All tools are for authorized testing and educational purposes only. Unauthorized use is illegal and punishable under cybercrime laws.
The goal of this repository is to:
- Provide practical tools for ethical hackers and red teamers
- Offer a learning ground for cybersecurity students and professionals
- Demonstrate real-world offensive techniques in a controlled, responsible, and legal way
This repo helps you explore areas like:
- 🔁 Remote access (reverse shells)
- 🔍 Reconnaissance and scanning
- 🎯 Credential harvesting
- 📂 File system interaction
- 🧱 Persistence and command execution
- 🌐 Network manipulation
- Cybersecurity students
- Ethical hackers and pentesters
- CTF participants
- Researchers studying offensive security
⚠️ This repository assumes you know the basics of networking, operating systems, Python scripting, and ethical guidelines.
| Tool | Description | Platform |
|---|---|---|
| 🔧 MAC Changer | Spoof or reset your MAC address via CLI | Linux |
| 🌐 ARP Network Scanner | Discover devices on LAN using ARP & Scapy | Linux |
| 🐚 Reverse Shell (Basic) | Minimal Python reverse shell (client-server) | Linux + Windows |
| 🧰 Reverse Shell (Advanced) | Robust version with upload, screenshot, reconnection, and more | Cross-platform |
| ⌨️ Keylogger (Basic) | Logs keypresses to a file | Cross-platform |
| 🧠 Keylogger (Advanced) | Clipboard capture, modifier detection, active window logging, idle tracking | Cross-platform |
- ✅ Python-only, cross-platform tools (Linux + Windows)
- ✅ Clean modular structure with tool-specific README files
- ✅ Modifier-aware keystroke logging with clipboard capture
- ✅ Screenshot capture and file transfers in reverse shell
- ✅ Persistent reconnection logic for reliable sessions
- ✅ Active window & idle tracking in keylogger
- ✅ Legal disclaimers and ethical use notices in every tool
- ✅ Output samples and command-line usage examples included
Each tool is self-contained in its own folder under /tools/ and includes a dedicated README.md with:
- ✅ Tool overview
- 🧠 Technical breakdown
- ⚙️ Setup instructions
- 🎯 Use cases
⚠️ Limitations or caveats
Basic usage:
git clone https://github.com/C0de-N1nja/Ethical-Hacking-Tools.git
cd Ethical-Hacking-Tools/tools/<tool-folder>/
python3 script.pyInstall shared dependencies for all tools:
pip install pynput pyperclip scapy mss psutil pywin32Some tools may require additional OS packages like
xdotool(Linux) orpywin32(Windows).
By using this repository, you agree that:
- You are solely responsible for your actions
- You will not use these tools for unauthorized access or disruption
- You will only test in environments you own or have written permission to access
- You understand these tools are for ethical, educational purposes only
See LICENSE for full legal terms.
Muhammad Rehan Rashid
🧠 GitHub Alias: C0de-N1nja
This repository is part of my 2025 self-guided journey in cybersecurity, red teaming, and ethical hacking. Each tool represents both technical understanding and a hands-on approach to simulating real-world attacker behavior.
Think like an attacker. Learn like a hacker. Defend like a pro. 🥷