17 lines
413 B
Python
17 lines
413 B
Python
import math
|
|
|
|
ctf = b"DUCTF{"
|
|
|
|
ctf = int.from_bytes(ctf)
|
|
|
|
# 0x44554354467b
|
|
# 0x3bd4fca9d0d3e400000000000000000000000
|
|
# 6954494065942554678316751997792528753841173212407363342283423753536991947310058248515278
|
|
|
|
crypt = 6954494065942554678316751997792528753841173212407363342283423753536991947310058248515278
|
|
|
|
print(hex(int(math.sqrt(crypt))))
|
|
ctf2 = 0x44554354467b0000000000000000000000000
|
|
|
|
print(int(crypt / ctf2))
|