function so1 () {global $a1, $a2, $a3, $a4; $tsm = [$a1, $a2, $a3, $a4]; $resu = GOIGET("https://gateway.golike.net/api/users/me", $tsm, null, null)['data']; $tuc = $resu['status']; if ($tuc === 200){$coca = "DANG NHAP THANH CONG"; $na = $resu['data']['username']; $coi = $resu['data']['coin'];} elseif($tuc === 401){$coca = "DIE AUTHU HOAC LOI";} else{$coca = "LOI NHE";} return array ('coca' => $coca, 'na' => $na, 'coi' => $coi);} $m = explode("\n", @file_get_contents('authu.txt')); $m1 = $m[0]; $authu = explode('|',$m1)[0]; $user = explode('|',$m1)[1]; $a1 = "authorization:$authu"; $a2 = "user-agent:$user"; $caca = so1(); $coca = $caca['coca']; if ($coca === "LOI NHE") {exit;} elseif ($coca === "DIE AUTHU HOAC LOI") {echo "DIE AUTHU HOAC LOI\n";exit;} unlink('tengo.txt');system('clear'); while (true) { $na1 = $caca['na']; $coi1 = $caca['coi']; $mm = explode("\n", @file_get_contents('tengo.txt')); $mm1 = $mm[0]; $mm2 = explode('|',$mm1)[0]; $mm3 = explode('|',$mm1)[1]; if ($mm2 == false) {tengo();continue;} break;} echo "DANG NHAP THANH CONG\n";