Challenges
Odd or Even? The RSA Oracle
Cryptography
Hard
AIFT-2026
Solves: 23
Odd or Even? The RSA Oracle
Author: CyberSamSU
Points
70
The old accountant of the Samarkand observatory built a mysterious RSA service. It hands you your personal flag encrypted with RSA-1024 but flatly refuses to decrypt anything. It only tells you one thing: for any x you send, is xd mod n even or odd?
That sounds like very little - but it is enough. Recover the flag.
Connect: nc lab2.cybersamsu.uz 31337. Send your personal token as the first line (the "Personal token" block on this challenge page). The exact protocol is in the attached file. Limit: n.bit_length()+16 queries and 15 minutes. Flag format: AIFT{...}.
Attached files
README_protokol.txt
Log in to download
SHA-256 checksums
README_protokol.txt: 7253d84260c2d0ba2c993b67687f7d47527aa93dbd9dcb859a5f3affda1d836c
To get your personal token, log in.
To submit a flag, log in.