Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- // Created By Con7ext
- error_reporting(0);
- function getStr($string, $start, $end){
- $str = explode($start, $string);
- $str = explode($end, $str[1]);
- return $str[0];
- }
- function cUrlGetData($url, $post_fields = null, $headers = null) {
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, $url);
- if ($post_fields && !empty($post_fields)) {
- curl_setopt($ch, CURLOPT_POST, 1);
- curl_setopt($ch, CURLOPT_POSTFIELDS, $post_fields);
- }
- if ($headers && !empty($headers)) {
- curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
- }
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 0);
- curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, 0);
- $data = curl_exec($ch);
- if (curl_errno($ch)) {
- echo 'Error:' . curl_error($ch);
- }
- curl_close($ch);
- return $data;
- }
- $headers = array(
- "User-agent: Mozilla/5.0 (Linux; Android 8.1.0; Redmi 6A Build/O11019) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 YaBrowser/18.10.2.119.00 Mobile Safari/537.36",
- "Referer: https://appleid.apple.com/account",
- //"Accept-Encoding: gzip, deflate, sdch, br",
- "Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8"
- );
- $get = cUrlGetData("https://appleid.apple.com/account#!&page=create", null, $headers);
- $scnt = getStr($get, "scnt: '", "'");
- $api = getStr($get, "apiKey: '", "'");
- $sess = getStr($get , "sessionId: '", "'");
- $headerToPost = array(
- "User-agent: Mozilla/5.0 (Linux; Android 8.1.0; Redmi 6A Build/O11019) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 YaBrowser/18.10.2.119.00 Mobile Safari/537.36",
- "Origin: https://appleid.apple.com",
- "Referer: https://appleid.apple.com/account",
- "X-Apple-Request-Context: create",
- "Requested-With: XMLHttpRequest",
- "scnt: {$scnt}",
- "X-Apple-Api-Key : {$api}",
- "X-Apple-ID-Session-Id: {$sess}",
- "Accept: application/json, text/javascript, */*; q=0.01",
- //"Accept-Encoding: gzip, deflate, br",
- "Accept-Language: id-ID,id;q=0.9,en-US;q=0.8,en;q=0.7",
- "Content-Type: application/json",
- 'X-Apple-I-FD-Client-Info: {"U":"Mozilla/5.0 (Linux; Android 8.1.0; Redmi 6A Build/O11019) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/69.0.3497.100 YaBrowser/18.10.2.119.00 Mobile Safari/537.36","L":"id-ID","Z":"GMT+07:00","V":"1.1","F":"kWa44j1e3NlY5BSo9z4ofjb75PaK4Vpjt1szHVXU3vtnTDovyhbQ3zIRbPhj03x.dXnYbFdH6PEwHXXTSHCSPmtd0wVYPIG_qvoPfybYb5EvYTrYesR2hQnH6hAOfUftmF5wMQE5nXxQD6CKaMhQWx2KlTTpZHgfLMC7AeLd7FmrpwoNN5uQ4s5uQ1szHVzZrefOJQuyPB94UXuGlfUm4ly_03y8rnawSdrxQDq8yatDpQT18u0I4b6DWHZDoUs_43wuZPup_nH2t05oaYAhrcpMxE6DBUr5xj6Kks6PraZEPLnLzMnZVCsiqTCb4uqRDPfBjPr2u5fXwxf7_OLgiPFMqbN0TUMpwoNRe98vPSb_GGEOpBSKxUC56MnGWpwoNSUC53ZXnN87gq1a293lio8dOHr_i.uJtHoqvynx9MsFyxYMH0XKJ7lrHay.9aB.KB4D93tG2hixAwlMsITxYMJ5uFBHeNNW5BNlYicklY5BqNAE.lTjV.5Ec"}'
- );
- echo ".___ __ _____ .__
- | |/ |_ ______ / _ \ |__| ____ ________
- | \ __\/ ___// /_\ \| |/ \\___ /
- | || | \___ \/ | \ | | \/ /
- |___||__| /____ >____|__ /__|___| /_____ \
- Coded : Con7ext\/ \/ \/ \/
- Apple Valid Email\n";
- echo "Input Your List : ";
- $itsList = trim(fgets(STDIN));
- $itsMail = file_get_contents($itsList);
- $itsGet = explode("\n", $itsMail);
- foreach($itsGet as $itsEmail){
- $itsGetData = cUrlGetData("https://appleid.apple.com/account/validation/appleid", "{\"emailAddress\":\"{$itsEmail}\"}", $headerToPost);
- $itsDecoding = json_decode($itsGetData, TRUE);
- $itsDate = date('h:i:s');
- if($itsDecoding["used"] == true){
- echo "\033[1;32m[{$itsDate}] {$itsEmail} | LIVE\n";
- }
- else if($itsDecoding["used"] == false || $itsDecoding["valid"] == false){
- echo "\033[1;31m[{$itsDate}] {$itsEmail} | DIE\n";
- }
- }
- echo "\033[0m";
Advertisement
Add Comment
Please, Sign In to add comment