Skip to main content

Hacktricks | Offline

Clone the repo, build the site, and never fear the air gap again.

# Install dependencies pip install mkdocs-material mkdocs-awesome-pages-plugin git clone https://github.com/carlospolop/hacktricks.git cd hacktricks mkdocs build

Schedule a cron job (Weekly) on your home machine to automatically git pull and rebuild the mkdocs site. Then, use rsync to push the update to a cloud drive (Dropbox/Google Drive) or a USB drive you carry. hacktricks offline

Don't wait until you are sitting in a cold server room at 2:00 AM with a blinking cursor and no answer. Build your offline copy today. The internet is a luxury; knowledge is essential.

cd hacktricks rg "linpeas" This is faster than clicking through menus. Add an alias to your .bashrc or .zshrc : Clone the repo, build the site, and never

In the high-stakes world of cybersecurity, penetration testing, and red teaming, time is the enemy. Whether you are three floors underground in a data center with no cellular signal, flying 30,000 feet above the ocean to a client site, or operating within a strictly air-gapped environment, the absence of an internet connection has traditionally meant the absence of answers.

docker run -d --name hacktricks -p 8000:8000 carlospolop/hacktricks Because Docker uses layered file systems, the entire HTML, CSS, and JS are cached locally on your hard drive. You do not need an internet connection to spin up the container once the image is saved. If you are operating in a facility that jams Wi-Fi or disables all wireless protocols (including localhost loopbacks), you need a physical copy. Use wget to recursively mirror the site: Don't wait until you are sitting in a

Do not let your offline copy become a historical artifact. Update it every Monday morning. The difference between a junior analyst and a senior penetration tester is often preparation. When the network drops, the junior panics. The senior reaches for their hacktricks offline environment.