By: Ezra Edelman

Seeing a non-web exploitation problem Keith prepared their binary and c knowledge, but to their surprise, it was a .py! Help Keith learn to exploit python programs.

Here is the source:

import random

thisisthepassword = random.randint(0,2**30)

inp = input("Enter the password: ")

if (thisisthepassword == inp):

flag = open("theflag.txt",'r').read()

print flag

else:

print "WRONG password"

results matching ""

    No results matching ""