AlpacaHack Logo

SECCON CTF 13 決勝観戦CTF

CTF is over!
Sign InSign Up
TopChallengesScoreboardWriteups

Welcome!
100 pts (167 solves)
Welcome
Beginner

Author:

minaminao

Long Flag
100 pts (152 solves)
Crypto
Beginner

Author:

🍪
100 pts (139 solves)
Web
Beginner

Author:

Beginner's Flag Printer
100 pts (121 solves)
Rev
Beginner

Author:

parseInt
100 pts (89 solves)
Misc
Beginner

Author:

trippple
100 pts (81 solves)
Crypto

Author:

danger of buffer overflow
100 pts (78 solves)
Pwn

Author:

play with memory
100 pts (75 solves)
Pwn

Author:

42
100 pts (40 solves)
Crypto

Author:

Flag Printer
100 pts (38 solves)
Rev

Author:

Can U Keep A Secret?
100 pts (31 solves)
Pwn
Beginner

Author:

cache crasher
100 pts (21 solves)
Pwn

Author:

1linepyjail4b
100 pts (19 solves)
Misc

Author:

csv2json
100 pts (15 solves)
Web

Author:

Customizable EC
100 pts (11 solves)
Crypto

Author:

42*
100 pts (10 solves)
Crypto

Author:

Slow Flag Printer
100 pts (10 solves)
Rev

Author:

dinosaur
100 pts (8 solves)
Web

Author:

Alpaca Wakekko
100 pts (6 solves)
Pwn

Author:

blue-note
100 pts (6 solves)
Web

Author:

Concurrent Flag Printer
100 pts (3 solves)
Rev

Author:

42*

100 pts (10 solves)
Crypto

Author:

minaminao

出力からフラグを復元してください🐍

import os
import random
from Crypto.Util.number import bytes_to_long

x = bytes_to_long(os.getenv("FLAG").encode())
for _ in range(42):
    x *= random.getrandbits(42)
print(x)

出力:

302825260919317779466638288706941757478119936504864503289299111810878557424069832851837952929397907929396668240458993245662741522591539210493306557224673507192171095532552008396687356525313836501117714017702880902013061423179550493813470620956236263763510927657899587551000326509836294794948423351121777067521675908878203343378571238778872260377769563951765315203164771192344115744888944635103673374760547507150197387248980588584664707496184797486345139870127142403853041203948936595396757260050089360185668376949219377211437731767603055237909466371770346897408000000000000000
descriptionsolveswriteups