Interactive offensive-security command cheatsheet. Pick the category, fill in the variables once, and copy ready-to-run commands, or load them straight into your shell history through curl.
I built 0xrefs after running into the same issue over and over:
- My notes keep growing. Over time, I prefer to keep them focused on methodology and exploitation techniques rather than repeating the same commands dozens of times.
- I often knew the command I needed, but not the exact syntax, flags, or argument order I had used before.
- For many older tools and binaries, especially standalone .exe files, the built-in help is limited or nonexistent, making it difficult to remember the correct usage months later.
0xrefs gives US <3 a single place to store those commands as reusable templates: fill in the variables once, copy the command, and move on.
# OSCP/CPTS exam-prep set
curl -s https://0xrefs.github.io/install.sh | bash -s -- oscp
# Full CLI set (everything installable)
curl -s https://0xrefs.github.io/install.sh | bash -s -- cliThen reload history: fc -R (zsh) or history -r (bash).
bundle install
bundle exec jekyll serve
node --test test/ # run the unit testsEvery command is one file in _commands/. The cheatsheet and the install
manifests (/commands/oscp.txt, /commands/cli.txt) are both generated from it.
See CONTRIBUTING.md to add a command.