This repo is a curated guide and cheat sheet for understanding network ports, related services, and how to map them to potential vulnerabilities and exploits.
โ ๏ธ Built while learning for Bug Bounty, HTB, and Pentesting
Port | Protocol | Common Service | Exploitation Ideas |
---|---|---|---|
21 | TCP | FTP | Anonymous login, File disclosure, Command injection |
22 | TCP | SSH | Weak credentials, Brute-force |
23 | TCP | Telnet | Clear-text creds, Default passwords |
80 | TCP | HTTP | Web-based attacks, Dirbusting, SSRF |
443 | TCP | HTTPS | TLS Misconfig, Burp intercept tricks |
3306 | TCP | MySQL | SQLi, Weak creds, DB enumeration |
... | ... | ... | ... |
- Full service deep dives (FTP, SSH, etc.)
- Mindmaps for port-based attack decision making
- Tools like Nmap, Netcat, Hydra usage per port
- Real examples from HTB + Labs