1.9 KiB
1.9 KiB
🐍 Core Python (your foundation)
These are built-in. You’ll use them everywhere.
socket→ low-level networking (port scanners, connections)subprocess→ run system commands (e.g.ping,nmap)os→ interact with the operating systemsys→ handle arguments and runtime behaviorthreading/concurrent.futures→ speed up scanstime→ delays, timing attacks (basic)re→ regex (log analysis, pattern detection)json→ handle API and structured dataargparse→ clean CLI tools (very useful)
🌐 Networking & Web
Where most beginner cybersecurity action happens.
requests→ send HTTP requests (GET, POST, etc.)urllib→ lower-level web handlinghttp.client→ raw HTTP interactions
👉 You’ll use these for:
- Web scanners
- API testing
- Automation scripts
🍲 Parsing & Scraping
Turning messy data into something useful.
BeautifulSoup(bs4) → parse HTMLlxml→ faster HTML/XML parsing
👉 Useful for:
- Extracting forms and inputs
- Web reconnaissance
🔍 Security & Scanning
More “cyber-flavored” tools.
scapy→ packet crafting/sniffing (very powerful)nmap(viapython-nmap) → automate scansshodan→ search exposed devices (API)
👉 These unlock:
- Network analysis
- Recon automation
🔐 Cryptography & Hashing
For passwords, encryption, and security logic.
hashlib→ hashing (MD5, SHA256, etc.)hmac→ message authenticationcryptography→ encryption/decryption (advanced)
👉 Use cases:
- Password crackers
- Hash verification
📂 File & Log Analysis
Blue team territory.
pandas→ analyze large datasets/logscsv→ parse log filescollections→ count patterns (e.g. IP frequency)
⚙️ CLI & Tooling (make your scripts look pro)
argparse→ command-line argumentscolorama→ colored terminal outputrich→ beautiful CLI dashboards