Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions l3akctf2025/dumber/chall
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
from Crypto.Util.number import bytes_to_long, long_to_bytes
from sage.all import *

#a,b,p = ?,?,?
a = 121547024516589838748345110141426750807
b = 7914092104289289683791712783390872437
p = 13291510692868661437224070910406918137926842040211728641528067393501968123210518869652984806112658744065588422523015753882654205841020261730856999798869673
#a,b,p = ?,?,?
a = 17801836189733377785295362029761667987972501213297452798611574944384395030461
b = 42981949191870239792389518377291345948295848297527160008386893923017818487900
p = 59143948222596372861761000728366832120206904374471306879672978099984384207757

flag = open("/flag", "r").read().strip()
mid = len(flag) // 2
Expand Down