Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- /* USAGE : php file.php listmail.txt */
- error_reporting(0);
- $m="\033[1;31m";
- $k="\033[1;33m";
- $h="\033[1;32m";
- $b="\033[1;34m";
- $list = explode("\n", file_get_contents($argv[1]));
- $i=0;
- foreach ($list as $mail) {
- $ch = curl_init();
- curl_setopt($ch, CURLOPT_URL, 'http://157.230.147.224/appleid/'.$mail);
- curl_setopt($ch, CURLOPT_RETURNTRANSFER, 1);
- curl_setopt($ch, CURLOPT_CUSTOMREQUEST, 'GET');
- curl_setopt($ch, CURLOPT_ENCODING, 'gzip, deflate');
- $headers = array();
- $headers[] = 'User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:65.0) Gecko/20100101 Firefox/65.0';
- $headers[] = 'Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8';
- $headers[] = 'Accept-Language: en-US,en;q=0.5';
- $headers[] = 'Connection: keep-alive';
- $headers[] = 'Upgrade-Insecure-Requests: 1';
- $headers[] = 'Cache-Control: max-age=0';
- curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
- $cek = curl_exec($ch);
- preg_match_all('|"country" : "(.*?)"|', $cek, $country);
- $country = $country[1][0];
- if(preg_match_all('|"error" : 0,|', $cek)){
- echo $b.$i++.") ".$k.$mail.$h." -> Live [ $country ]\n";
- }else{
- echo $b.$i++.") ".$m.$mail." -> Modar\n";
- }
- }
- ?>
Advertisement
Add Comment
Please, Sign In to add comment