All About Timing
Description
Code Analysis
import time
import random
random.seed(int(time.time()))
print("Guess the number I'm thinking of? It's all about the timing")
x = input("Your guess:")
n = random.randint(1000000000000000, 10000000000000000-1)
if int(x) == n:
with open("flag.txt") as f:
print(f.readline())
else:
print(f"Wrong answer! The number I was thinking of was {n}\nRemember it's all about the timing!")
Exploit


Last updated