<?php
    /* @Author https://air.airxyz.xyz/ */
 goto wtbApwbwDC; w06xtH9gwy: echo json_encode($arrBack, JSON_UNESCAPED_UNICODE); mysqli_close($link); return; NMglAb3k0R: if ($result["\x70\141\x73\x73\167\x64"]) { goto ulrsu5ta0W; } goto LRpw8DB_JR; wtbApwbwDC: date_default_timezone_set("\101\x73\151\141\57\123\x68\141\156\x67\150\141\x69"); header("\101\x63\x63\145\163\163\x2d\103\157\156\164\162\157\x6c\55\101\154\x6c\157\167\55\x4f\x72\x69\x67\151\156\x3a\40\x2a"); $arrBack = array("\x65\162\x72\116\x75\x6d" => "\x30", "\x72\x65\x74\115\x73\x67" => "\xe6\x9a\x82\xe6\x97\240\346\x8f\x90\347\244\xba", "\162\145\x74\104\141\x74\x61" => array()); $apiToken = $_POST["\141\x70\151\124\x6f\153\145\x6e"]; if ($apiToken) { goto fIsaXepnY8; } goto bisUPdEnSt; XPwMWR2oOB: $sshCon = ssh2_auth_password($connection, "{$user}", "{$passwd}"); $cmd = "\x2e\x2f\x61\151\x72\x78\171\x7a\56\163\150\40\165\156"; $ret = ssh2_exec($connection, $cmd); stream_set_blocking($ret, true); $ssh_outPut = stream_get_contents($ret); goto di213fqLmp; di213fqLmp: $sqlUpdate = "\x55\120\104\x41\124\x45\40\166\x70\x73\40\123\105\x54\x20\12\x20\x20\40\x20\40\40\x20\x20\x20\40\40\40\40\40\40\40\143\x70\165\40\x3d\x20\47\60\x27\x2c\xa\x20\x20\40\x20\x20\40\40\x20\40\40\40\x20\x20\40\40\x20\x63\x70\165\x55\163\x65\144\40\75\x20\47\x30\47\54\12\x20\x20\x20\40\x20\x20\40\x20\40\x20\x20\40\40\x20\40\x20\x6d\145\155\40\x3d\x20\x27\x30\x27\54\12\40\x20\x20\x20\x20\40\40\x20\x20\40\x20\x20\x20\40\40\40\x6d\145\x6d\125\163\145\x64\40\75\x20\x27\60\47\x2c\12\x20\x20\40\40\x20\40\x20\x20\x20\x20\x20\40\x20\40\x20\40\144\x69\x73\153\40\x3d\40\47\x30\107\47\54\xa\x20\x20\x20\40\x20\40\40\40\x20\x20\40\40\x20\x20\x20\40\144\x69\x73\x6b\125\163\x65\144\40\x3d\40\47\60\107\47\x2c\xa\x20\x20\x20\40\40\x20\40\40\x20\40\40\40\x20\40\40\x20\165\160\x53\x70\x65\145\x64\x20\x3d\x20\x27\x30\x27\54\12\x20\x20\x20\40\40\40\x20\x20\40\x20\40\40\40\x20\40\x20\x64\157\x77\x6e\123\x70\145\145\x64\40\x3d\40\x27\x30\47\x2c\xa\x20\x20\x20\40\40\40\40\x20\40\x20\40\x20\x20\40\x20\40\x73\164\x61\164\165\163\40\x3d\x20\47\62\x27\x2c\xa\x20\40\40\40\40\40\40\40\x20\x20\x20\40\40\40\x20\40\151\x73\111\x6e\163\164\x61\x6c\x6c\x41\151\x72\x58\171\172\40\x3d\40\x27\62\x27\40\12\x20\40\x20\x20\x20\40\x20\40\40\x20\x20\40\x20\40\40\x20\127\x48\x45\x52\105\40\141\160\x69\x54\x6f\x6b\145\156\40\x3d\x20\x27{$apiToken}\47"; $resInsert = mysqli_query($link, $sqlUpdate); $arrBack["\145\x72\162\116\x75\155"] = "\61"; $arrBack["\x72\145\x74\x4d\163\147"] = "\xe5\215\270\350\275\275\346\x88\x90\345\x8a\x9f"; echo json_encode($arrBack, JSON_UNESCAPED_UNICODE); goto WdK7N6cB2D; VqyHRLnnd4: echo json_encode($arrBack, JSON_UNESCAPED_UNICODE); mysqli_close($link); return; SL_AuMGbEI: goto ztq6vs2OBR; goto x_iCe_18w3; G1Io1oMCN0: $resNum = mysqli_num_rows($res); if ($resNum < 1) { goto ldxxDF04qA; } $result = mysqli_fetch_assoc($res); if (!($result["\x69\x73\x49\156\x73\x74\x61\154\x6c\x41\151\x72\130\171\x7a"] != "\x31")) { goto NMglAb3k0R; } $arrBack["\162\x65\x74\x4d\x73\147"] = "\xe9\224\231\350\xaf\257\357\274\214\xe6\255\xa4\x76\x70\163\346\x9a\x82\346\227\xb6\xe6\xb2\241\346\x9c\x89\xe5\256\x89\xe8\243\x85\345\256\242\xe6\x88\xb7\xe7\253\257\xe7\x9b\221\346\216\247\xef\xbc\x8c\346\x88\226\xe8\200\205\347\xa8\215\xe5\220\216\xe5\x86\x8d\xe8\257\x95"; goto w06xtH9gwy; rWef39b0OD: $user = "\162\157\x6f\x74"; $passwd = openssl_decrypt($result["\x70\x61\x73\x73\x77\x64"], "\x41\x45\123\x2d\x31\62\70\55\103\x42\x43", $json_data["\x61\x69\162\117\x70\x65\156\x73\163\x6c\113\x65\x79"], 0, "\x30\x31\x32\63\x34\x35\x36\67\70\71\101\102\x43\x44\105\106"); $ipSSH = $result["\x69\x70\123\123\110"]; $ipPort = $result["\x70\157\162\164"]; $stream_opts = ["\163\163\x6c" => ["\x76\145\x72\151\x66\x79\x5f\x70\145\x65\162" => false, "\166\x65\x72\x69\x66\171\x5f\x70\145\145\162\x5f\x6e\141\155\145" => false]]; goto ViujTIdU_z; ViujTIdU_z: $checkIP = "\x68\x74\164\160\163\x3a\57\57" . $_SERVER["\x53\x45\x52\x56\105\x52\x5f\116\101\x4d\x45"] . "\x2f\141\x70\x69\x2f\141\151\x72\103\x68\x65\143\x6b\111\120\56\x70\x68\160\x3f\151\x70\75" . $ipSSH . "\x26\160\157\x72\164\75" . $ipPort; $checkIPContents = file_get_contents($checkIP, false, stream_context_create($stream_opts)); $data = json_decode($checkIPContents, JSON_UNESCAPED_UNICODE); if ($data["\x74\x63\x70"] != "\x4f\160\x65\x6e") { goto dx5BdCmCiA; } $connection = ssh2_connect($ipSSH, intval($ipPort)); goto XPwMWR2oOB; bisUPdEnSt: $arrBack["\162\x65\x74\115\x73\x67"] = "\350\xaf\267\350\xbe\223\345\x85\245\141\x70\x69\124\x6f\153\145\x6e"; echo json_encode($arrBack, JSON_UNESCAPED_UNICODE); return; fIsaXepnY8: $json_data = json_decode(file_get_contents("\x2e\x2e\x2f\x69\156\x66\157\x2e\152\163\x6f\156"), true); goto TVbdlniIuI; TVbdlniIuI: $link = mysqli_connect($json_data["\x73\161\154\x5f\150\x6f\163\x74\x6e\x61\155\x65"] . "\x3a\63\x33\x30\66", $json_data["\x73\161\154\x5f\x75\x73\x65\x72\156\141\x6d\x65"], $json_data["\x73\161\x6c\x5f\x70\x61\x73\x73\x77\144"]); if ($link) { goto HPQRcmhS1o; } $arrBack["\x72\145\x74\115\x73\147"] = "\346\x95\260\xe6\x8d\xae\345\xba\223\xe8\277\x9e\346\x8e\245\xe5\xa4\261\xe8\xb4\245"; echo json_encode($arrBack, JSON_UNESCAPED_UNICODE); return; goto TlxRRAHDmg; LRpw8DB_JR: $arrBack["\x72\x65\164\x4d\163\x67"] = "\346\x9c\x8d\xe5\x8a\xa1\345\x99\xa8\346\234\xaa\350\256\276\xe7\xbd\xae\xe5\257\x86\xe7\xa0\x81\xef\xbc\214\xe6\x97\240\xe6\xb3\x95\344\270\200\351\224\256\xe5\x8d\270\xe8\xbd\275\xef\xbc\x8c\350\xaf\267\346\x89\x8b\xe5\x8a\xa8\347\x99\xbb\345\xbd\225\346\234\x8d\xe5\212\241\xe5\231\xa8\345\x8d\270\350\xbd\275"; echo json_encode($arrBack, JSON_UNESCAPED_UNICODE); mysqli_close($link); return; ulrsu5ta0W: goto rWef39b0OD; x_iCe_18w3: ldxxDF04qA: $arrBack["\162\x65\164\x4d\163\147"] = "\351\224\231\xe8\257\xaf\xef\xbc\214\xe6\227\xa0\xe6\xad\244\141\160\151\124\157\x6b\x65\x6e\xe7\232\x84\x76\x70\163"; echo json_encode($arrBack, JSON_UNESCAPED_UNICODE); mysqli_close($link); return; goto eJ2i3ut8N0; WdK7N6cB2D: mysqli_close($link); return; goto SL_AuMGbEI; dx5BdCmCiA: $arrBack["\162\145\164\115\x73\x67"] = "\351\224\x99\xe8\xaf\257\xef\274\214\x76\x70\163\xe6\227\xa0\xe6\263\x95\351\200\232\xe8\277\207\163\163\x68\xe8\277\x9e\346\x8e\xa5"; goto VqyHRLnnd4; TlxRRAHDmg: HPQRcmhS1o: mysqli_set_charset($link, "\x75\164\146\70"); mysqli_select_db($link, $json_data["\163\161\154\137\x75\163\145\162\156\x61\155\145"]); $sql = "\163\x65\154\145\x63\x74\40\52\x20\146\162\x6f\x6d\x20\x76\x70\163\40\x77\x68\145\x72\x65\x20\x76\x70\163\56\141\160\151\x54\x6f\x6b\145\156\40\x3d\40\47{$apiToken}\x27\40"; $res = mysqli_query($link, $sql); goto G1Io1oMCN0; eJ2i3ut8N0: ztq6vs2OBR:
