diff --git a/bot somay b/bot somay new file mode 100644 index 00000000..0128f607 --- /dev/null +++ b/bot somay @@ -0,0 +1,54 @@ + ' . $sett[3] . PHP_EOL; + echo 'Input captcha : '; + $input = fopen("php://stdin","r"); + $answer = trim(fgets($input)); + $__setting[$ii][1] = $answer; + $ii++; +} +echo '[READY]' . PHP_EOL; + +while(1) { + $imei = '86622805' . mt_rand(1000000, 9999999); + if($__stopped) { + break; + } + foreach ($__setting as $sett) { + $data = http_request('https://hd.c.mi.com/'.$sett[0].'/eventapi/api/netflix/gettoken?uid='.$__uid.'&vcode='.$sett[1].'&imei='.$imei); + $data = json_decode($data, true); + if (isset($data['msg']) && $data['msg'] == 'Success') { + $__if_valid = $data['data']['redirect_url'] . '|' . $imei . '|' . $sett[2] . PHP_EOL; + file_put_contents("valid.txt", $__if_valid, FILE_APPEND); + echo 'VALID => ' . $__if_valid; + } else if(isset($data['code']) && $data['code'] == '800706') { + echo 'Please challenge the captcha => ' . $sett[2] . PHP_EOL; + $__stopped = true; + } else { + echo 'INVALID => ' . $imei . '|' . $sett[2] . PHP_EOL; + } + } +}