Skip to content

Command Arsenal — reference

A searchable, decoded reference of the offensive techniques that recur across the OSCP / HTB box methodology. Every technique leads with the command, then breaks it down flag by flag, then explains why you reach for it and the gotcha it solves.

Files

File What it is
command-arsenal.md The reference, rendered for GitHub. Browse by phase, or Ctrl-F / use GitHub's search for a keyword (nmap, smb, kerberoast, suid…).
command-arsenal.html A self-contained searchable page — open it in any browser and filter techniques live as you type. Works offline.
data.py Single source of truth — every technique as structured data.
build.py Generator. Reads data.py, writes both outputs so they can never drift.

Regenerate / extend

Add or edit a technique in data.py, then:

cd reference
python3 build.py      # rewrites command-arsenal.md and command-arsenal.html

Each technique is one t(phase, title, tags, cmd, decode, why, gotcha) entry. Add it under the right phase block; the phase must be one of the names in PHASES.

Legend

$IP = the target · 10.10.14.x / $LHOST = you (your tun0 address).

Study aid for lab practice. The OSCP exam prohibits AI/LLMs and auto-exploitation tooling — use this to learn the techniques, not during the exam.