Back to posts

Capture The Flag

CTF Write-ups

Solutions and analysis from capture-the-flag challenges. Each write-up documents the approach taken, the underlying vulnerability or technique, and a reproducible solution, and is published as its own page below.

By 0cool Ongoing collection Repository: WriteUps

Index

SourceChallengeCategoryPoints
CybertalentsPostbaseCryptography50
EOman 2022ScatteredCryptography80
EOman 2022Special SummationCoding35
EOman 2022Count WordsCoding40
EOman 2022Longest WordCoding15
EOman 2022CTF22 (escape encoding, strange strings)Mixedn/a

Write-ups

Cryptography · 50 pts

Postbase

Recovering a corrupted Base64 prefix by enumerating the unknown leading characters against a known plaintext marker.

Read write-up →
Cryptography · 80 pts

Scattered

Recovering image tiles renamed to their MD5 digests, then reassembling them in grid order to reveal the flag.

Read write-up →
Coding · 35 pts

Special Summation

Summing odd integers between two bounds while discarding any running total that ends in a zero.

Read write-up →
Coding · 40 pts

Count Words

Counting the words in a file whose embedded digits sum to exactly ten.

Read write-up →
Coding · 15 pts

Longest Word

Identifying the longest token in a supplied article file.

Read write-up →
Mixed

CTF22

Two sub-tasks: decoding decimal character codes, and matching two Base64 files index by index.

Read write-up →

Full collection

Each challenge corresponds to a directory in the repository, where the original notes and complete solution scripts are kept. The full and growing set is available in the WriteUps repository.

← Back to all posts