-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathguard.php
More file actions
56 lines (56 loc) · 2.18 KB
/
guard.php
File metadata and controls
56 lines (56 loc) · 2.18 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
<?php
// Warna Terminal
$biru = "\e[34m";
$kuning = "\e[33m";
$cyan = "\e[96m";
$magenta = "\e[35m";
$hijau = "\e[92m";
$merah = "\e[91m";
echo "$cyan + //////////////////////////////+\n";
echo "$cyan ___________ ___. __
\_ _____/____ ____ ____\_ |__ ____ ____ | | __
| __) \__ \ _/ ___\/ __ \| __ \ / _ \ / _ \| |/ /
| \ / __ \\ \__\ ___/| \_\ ( <_> | <_> ) <
\___ / (____ /\___ >___ >___ /\____/ \____/|__|_ \
\/ \/ \/ \/ \/ \/\n";
echo "Created by Pangeran Alvins\n\n";
echo "+ //////////////////////////////+\n";
echo "FACEBOOK PROFIL GUARD 2019\n\n";
echo "+ //////////////////////////////+\n";
echo "$Input Your Token Facebok: ";
$token= trim(fgets(STDIN));
$md5 = md5(time());
$hash = substr($md5, 0, 8)."-".substr($md5, 8, 4)."-".substr($md5, 12, 4)."-".substr($md5, 16, 4)."-".substr($md5, 20, 12);
function curl($url, $post=null) {
$ch = curl_init();
curl_setopt($ch, CURLOPT_URL, $url);
if($post != null) {
curl_setopt($ch, CURLOPT_POST, true);
curl_setopt($ch, CURLOPT_POSTFIELDS, $post);
}
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, true);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false);
$exec = curl_exec($ch);
curl_close($ch);
return $exec;
}
$me = json_decode(curl("https://graph.facebook.com/me?fields=id&access_token=".$token));
if($me && $me->id) {
$var = "{\"0\":{\"is_shielded\":true,\"session_id\":\"$hash\",\"actor_id\":\"$me->id\",\"client_mutation_id\":\"$hash\"}}";
$hajar = json_decode(curl("https://graph.facebook.com/graphql", array(
"variables" => $var,
"doc_id" => "1477043292367183",
"query_name" => "IsShieldedSetMutation",
"strip_defaults" => "true",
"strip_nulls" => "true",
"locale" => "en_US",
"client_country_code" => "US",
"fb_api_req_friendly_name" => "IsShieldedSetMutation",
"fb_api_caller_class" => "IsShieldedSetMutation",
"access_token" => $token
)));
if($hajar->data->is_shielded_set->is_shielded) echo "$merah Success :) Check Your Profile Now";
else "Failed";
}
?>