hire mederech0@proton.me

~/writeups/small-primes

Crypto200 pts▮▮▯▯▯CryptoHack2025-10-21

Small Primes.

// TL;DR

RSA with weak parameters. Placeholder summary.

// placeholder writeup — the real one lands here, same shape.

    1. 01

      Recon

      Read the public key parameters.

      derech0@lab:~$ enum --target $BOX

      # output trimmed — full commands in the real writeup

    1. 02

      Approach

      Noticed they were far too small to be safe.

      derech0@lab:~$ run

      # output trimmed — full commands in the real writeup

    1. 03

      Result

      Recovered the plaintext with math, not brute force.

      derech0@lab:~$ cat flag.txt

      # output trimmed — full commands in the real writeup

tools used

  • Python
  • SageMath

lesson

Use vetted libraries and proper key sizes.

$ next · Forensics

Packet Trail

→