View difference between Paste ID: gmCujufq and NABgqXgv
SHOW: | | - or go back to the newest paste.
1-
//Script Recode by Shiroyasha Bot Team(Shiroyasha-bot.ga),Kinekaru
1+
2
// Tutor memakai =Upload file ini, buka domain.kamu/file.php?email=jemb&password=ot
3-
// fb.com/reply.us
3+
4-
// Jembut mrawut
4+
5
error_reporting(E_ALL);
6
header('Origin: https://facebook.com');
7
define('API_SECRET', 'c1e620fa708a1d5696fb991c1bde5662');
8
9
define('BASE_URL', 'https://api.facebook.com/restserver.php');
10
11
function sign_creator(&$data){
12
	$sig = "";
13
	foreach($data as $key => $value){
14
		$sig .= "$key=$value";
15
	}
16
	$sig .= API_SECRET;
17
	$sig = md5($sig);
18
	return $data['sig'] = $sig;
19
}
20
function cURL($method = 'GET', $url = false, $data){
21
	//sign_creator($data);
22
	//print_r($data);
23
	$c = curl_init();
24
	$user_agents = array(
25
		"Mozilla/5.0 (Linux; Android 5.0.2; Andromax C46B2G Build/LRX22G) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/37.0.0.0 Mobile Safari/537.36 [FB_IAB/FB4A;FBAV/60.0.0.16.76;]",
26
		"[FBAN/FB4A;FBAV/35.0.0.48.273;FBDM/{density=1.33125,width=800,height=1205};FBLC/en_US;FBCR/;FBPN/com.facebook.katana;FBDV/Nexus 7;FBSV/4.1.1;FBBK/0;]",
27
		"Mozilla/5.0 (Linux; Android 5.1.1; SM-N9208 Build/LMY47X) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/51.0.2704.81 Mobile Safari/537.36",
28
		"Mozilla/5.0 (Linux; U; Android 5.0; en-US; ASUS_Z008 Build/LRX21V) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 UCBrowser/10.8.0.718 U3/0.8.0 Mobile Safari/534.30",
29
		"Mozilla/5.0 (Linux; U; Android 5.1; en-US; E5563 Build/29.1.B.0.101) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 UCBrowser/10.10.0.796 U3/0.8.0 Mobile Safari/534.30",
30
		"Mozilla/5.0 (Linux; U; Android 4.4.2; en-us; Celkon A406 Build/MocorDroid2.3.5) AppleWebKit/533.1 (KHTML, like Gecko) Version/4.0 Mobile Safari/533.1"
31
	);
32
	$useragent = $user_agents[array_rand($user_agents)];
33
	$opts = array(
34
		CURLOPT_URL => ($url ? $url : BASE_URL).($method == 'GET' ? '?'.http_build_query($data) : ''),
35
		CURLOPT_RETURNTRANSFER => true,
36
		CURLOPT_SSL_VERIFYPEER => false,
37
		CURLOPT_USERAGENT => $useragent
38
	);
39
	if($method == 'POST'){
40
		$opts[CURLOPT_POST] = true;
41
		$opts[CURLOPT_POSTFIELDS] = $data;
42
	}
43
	curl_setopt_array($c, $opts);
44
	$d = curl_exec($c);
45
	curl_close($c);
46
	return $d;
47
}
48
49
if(isset($_POST['email'], $_POST['password'])){
50
	$_GET = $_POST;
51
}
52
$data = array(
53
	"api_key" => "3e7c78e35a76a9299309885393b02d97",
54
	"credentials_type" => "password",
55
	"email" => @$_GET['email'],
56
	"format" => "JSON",
57
	"generate_machine_id" => "1",
58
	"generate_session_cookies" => "1",
59
	"locale" => "id_ID",
60
	"method" => "auth.login",
61
	"password" => @$_GET['password'],
62
	"return_ssl_resources" => "0",
63
	"v" => "1.0"
64
);
65
sign_creator($data);
66
$response = cURL('GET', false, $data);
67
//$responseJSON = json_decode($api);
68
exit($response);
69
70
?>