Module 06 // web surface
Web signal.
Resolve names, fingerprint gently, preserve requests and expand only when the evidence and lab scope support it.
Build a baseline
export URL="http://$IP"
curl -skD web/headers.txt -o web/index.html "$URL/"
whatweb -a 1 "$URL"
printf '%s\n' "$URL" | httpx -title -status-code -tech-detectUse the discovered hostname rather than the IP when virtual hosting or TLS SNI matters. Record redirects, cookies, technologies and response sizes before fuzzing.
Content discovery
webenum "$URL/FUZZ"
ffuf -ac -c -w "$PE_WORDLIST_ROOT/Discovery/Web-Content/raft-small-words.txt" \
-u "$URL/FUZZ" -of json -o web/ffuf.json
feroxbuster -u "$URL" -w "$PE_WORDLIST_ROOT/Discovery/Web-Content/raft-medium-words.txt" \
-o web/ferox.txtStart with the small list, inspect false-positive patterns, then widen. Add extensions only when the stack suggests them. Keep recursion and request rate proportionate to the lab.
Virtual hosts
ffuf -ac -w "$PE_WORDLIST_ROOT/Discovery/DNS/subdomains-top1million-110000.txt" \
-u "http://$IP/" -H "Host: FUZZ.lab.htb" -of json -o web/vhosts.jsonFilter against the baseline by size, words or status. Add only confirmed names to local resolution and rerun the baseline with the hostname.
Proxy and replay
- Use Burp Suite or another intercepting proxy for manual request inspection; keep the browser profile lab-only.
- Send a request to Repeater before changing parameters so the original remains reproducible.
- For CLI replay use
curl --proxy http://127.0.0.1:8080and save response headers/body underweb/. - Redact session tokens before screenshots or writeups leave the private workspace.
Template checks
nuclei -u "$URL" -severity info,low,medium,high,critical \
-o web/nuclei.txtNuclei findings are leads, not proof. Read the template, reproduce the condition manually and respect HTB/lab restrictions before any intrusive validation.
Evidence discipline
sha256sum web/* > web/SHA256SUMS
pe note add -t "web surface" -b "Host, routes, interesting paths"
pe backupNever commit cookies, authorization headers or collected application data into a public repository.
No entry matches. Press Esc to reset.