Step-by-step CTF challenge writeups, written by the community.
Run the provided Python script in decrypt mode, give it the password from pw.txt, and it prints the flag.
Every letter in data.txt has been shifted 13 places through the alphabet. A single tr command rotates them back and reveals the password.
The very first picoGym challenge: download a file and print it with cat to read the flag.
The password file isn't hidden this time — it's just base64 encoded. One command decodes it straight back to plain text.
data.txt is mostly unreadable binary noise, but the password is plain text buried inside it, marked by a run of leading = characters.
The binary static stores the flag as plain text. strings static | grep picoCTF finds it; the provided ltdis.sh script does the same plus a disassembly.
Almost every line in this file repeats at least once. The password is the single line that appears exactly once — sort and uniq find it in one pipeline.
The service answers with a list of decimal numbers. They're ASCII codes: convert each with chr() and they spell the flag.
A multi-thousand-line file holds the password on a single line, right next to a specific marker word. grep finds that one line instantly.
crackme.py contains an encoded secret and a decode_secret function it never calls. Call it yourself and the flag is printed.
List the image's partitions with mmls, search the Linux partition with fls -r for flag files, and print the right one with icat.
The password file this time isn't in the home directory at all — find has to search the entire filesystem, filtered by exact owner, group, and size.
The key is in the description: decrypt cipher.txt's rgnoDVD{...} with Vigenère key CYLAB, advancing the key only on letters.
Bandit 5→6 hides the password among dozens of decoy files in inhere/. One find command with -size 1033c, -type f and ! -executable leaves only the right one.
The RSA modulus is only about 270 bits. Look up its factors on factordb, rebuild the private key, and decrypt c.
Ten near-identical files, only one holds the password. Using file to spot the real text file among decoys.
Find a flag hidden in a haystack of text with grep.
ls shows an empty folder — until you remember dotfiles don't show by default. Uncovering a hidden password file.
Download the warm binary, make it executable, and run it with -h: its help output contains the flag.
The password file is called --spaces in this filename--: quote it for the spaces, then add ./ so cat stops reading the leading -- as an option.
A file literally named - breaks a naive cat command. How to reference it directly and read the password inside.
Connect to OverTheWire's Bandit wargame over SSH and read a plaintext readme file to get your first password. The very first step into the game.
The license key is a static prefix, 8 characters taken from the SHA-256 of a hard-coded username, and a closing brace. Recompute them in Python.
checkPassword() verifies all 32 characters with charAt() in a scrambled order. Sort the checks by index to rebuild the password.
VaultDoorTraining.java strips picoCTF{ and } from your input and compares the rest to a hard-coded string. That string, wrapped back, is the flag.
Export the files sent over TFTP, decode the ROT13 notes, and use steghide with the password they reveal to pull the flag out of picture3.bmp.
Follow an HTTP stream in Wireshark and decode the ROT13-encoded flag.
Decrypt a Vigenère cipher with the given key and table, by hand or in Python.
message.txt starts with its own key: a 26-letter cipher alphabet. Map each letter back through it to read the text and the flag.
The flag is given ROT13-encoded (cvpbPGS{...}). Rotate every letter by 13 and it reads picoCTF{...}.
Log in as admin through five rounds of growing SQLite keyword filters. filter.php shows each round's list; || concatenation beats the final 'admin' filter.
The flag is split into three comments: one in the HTML, one at the end of mycss.css, one at the end of myjs.js. View each source and join them.
Detect and extract a ZIP file hidden inside a PNG image with binwalk. An introduction to steganography.
Manipulating HTTP cookies to enumerate hidden values and capture the flag. Technique: IDOR via a sequential cookie.
Share your CTF solutions with the community. Join the Discord and post in #writeups.
Join CTFdojo Discord