/ctf_tools

flag{thEr3_1s_n0thIng_hEr3}

Primary LanguagePython

CTF Tools

Just a list of CTF Tools for my own use

nice try

For python 2 if you input variable name as it check if it is a variable it will allow it

r^n mod n^2 mod n
r < n
(r mod n)^n mod n

Stuff to readup:

t = int(time.time()*1000)

for i in range(5):
    p.recvuntil(b"card is ")
    card = eval(p.recvline().decode("utf-8").strip())
    head.append(card)

for i in range(-1000, 1000):
    if shuffle(t+i)[:5] == head:
        p.sendline(str(shuffle(t+i)).encode("utf-8"))
        break