downloaded challenges

didnt know they would publish everything
This commit is contained in:
2023-09-04 22:08:12 +02:00
parent fb0e5711a0
commit 9d960e60ac
17 changed files with 503 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
import math
flag = open('./flag.txt', 'rb').read().strip()
m1 = int.from_bytes(flag[:len(flag)//2])
m2 = int.from_bytes(flag[len(flag)//2:])
print(flag[:len(flag)//2], flag[len(flag)//2:])
print(m1, m2)
print(hex(m1), hex(m2))
n = m1 * m2
print(n)
print("SOLVING!")
sq = int(math.sqrt(n))
print(hex(sq))