offensive-tools/recon/hakrawler/SKILL.md
Auth/lab ref: Fast Go web crawler for discovering URLs, endpoints, and JavaScript files. For crawling web applications to build a URL inventory before fuzzing or during OSINT on web infrastructure.
npx skillsauth add aeondave/malskill hakrawlerInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Fast Go web crawler — discover URLs, JS files, forms, and endpoints.
go install github.com/hakluke/hakrawler@latest
# Crawl a domain
echo https://target.com | hakrawler
# Depth 3, include subdomains
echo https://target.com | hakrawler -d 3 -subs
# Output as JSON
echo https://target.com | hakrawler -json
# Pipe multiple domains
cat domains.txt | hakrawler -d 2
| Flag | Purpose |
|------|---------|
| -d N | Depth (default: 1) |
| -subs | Include subdomains |
| -u | Unique URLs only |
| -insecure | Skip TLS verification |
| -t N | Threads |
| -timeout N | Timeout per request (s) |
| -H "K:V" | Custom header |
| -json | JSON output |
| -scope REGEX | Limit to URL pattern |
| -plain | Print plain text (no color) |
| -proxy <url> | HTTP/SOCKS5 proxy |
| -cookie <str> | Cookie string |
| -dr | Disable following redirects |
| -w N | Wait N ms between requests |
Build URL inventory for fuzzing:
echo https://target.com | hakrawler -d 3 -u | tee urls.txt
# Feed to ffuf
ffuf -w urls.txt:URL -u URL -mc 200
Discover JS files:
echo https://target.com | hakrawler -d 2 | grep "\.js$"
Combine with httpx for live check:
cat domains.txt | hakrawler | httpx -silent -mc 200
Scope-limited crawl (stay in scope):
echo https://target.com | hakrawler -d 3 -scope ".*\.target\.com.*" -u
Extract API endpoints:
echo https://target.com | hakrawler -d 3 -u | \
grep -E "(/api/|/v[0-9]+/|\.json|\.xml)" | sort -u
Form action discovery:
echo https://target.com | hakrawler -json | \
jq -r 'select(.type=="form") | .source'
Multi-target via live hosts:
subfinder -d target.com -silent | \
httpx -silent | \
hakrawler -d 2 -u | sort -u > all_urls.txt
| File | When to load |
|------|--------------|
| references/crawl-tips.md | Scope filtering, JS analysis, pipeline patterns, JS secret extraction |
development
Auth/lab ref: Unicorn Engine CPU-only emulation for shellcode, decryptors, custom VM handlers, instruction tracing, memory hooks, and register-level experiments.
development
Auth/lab ref: Renode board and SoC simulation for MCU/RTOS firmware, UART/GPIO/peripheral modeling, GDB remote debugging, REPL platforms, and RESC scripts.
development
Auth/lab ref: Qiling OS-layer binary emulation for PE/ELF/Mach-O/UEFI/shellcode with rootfs, syscall/API hooks, filesystem mapping, and runtime patching.
databases
Auth/lab ref: QEMU user-mode and full-system emulation for cross-arch binaries, firmware, kernels, disks, serial consoles, networking, and GDB stubs.