Advertisement
Guest User

brute_force.py

a guest
Oct 28th, 2017
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.77 KB | None | 0 0
  1. # input password
  2. # or read the $_REQUEST ;)
  3. password = input('enter your password: ')
  4. print(password)
  5. print('\nstart hack...')
  6. # if empty password
  7. if password == "":
  8.  print('nothing 2 hack...')
  9. # begin function hack()
  10. def hack():
  11.  letters = 'qwertyuiopasdfghjklzxcvbnm'
  12.  symbols = '@$%&-+()*:;¡¿~`|•√π÷׶∆£¢€¥^°={%}®™℅[]:;!?€₱£¥‰—–·±<{[]}>★†‡'
  13.  numbers = '123456789'
  14.  all = letters + symbols + numbers
  15.  hacked = ""
  16.  # fill str hacked
  17.  for all in password:
  18.   hacked += all
  19.   print('found:', hacked)
  20.  if hacked == password and password != "":
  21.   print("done...your password: ", hacked)
  22.  if hacked != password:
  23.   print("For some reason i couldn't hack you :(\n\nPUT WHY IN THE COMMENT SECTION.")
  24. # call function hack()
  25. hack()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement