Skip to content

p3ta00/p3ta-tricks

Repository files navigation

p3ta-tricks

If this saves you time on an engagement, please ⭐ star the repo — it helps more than you think.

Feature requests, bugs, and ideas → Discord: p3ta00


A fast, searchable pentest reference that pulls attack techniques, tool syntax, and post-exploitation chains from the best open-source security wikis into one place. No more tab switching mid-engagement.

Live site → p3ta-tricks.com


Offline Mode

This repo ships fully air-gapped. Every image that can be locally hosted is included:

  • static/img/adaptix/ — 194 Adaptix C2 screenshots scraped from GitBook CDN
  • static/img/external/ — 190 third-party images (blogspot, Medium, GitHub user-attachments, OWASP, CyberArk, Palo Alto, PortSwigger, etc.) downloaded and locally hosted
  • sources/sliver-docs/images/ — Sliver C2 diagrams
  • GitHub-raw images (HackTricks, Hacker Recipes, PATT, etc.) are served via _rewrite_images() at request time — requires internet in online mode, served from sources/ locally in offline mode

17 images remain external (Google Slides auth-gated or deleted from origin servers) — noted in the home page disclaimer.

Quick start

chmod +x install.sh && ./install.sh
./start-offline.sh
# open http://127.0.0.1:5001

Custom port / host:

PORT=8080 HOST=0.0.0.0 ./start-offline.sh

The installer handles Python venv, dependencies, asset verification, and external image download (idempotent — skips already-cached images).


What's in it

BloodHound · HackTricks · HackTricks Cloud · The Hacker Recipes · PayloadsAllTheThings · InternalAllTheThings · HardwareAllTheThings · GTFOBins · LOLBAS · WADComs · NetExec · Impacket · Certipy · bloodyAD · Rubeus · Mimikatz · Ligolo-ng · Sliver · Adaptix C2 · goexec · Metasploit · All About Bug Bounty · Exploit-DB · Church of Malware · Misc Cheatsheets

3,383 pages · 31 sources


Features

SearchCtrl+K from anywhere. Searches all sources at once and ranks by relevance.

Variables — Every code block uses <placeholders> like <target-ip>, <domain>, <username>. Fill them in once and they populate across every block for the session.

Distro toggle — Switch Impacket syntax between Kali (impacket-secretsdump), Exegol (secretsdump.py), and Script (python3 secretsdump.py).

Tools toggle — Swap between Python Impacket and Go-style equivalents site-wide.

Themes — Retro, Tokyo Night, Catppuccin Mocha, Catppuccin Latte, Rosé Pine, Dracula, Nord, Gruvbox, Hacker Green, Wonderland.

Favorites — Star any page with the ☆ button next to the title. Favorites persist in localStorage.

Mobile friendly — Works on phone. Sidebar drawer, full-width search, touch-sized targets.


Scripts

Script Purpose
scripts/fetch_adaptix_images.py Scrape GitBook CDN and download all Adaptix screenshots locally
scripts/fetch_external_images.py Download third-party images embedded in source docs and host locally
scripts/rebuild_sources.py Rebuild processed content JSON from source markdown

Credits

This project stands entirely on the work of others. Every page traces back to researchers and developers who shared their knowledge publicly.

Project Author
BloodHound SpecterOps
The Hacker Recipes ShutdownRepo
HackTricks carlospolop
HackTricks Cloud HackTricks-wiki
PayloadsAllTheThings swisskyrepo
InternalAllTheThings swisskyrepo
HardwareAllTheThings swisskyrepo
NetExec Wiki Pennyw0rth
GTFOBins GTFOBins
LOLBAS LOLBAS-Project
WADComs WADComs
Certipy ly4k
bloodyAD CravateRouge
Impacket fortra
Rubeus GhostPack
Mimikatz gentilkiwi
Ligolo-ng nicocha30
Sliver C2 BishopFox
Adaptix C2 Adaptix Framework
goexec FalconOpsLLC
Metasploit rapid7
All About Bug Bounty daffainfo
Church of Malware 0xXyc et al.

Built by vibe coding with Claude and too much coffee ☕

About

p3ta-tricks — Pentest reference platform

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors