Flip Dat Bit — TryHackMe

A TCP service hands you the AES-CBC ciphertext of your own input and asks you to return a ciphertext that decrypts to contain admin credentials — solved with a single-byte XOR flip.

June 9, 2026 · 10 min · 2033 words · Th3B0yWh0L1v3d

Fun With RSA — DalCTF 2026

A homemade RSA-CRT signer leaks a correct and a faulted signature of the same message; gcd(s − spz, n) factors n (the Bellcore attack), while the trivial shortcut just recovers the message via s^e mod n — and the XOR ‘protection’ undoes itself.

June 7, 2026 · 8 min · 1517 words · Th3B0yWh0L1v3d

All's Fair in Love and CTFs — DalCTF 2026

The title ‘All’s Fair’ points at the Playfair cipher; the grid image is the standard 5×5 key square with even columns blanked, and the ciphertext decrypts to ANYTHINGFORTHEFLAG.

June 6, 2026 · 6 min · 1079 words · Th3B0yWh0L1v3d

Angry Shamir — DalCTF 2026

An RSA modulus that looks 2054-bit-strong is actually 67 × q — a tiny prime factor makes it trivially factorable (FactorDB / trial division), reconstructing the private key and decrypting the flag.

June 6, 2026 · 4 min · 824 words · Th3B0yWh0L1v3d

Compression isn't encryption — DalCTF 2026

A 192-bit Huffman stream and a frequency table; the textbook min-heap decode looks perfect (wrapped in dalctf{}, zero leftover bits) yet is wrong — matching the encoder’s tie-break policy recovers the real flag.

June 6, 2026 · 8 min · 1599 words · Th3B0yWh0L1v3d

LCG Seed Squared — DalCTF 2026

A homemade LCG-as-cipher multiplies each flag byte by a deterministic state independent of the plaintext — the known DalCTF{ prefix recovers one state, and replaying the generator divides out the rest. The lost seed is a red herring.

June 6, 2026 · 5 min · 1011 words · Th3B0yWh0L1v3d

Playing with Pointers — DalCTF 2026

A C program squares each flag byte as a float, then a ‘forgotten’ Quake-style (long)&y type-pun prints the raw IEEE-754 bits as integers; reversing bits→float→sqrt→char recovers the flag.

June 6, 2026 · 5 min · 938 words · Th3B0yWh0L1v3d

COMpetition — GPN CTF 2026

A commit-reveal rock-paper-scissors whose non-binding sha256(r1 + message + r2) commitment lets you open one hash to any winning move and sweep all 100 rounds.

June 5, 2026 · 3 min · 465 words · Th3B0yWh0L1v3d

Easy DSA — GPN CTF 2026

A P-521 ECDSA oracle derives its nonce from an MD5-based uuid3, so an MD5 collision forces nonce reuse, leaks the private key, and lets us forge a signature for the flag.

June 5, 2026 · 3 min · 594 words · Th3B0yWh0L1v3d