Everything the team reaches for — CTF, red team, blue team, OSINT, forensics, wireless and
living-off-the-land, plus the one-liners we retype every engagement. Search, filter by tag, and
click any code block to copy it.
1054
entries
37
tags in use
2h ago
last added
tools.db165 shown
angr
tool
Binary / RECTFResearch
Python binary analysis platform combining symbolic execution, CFG recovery and taint tracking — the go-to for scripting a solve against a stripped pwn or reversing binary.
python3 -c "import angr; p = angr.Project('./chall'); print(p.factory.entry_state())"
Populates a lab Active Directory with thousands of realistic-looking users, groups and misconfigurations, so BloodHound/PingCastle tooling has something non-trivial to chew on.
Commercial disassembler and decompiler (with a free Cloud/Personal tier) built around a scriptable intermediate-language stack (LLIL/MLIL/HLIL) that is friendlier to automate than most.
Binary diffing tool (originally Zynamics, now Google) that matches functions between two versions of a binary — invaluable for spotting exactly what a patched-vs-unpatched CTF binary changed.
Visualizes a binary file as a space-filling curve image, making repeated structure, embedded files, and anomalies visually obvious — useful both for RE triage and for spotting a likely stego carrier.
Recovers the internal keys of legacy ZipCrypto encryption via a known-plaintext attack — give it a few known bytes from any file in the archive and it derives the keys to decrypt the rest.
Heuristic identifier that suggests which classical cipher or encoding a piece of ciphertext most likely came from, based on its character set and statistical shape.
All-in-one Java/Android reverse engineering GUI bundling several decompilers (Procyon, CFR, FernFlower) side by side plus a bytecode editor and debugger.
Complete number field sieve implementation for factoring very large RSA moduli — the tool of last resort once yafu/msieve are too slow for the key size involved.
Multi-architecture disassembly engine and library (with Python/C/Rust/… bindings) that many other RE tools — including Frida and Qiling — embed rather than write their own.
Memory scanner, debugger and code injector originally built for game hacking — the go-to tool for CTF "game reversing" challenges that ask you to find and patch a value in a running process.
Check a binary's security mitigations
one-liner Linux
Binary / RECTFOffensive
Reports which exploit-mitigating protections (RELRO, stack canary, NX, PIE, RPATH) a binary was built with, the first thing to run against any new CTF pwn challenge.
checksec --file=./chall
# or from a pwntools script:
python3 -c "from pwn import *; print(ELF('./chall').checksec())"
added by THUGS(red)
Check AlwaysInstallElevated in one line
one-liner Windows
CTFEnumerationRed Team
A one-line check for the classic misconfiguration where any user can run an MSI as SYSTEM — if both registry values come back 1, it is exploitable.
check for readable /etc/shadow (and similar over-permissioned files)
one-liner Linux
Blue TeamCTFEnumeration
A one-line sanity check that should always return nothing — if it returns something, that box has a serious permissions bug worth reporting.
ls -la /etc/shadow /etc/gshadow 2>/dev/null
added by THUGS(red)
checksec.sh
tool Linux
Binary / RECTF
Reports which exploit mitigations (NX, PIE, RELRO, canaries, stripped symbols) a binary was built with — the first command run against any new pwn challenge.
Automated decoding tool that tries to work out what encoding or cipher was used on a blob of text (base64, ROT13, Vigenère, hashes, and combinations of them) without being told.
Community-maintained repository of "crackmes" — small deliberately-obfuscated binaries for practicing reverse engineering, searchable by language, platform and difficulty.
crontab -l for every user, in one line
one-liner Linux
CTFEnumerationRed Team
A quick privesc check: scheduled jobs run as another (often more privileged) user are a common escalation path if their script or binary is writable by you.
for u in $(cut -f1 -d: /etc/passwd); do echo "== $u =="; sudo -u "$u" crontab -l 2>/dev/null; done
added by THUGS(red)
Cryptii
tool
CiphersCTF
Browser-based pipeline editor for chaining encodings and classical ciphers (base64, Caesar, Morse, binary, and more) to decode a multi-layered CTF puzzle step by step.
Gamified platform for learning cryptography by breaking progressively harder CTF-style crypto challenges, from classical ciphers through RSA, ECC and modern primitives.
Trail of Bits' long-running reference covering pwn, reversing, crypto and steganography techniques for CTF play — dated in places but still a solid first read for each category.
Zardus's collection of install scripts for a wide range of CTF tools, used to quickly provision a fresh box with a working pwn/RE toolchain instead of installing everything by hand.
The most widely used open-source platform for running a CTF competition — challenges, scoreboard, teams and hints — the base most community CTFs deploy rather than build from scratch.
GCHQ's "Cyber Swiss Army Knife" — a browser-based drag-and-drop pipeline for encoding, decoding, encryption and data-format transforms, arguably the single most-used CTF crypto/forensics tool there is.
Enormous library of online solvers and identifiers for classical ciphers, encodings and CTF-favourite puzzle formats — often the fastest way to identify what you are even looking at.
Deobfuscator for .NET assemblies that recognises and reverses common obfuscators (ConfuserEx, Babel, etc), a frequent prerequisite before a .NET CTF binary can be decompiled cleanly.
Signature-based packer, compiler and file-type identifier for PE/ELF/Mach-O binaries — the modern, actively maintained successor to PEiD for "what packed this".
.NET assembly debugger, editor and decompiler in one — lets you set breakpoints and edit method bodies live inside a decompiled .NET binary, common in CTF "unmanaged reversing" of C# challenges.
.NET assembly editor, debugger and decompiler in one — edit IL or C# in place and re-save the assembly. The dnSpyEx fork carries on the original, now-archived dnSpy project.
Encode a payload to defeat naive space/quote filtering
one-liner Linux
CTFRed TeamWeb
Base64-wrapping a command and decoding it inline is a quick way past a filter that blocks certain characters in a command-injection point.
echo 'aWQ7d2hvYW1p' | base64 -d | bash
added by THUGS(red)
exiftool
tool
CTFForensicsOSINT
Reads, writes and edits metadata across an enormous range of file formats — the standard tool for pulling (or stripping) EXIF, GPS and authorship data out of files.
Public database of pre-computed integer factorizations — before spinning up a sieve, check whether someone already factored the exact RSA modulus a challenge gave you.
NCC Group's automated cryptanalysis tool — feeds ciphertext through a battery of checks for weak or misused crypto (ECB, small keyspace, XOR, RSA flaws) rather than guessing by hand.
Identifies a file's actual type by inspecting its content (magic bytes) rather than trusting its extension — the very first command to run on anything unidentified.
IDA/Ghidra plugin that scans a binary for known cryptographic constants (AES S-boxes, SHA/MD5 initialisation vectors, CRC tables) and flags exactly where a crypto routine sits.
findstr — search a whole drive for a keyword, GUI-free
one-liner Windows
CTFEnumerationRed Team
Built-in findstr recurses a directory tree grepping for a string — handy for hunting "password" in config files without installing anything.
findstr /si password *.txt *.config *.ini *.xml
added by THUGS(red)
FLARE FLOSS
tool
Binary / RECTFMalware
Mandiant's tool for extracting obfuscated/encoded strings from a binary by emulating the routines that decode them at runtime — surfaces strings plain `strings` cannot see.
Decodes, brute-forces and re-signs Flask's itsdangerous-based session cookie, recovering the app's SECRET_KEY from a wordlist and letting you forge an arbitrary session.
A file-carving tool that recovers files from a disk image or raw data stream based on headers and footers, independent of the filesystem metadata around them.
Dynamic instrumentation toolkit for injecting JavaScript into a running process to hook functions, dump traffic or bypass checks — as at home reversing a mobile app as a native binary.
The GNU Debugger, and GEF — the plugin that turns it into a usable exploit-development environment with heap analysis, ASLR/PIE-aware context, and pwn-focused conveniences GDB alone doesn't have.
Generate and locate a cyclic pattern (pwntools)
one-liner
Binary / RECTFOffensive
Generates a De Bruijn-style non-repeating pattern to feed a crashing binary, then recovers the exact byte offset to the overwritten return address/register from the crash value.
python3 -c "from pwn import *; print(cyclic(200))"
# after the crash, recover the offset from the corrupted value:
python3 -c "from pwn import *; print(cyclic_find(0x6161616161616161))"
added by THUGS(red)
Ghidra
tool
Binary / RECTF
NSA's free, open-source software reverse-engineering suite — disassembler, decompiler and a scripting API, the free alternative most people reach for before IDA Pro.
Downloads and builds any historical glibc version with debug symbols so a pwn exploit can be developed and tested against the exact libc the target ships.
Curated database of Unix binaries that can be abused to bypass local security restrictions (privesc, shell escape, file read/write) once you already have limited execution.
Older interactive Python tool for guessing a hash's algorithm from its format — largely superseded by hashID/Name-That-Hash but still shipped on many distros.
The world's fastest password-recovery tool — GPU-accelerated cracking across hundreds of hash modes, from a straight dictionary attack to rule-based and mask attacks.
Identifies possible hash types from a string and reports the matching Hashcat mode number(s) — a lighter, older tool than Name-That-Hash but still widely referenced.
Performs the hash length extension attack against MD5/SHA1/SHA256/SHA512-based MACs, forging a valid hash for attacker-appended data without knowing the secret key.
hashpump -s <hash> -d <data> -k <keylen> -a <append>
Commercial disassembler/decompiler for macOS and Linux binaries (x86/x64/ARM), a common pick where Ghidra/IDA feel heavier than a single-binary CTF challenge needs.
Shellphish's collection of annotated, runnable examples of glibc heap exploitation techniques (fastbin dup, unsafe unlink, tcache poisoning and more) across libc versions — the standard reference for learning heap pwn.
Hex editor built for reverse engineering, with a C++-like pattern language for describing and colour-highlighting a binary format live as you scroll through it.
Windows debugger built for exploit development, with a Python API and the PyCommands ecosystem (mona.py) that a lot of older exploit-dev writeups still assume.
Standalone Java decompiler GUI for browsing .class/.jar bytecode as reconstructed source — quick and disposable compared to a full IDE decompiler plugin.
A long-standing password cracker supporting hundreds of hash and cipher types, with the community "jumbo" fork adding formats and features far beyond the base distribution.
Simple JPEG steganography tool for hiding and revealing data in the DCT coefficients of a JPEG file — a common CTF format that plain LSB-in-PNG tools do not handle.
The Debian-based Linux distribution built specifically for penetration testing, security research and forensics — hundreds of tools preinstalled and maintained by Offensive Security.
Java decompiler and assembler that specifically handles malformed or deliberately obfuscated class files other decompilers choke on — a favourite when a CTF Java challenge fights back.
ldd a binary to spot a hijackable shared library path
one-liner Linux
Binary / RECTFRed Team
Lists a binary's dynamic library dependencies and where it resolves them from — if one resolves to a directory you can write to, that's a privesc primitive.
ldd ./suspicious-binary
added by THUGS(red)
libc-database
tool
Binary / RECTF
Local database and search tool for identifying which glibc build a leaked symbol address or offset belongs to, once you have leaked one libc pointer.
Python library that searches a local libc-database for the exact libc version matching one or more leaked symbol addresses, then resolves the offsets of other symbols in it.
Finds services whose executable path contains a space and no quotes — a classic Windows privilege-escalation vector if you can drop a file into one of the ambiguous path segments.
Look up a matching libc from leaked addresses
one-liner Linux
Binary / RECTF
Queries the public libc.rip / libc-database mirror with one or more leaked symbol addresses to identify the exact libc build a remote pwn target is running.
Trail of Bits' symbolic execution tool for exploring a binary's (or EVM contract's) execution paths and generating concrete inputs that reach a chosen state.
Hides data inside an MP3 file during the compression process itself, rather than after encoding — a common source for CTF "hidden data in this audio file" challenges.
Identifies the likely algorithm(s) behind a hash string and can hand off straight into Hashcat/John — a modern, actively maintained replacement for hashID/hash-identifier.
The original "TCP/IP swiss army knife" — reads and writes across network connections from the command line, and the tool almost every reverse shell one-liner assumes is on the box.
Runtime mobile exploration toolkit built on Frida that works without a jailbreak/root — bypass SSL pinning, dump the keychain/keystore, patch an app, all interactively.
Finds single-address "one gadget RCE" offsets inside a given libc that pop a shell if a small set of register/memory constraints happen to hold — a pwn-exploit shortcut.
Universal steganographic tool that hides data in JPEG (and other) images while preserving the cover's statistical properties, making it harder to detect than naive LSB embedding.
Classic set of SSH-accessible wargames (Bandit, Narnia, Krypton and more) teaching Linux, binary exploitation and cryptography fundamentals level by level.
Fast CLI/library for exploiting CBC padding oracles, decrypting or forging ciphertext by repeatedly resubmitting modified blocks and reading the oracle's pad-valid/invalid signal.
Modifies an ELF's dynamic linker (interpreter) and RPATH after the fact — the standard way to force a CTF pwn binary to run against a downloaded libc instead of the host's.
GUI PE file analyzer for inspecting and editing headers, sections, imports and resources of Windows executables — a staple for manual PE malware/CTF triage.
The standard privilege-escalation enumeration scripts for CTF and OSCP-style practice — linPEAS for Linux, winPEAS for Windows — colour-coded output that flags the most promising misconfigurations first.
curl -sL https://github.com/peass-ng/PEASS-ng/releases/latest/download/linpeas.sh | sh
Python Exploit Development Assistance for GDB — an older but still-used GDB enhancement predating pwndbg/GEF, with register/stack context and pattern-offset helpers.
Carnegie Mellon's beginner-friendly CTF, whose archive of past-competition challenges stays open year-round as a practice platform across binary, crypto, web and forensics categories.
Validates a PNG file's chunk structure and reports corruption, unusual/nonstandard chunks or data appended after the IEND marker — a quick check before hunting for hidden data manually.
PowerShell — download-cradle into memory
one-liner Windows
CTFLOLBAS / LOTLRed Team
The classic PowerShell download cradle: pulls a script into memory and runs it without touching disk, so a file-based AV signature never gets a chance to fire.
Collection of LD_PRELOAD libraries (desock, patchmain and others) that make CTF pwn binaries easier to run and fuzz locally, e.g. turning a socket-only server into one that reads stdin.
Python library implementing several integer factorization algorithms (Pollard rho, Pollard p-1, ECM, multi-polynomial quadratic sieve) as an importable factor() function for solve scripts.
Long-running wargame focused on system/binary exploitation ("pwnable") challenges of increasing difficulty, one of the most cited practice grounds for CTF pwn.
Post-exploitation platform that upgrades a raw reverse/bind shell into a persistent, scriptable session with file transfer, privesc enumeration and a local C2-style console.
GDB plugin adding heap/memory visualisation, exploit-dev commands and better context display for pwn work — one of the two dominant GDB enhancements alongside GEF.
scwuaptx's GDB script (Pwngdb) and companion IDA Pro plugin (angelheap) for visualising glibc heap chunks, bins and tcache state during a heap exploitation session.
Automates the pwn-challenge setup chores: patches a binary's interpreter/rpath to a given libc, fetches a matching ld.so, and scaffolds a pwntools solve script.
A Python CTF/exploit-development library — process interaction, packing/unpacking, ROP chain building and remote connection handling, the framework almost every pwn writeup script is built on.
C++ Python bytecode decompiler covering a much wider range of Python versions than most pure-Python decompilers, handy when a challenge ships an unusual interpreter version.
python — spawn a shell inheriting current privileges
one-liner Linux
CTFLOLBAS / LOTLRed Team
os.system() from a SUID or sudo-permitted python binary spawns a shell that keeps the elevated privilege — the same idea as the find/awk/vim primitives.
Higher-level binary emulation framework built on Unicorn that emulates whole userspace programs (Linux/Windows/macOS/firmware) including syscalls, letting you run a target off its own OS.
Checks FactorDB's public database for a known factorization of an RSA modulus before spending time on local factoring tools — a very common first move in CTF RSA challenges.
Quick check: is this box in a container?
one-liner Linux
CTFEnumerationForensics
A fast triage check for CTF/pentest boxes — cgroup contents and the presence of .dockerenv are the two most reliable tells.
cat /proc/1/cgroup 2>/dev/null; ls -la /.dockerenv 2>/dev/null
added by THUGS(red)
Quick reverse shell one-liners, by interpreter
one-liner
CTFRed Team
The short-form reverse shells worth memorising when you only have one shot at a command injection — pick whichever interpreter is actually on the target.
Automatic solver for monoalphabetic substitution ciphers and cryptograms, using letter frequency and dictionary matching to recover plaintext without a known key.
A free, scriptable reverse-engineering framework — disassembler, debugger, hex editor and binary analysis in one command-line-first toolset, with the Cutter GUI on top for those who want it.
CTF hosting platform originally built by redpwn for its own large-scale public competitions, offered as an alternative to CTFd for teams running a CTF.
Avast's open-source retargetable machine-code decompiler covering several architectures (x86, ARM, MIPS, PowerPC) and executable formats, usable as a CLI or library.
Community fork of radare2's core, focused on a cleaner API and UX while keeping the same disassembly/analysis engine; Cutter is its official GUI front end.
A structured series of binary exploitation challenges purpose-built to teach ROP techniques, with the same challenge repeated across x86, x86-64, ARM and MIPS builds.
Scans a binary for usable ROP/JOP gadgets and can auto-build a full ROP chain — the standard first step once a pwn challenge needs code reuse instead of shellcode.
Automatic ROP chain generator that reasons about gadget semantics rather than just pattern-matching mnemonics, so it can combine several gadgets to satisfy a constraint no single gadget meets.
Automates a long list of known RSA attacks (Wiener, Fermat, common factor, small e, Coppersmith and more) against a given public key, and decrypts the ciphertext if one lands.
Derives a complete RSA private key from any sufficient subset of known parameters (p, q, n, e, d, phi) — handy when a CTF challenge leaks partial key material instead of the full key.
Full computer algebra system with deep number-theory and elliptic-curve support — the usual scripting environment for hand-rolled RSA/ECC/lattice attacks that go beyond canned tools.
Dumps and disassembles a running process's seccomp-BPF syscall filter, which pwn challenges use to restrict which syscalls a shellcode-based exploit is allowed to make.
Whitespace steganography tool — hides a message in the trailing spaces and tabs at the end of text lines, invisible unless you go looking for it (or view the file with tabs shown).
Audio analysis application with a detailed spectrogram view, the standard way to visually reveal a message or image hidden in an audio file's frequency content.
Encodes a hidden image or message into an audio file such that it only becomes visible as a spectrogram — the tool behind the "load the WAV in Sonic Visualiser" CTF trope.
Automates detecting and exploiting SQL injection vulnerabilities, including database fingerprinting, data extraction and, where the DBMS allows it, OS command execution.
ss — check what is actually listening, without netstat
one-liner Linux
CTFEnumerationNetwork
netstat is deprecated on most modern distros; ss is the built-in replacement for a quick "what is this box listening on" check.
ss -tulnp
added by THUGS(red)
StegCracker
tool
Brute ForceCTFSteganography
Dictionary brute-forcer for steghide-protected files, wrapping steghide itself in a loop over a wordlist — Stegseek is the faster modern replacement for the same job.
Steganalysis tool that scores a set of PNG/BMP images for likely LSB steganography, useful for triaging which of many images in a CTF archive is worth digging into by hand.
Steganography toolkit that automates the usual checklist against an image — metadata, LSB extraction, bit-plane dumps, colour-channel splits, and running other steg tools for you.
Extremely fast steghide passphrase cracker (thousands of times faster than brute-forcing steghide itself) that tries an entire wordlist against a JPEG/BMP/WAV/AU carrier.
Java GUI for stepping through bit planes, colour channels, palettes and frames of an image — the classic manual-inspection tool for image steganography before scripting anything.
sudo -l — enumerate what you can already run as root
one-liner Linux
CTFEnumerationRed Team
The very first command in any Linux privesc checklist: lists every command the current user is allowed to sudo, which is the input GTFOBins entries actually key off.
systemctl — abuse a pager to spawn a shell
one-liner Linux
CTFLOLBAS / LOTLRed Team
systemctl status pipes its output through less by default; from inside that pager, !/bin/sh spawns a shell — a real GTFOBins entry that surprises a lot of people.
sudo systemctl status trivial-rce-cve
# once the pager opens, type: !/bin/sh
Kali-based virtual machine pre-loaded with the OSINT tooling Trace Labs uses in its missing-persons CTFs, a ready-made environment rather than a single tool.
Dynamic binary analysis library combining symbolic execution and taint analysis, usable as a scriptable engine for deobfuscation and constraint solving in RE work.
Lightweight, multi-architecture CPU emulator library used to run a snippet of machine code (or an entire firmware routine) in isolation to observe its behaviour without real hardware.
Upgrade a dumb shell to a real TTY
one-liner Linux
CTFOffensiveRed Team
Turns a bare reverse/bind shell into a full interactive TTY with job control, tab completion and arrow keys.
python3 -c 'import pty;pty.spawn("/bin/bash")'
# then background it and fix the terminal:
# ^Z
stty raw -echo; fg
export TERM=xterm; stty rows 50 cols 200
added by THUGS(red)
UPX
tool
Binary / RECTF
The ultimate packer for executables — used legitimately to shrink binaries, but in CTF reversing it usually shows up the other way round: unpacking a UPX-wrapped challenge binary.
The standard open-source memory forensics framework — extracts processes, network connections, injected code and more from a RAM capture across Windows, Linux and macOS.
The world's most widely used network protocol analyzer — deep inspection of hundreds of protocols, live capture and offline analysis, with a filter language everyone in the field eventually learns.
Open-source user-mode x86/x64 debugger for Windows with a plugin ecosystem (ScyllaHide, x64dbgpy) that is the de facto free alternative to OllyDbg/Immunity on modern binaries.
XOR-decrypt against a known-plaintext crib
one-liner
CiphersCryptographyCTF
Recovers a repeating XOR key by XOR-ing ciphertext against a guessed plaintext fragment (a crib like "flag{"), a fast manual technique when the key is shorter than or equal to the crib.
python3 -c "
ct = bytes.fromhex('...')
crib = b'flag{'
print(bytes(c ^ k for c, k in zip(ct, crib)))
"
added by THUGS(red)
xortool
tool
CiphersCryptographyCTF
Guesses the key length of a repeating-key XOR ciphertext from character-frequency analysis, then recovers the most likely key.
"Yet Another Factoring Utility" — automatically picks and runs the best available factoring algorithm (ECM, SIQS, NFS) for a given integer, useful once a modulus is too big for trial division.
Microsoft's SMT solver, used constantly in CTF reversing and crypto to turn 'find x such that these constraints hold' into a script instead of manual algebra — a frequent shortcut past custom validation logic.
python3 -c "
from z3 import *
x = BitVec('x', 32)
s = Solver()
s.add(x * 3 + 7 == 100)
print(s.check(), s.model())
"
Microsoft Research's SMT solver, scripted from Python to encode a challenge's constraints (a keygen check, a crypto relation, a logic puzzle) and let the solver produce a satisfying input.