Hacker Style Python 4 Week Roadmap
Hacker Style Python 4 Week Roadmap
Coding Skills
🔥 WEEK 1 – Core Python for Hackers
Focus: Networking, file handling, basic automation
Topics:
- Python basics (if, loops, functions, modules)
- File I/O (read/write)
- socket module (TCP/UDP client-server)
- os, subprocess for system command execution
Projects:
- TCP Port Scanner
- Banner Grabber
- Command Executor using subprocess
- Directory Brute-forcer (basic wordlist)
Tools to Explore:
- nmap module (for port scan results)
- Basic use of requests, urllib
Topics:
- Buffer overflows (basic, offset finding)
- Building payloads in Python
- Reverse shell creation
- msfvenom + integrating shellcode into Python
- Custom input fuzzers
Projects:
- Python Reverse Shell (TCP-based)
- Fuzzer for buffer overflow discovery
- Exploit for VulnServer (TRUN command)
- EIP overwrite script
Tools to Use:
- Immunity Debugger + Mona.py
- Metasploit shellcode generator
- Netcat for catching shells
Topics:
- DNS enumeration using dnspython
- Subdomain bruteforcing
- Scraping with BeautifulSoup
- API-based recon (Shodan, Hunter.io, etc.)
Projects:
- Subdomain Finder
- Email Harvester
- Nmap Automation Script (parse XML/grepable output)
- Shodan Search Automation
Tools to Integrate:
- Shodan API
- BeautifulSoup
- nmap, os, xml.etree
Topics:
- Keylogging (ethical use only)
- Persistence techniques (registry run keys, etc.)
- Building a simple C2 server
- Obfuscating Python code (evasion basics)
Projects:
- Keylogger
- Simple Command-and-Control Script
- Payload Dropper (file downloader + exec)
- Persistence on Windows (Python script)
Tools:
- pyinstaller for .exe generation
- base64, marshal, obfuscation methods
📘 Extra Learning Resources
- TryHackMe: Python for Pentesters
- HackTheBox: Custom exploits & scripting
- CTFs: Use your scripts to solve CTF challenges