Recon — Hub

External: Internal All The Things — Network Discovery

Tools for the first phase — discover hosts, ports, services, hidden web content, and low-hanging vulns before exploitation.

OSCP workflow: netdiscover (lab IP unknown) → RustScan or Nmap all ports → targeted scan → searchsploitGobuster / ffuf / Burp SuiteSQLMap after manual confirm.

Install tools: Installation - Kali Setup


📌 Tools in This Folder

NotePurposeTypical port
NmapPort scan, service/version, NSE scriptsAll
RustScanUltra-fast TCP port discovery → pipe to NmapAll
netdiscoverARP host discovery — find lab VM IP before nmapLAN
Port Knocking - knockHidden SSH/services — knock sequence then connect22+
GobusterDirectory, vhost, DNS brute force80/443
ffufFast fuzzer — vhost, wildcard filter, params80/443
Burp SuiteManual web — intercept, repeater, SQLMap export80/443
searchsploitExploit-DB lookup after version scan
Exploit-DB and searchsploitEDB ID ↔ URL ↔ local path mapping
DNS (dig & host)DNS records, zone transfer, dnsrecon, reverse lookup53
NiktoWeb vulnerability scanner80/443
WPScanWordPress enum & vuln scan80/443
CMSeeK - cmseekCMS detect (180+ CMSs) — WP/Joomla/Drupal80/443
SQLMapAutomated SQL injection80/443
PidginXMPP/Jabber client — user & room enum5222/5223
ldapsearchLDAP / AD queries — users, groups, SPNs389/636
snmpwalkSNMP MIB walk — processes, users, creds161/udp
Mail (SMTP POP3 IMAP)SMTP/POP3/IMAP — enum users, read mail for creds25/110/143
GraphQL - BrunoGraphQL introspection, Voyager schema map, API abuse80/443
PidginXMPP / Java RMI enum & exploit — port 1099, 9010+1099
nbtscanNetBIOS names — ports 137/139, SMB prep137

📌 Standard Recon Flow

0. netdiscover -i eth0          (local lab — find target IP)
1. nmap -p- --min-rate 1000 -oA allports TARGET
2. nmap -sC -sV -p<ports> -oN targeted TARGET
3. searchsploit "service version"
4. gobuster dir -u http://TARGET -w /usr/share/wordlists/dirb/common.txt
   OR ffuf -w wordlist -u http://TARGET/FUZZ -fs BASELINE_SIZE
5. dig axfr domain @NS_IP
6. nikto -h http://TARGET
7. wpscan --url http://TARGET  (if WordPress)
8. sqlmap -u "http://TARGET/page?id=1" --batch  (after manual SQLi confirm)

Parse nmap ports for step 2

grep "^[0-9]" allports.txt | cut -d'/' -f1 | tr '\n' ',' | sed 's/,$//'

See Pipelines & Chaining.


NeedGo to
SMB / Windows enumSMB
AD user enumKerbrute in Active Directory
LDAP / port 389ldapsearchUseCases for ports
SNMP / port 161snmpwalkUseCases for ports
XMPP / port 5222PidginUseCases for ports
Mail / 25, 110, 143Mail (SMTP POP3 IMAP)UseCases for ports
Database portsDatabase
Network conceptsNetworking

20 items under this folder.