Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
<?php goto k3llt; k3llt: header("\x41\x63\x63\145\x73\163\55\103\x6f\x6e\x74\162\157\x6c..
Decoded Output download
<?php
goto k3llt; k3llt: header("Access-Control-Allow-Origin: *"); goto LQKaj; gO7eX: function _apimsg($msg, $sts, $crud, $data, $meta) { $stbol = false; if (strval($sts) == 1) { $stbol = true; } $arr = array(); $arr["success"] = $stbol; $arr["message"] = $msg; $arr["status"] = $sts; $arr["msg"] = $msg; $arr["crud"] = $crud; $arr["meta"] = $meta; $arr["data"] = $data; return $arr; } goto bHFQD; Vqcio: function _apigetpost($col = '') { $data = json_decode(file_get_contents("php://input"), true); if (isset($data[$col]) || empty($col)) { return $data; } $data = $_POST; if (isset($data[$col])) { return $data; } $data = $_GET; if (isset($data[$col])) { return $data; } return $data; } goto KPyeG; ifHoQ: function _apigetkey() { $apr = _apigeturi(); } goto xw5K_; XA3hY: function getBearerToken() { $headers = getAuthorizationHeader(); if (!empty($headers)) { if (preg_match("/Bearer\s(\S+)/", $headers, $matches)) { return $matches[1]; } } return null; } goto m3_9h; l9IsY: include_once "basics.php"; goto tzcgw; B3O02: function _apilistkey2() { return $_GET["aprk"]["aprk_list_key_2"]; } goto fYRt5; D__xa: function _printapiuri() { $rr = _apigeturi(); print_r($rr); } goto nLWHp; xw5K_: function _apivalidkey($key, $pass, $tab = '') { $table = "mui_conf.api_rekanan"; $ret = false; $cmd = "select * from " . $table . " where 1=1 and aprk_key='" . $key . "' and aprk_aktif=1 "; $res = __dbrow($cmd); if (!isEmptyRes($res)) { $ret = true; $_GET["aprk"] = $res; } return $ret; } goto NcIRF; G4IKP: function _apilistkey1() { return $_GET["aprk"]["aprk_list_key_1"]; } goto B3O02; fYRt5: function _apilistkey3() { return $_GET["aprk"]["aprk_list_key_3"]; } goto bxJAJ; UXL9Y: header("Access-Control-Allow-Headers: Content-Type, Access-Control-Allow-Headers, Authorization, X-Requested-With"); goto l9IsY; wZFq9: function _pdf2base64($filepdf) { if (!file_exists($filepdf)) { return ''; } $b64Doc = chunk_split(base64_encode(file_get_contents($filepdf))); return $b64Doc; } goto Dr9rc; bxJAJ: function _apiparamsubkode() { return $_GET["aprk"]["aprk_param_subkode"]; } goto Nmnu_; bOHji: require $_SERVER["DOCUMENT_ROOT"] . "/live/ww.incs/rpt_load.php"; goto ifHoQ; Yqf9_: function _apipolisnama($nama, $apipk = '') { $cmd = " Select * FROM eopr.`mst_polis_api` ,eopr.mst_polis
where 1=1 " . $nama . " and mpi_status=1 and mpol_kode=mpi_mpol_kode limit 1"; $res = __dbrow($cmd); return $res; } goto kmk_0; YpqJu: function _apikeypass() { return $_GET["aprk"]["aprk_password"]; } goto ZD5ow; qOF_w: header("Access-Control-Allow-Methods: POST"); goto axkqh; m3_9h: function _apikeyvalue($key, $tipe = "aprk") { $ret = ''; if (isset($_GET["aprk"][$key]) && $tipe == "aprk") { $ret = $_GET["aprk"][$key]; } return $ret; } goto Jreda; We0WG: function _todateapi($originalDate, $format) { $newDate = date($format, strtotime($originalDate)); return $newDate; } goto Vqcio; QIwsp: function _apiheader() { $headers = apache_request_headers(); return $headers; } goto E5CFA; kmk_0: function _apirekannama($nama, $apipk = '') { $cmd = " \xa\xaSELECT `mrkna_kode`,mrkn_kode,`mrkna_nama` ,mrkn_nama ,mlok_kode ,mlok_nama,mrkn_mprov_kode
FROM emst.`mst_rekanan`\xa LEFT JOIN emst.`mst_lokasi` ON mrkn_mlok_kode=mlok_kode
,emst.`mst_rekananapi`
WHERE mrkn_kode=`mrkna_mrkn_kode`
and mrkna_kode='" . $nama . "'\xa limit 1
"; $res = __dbrow($cmd); return $res; } goto TT1l3; XRa52: function _apimsgjson($msg, $status, $crud, $data, $meta) { return json_encode(_apimsg($msg, $status, $crud, $data, $meta)); } goto wZFq9; Dr9rc: function _base642pdf($string, $filepdf) { $bin = base64_decode($string, true); if (strpos($bin, "%PDF") !== 0) { throw new Exception("Missing the PDF file signature"); } file_put_contents($filepdf, $bin); if (file_exists($filepdf)) { echo filepdf; } } goto Er1Z6; DqqBk: function isEmptyRes($res) { if (count($res) <= 0 || empty($res)) { return true; } return false; } goto QIwsp; qu9sD: function _apikeypk() { return $_GET["aprk"]["aprk_pk"]; } goto L8Of5; NcIRF: function _getmetasend() { $arp = $_POST; $arg = array(); $fls = $_FILES; $dts = json_decode(file_get_contents("php://input"), true); $arrmet = array("post" => $arp, "get" => $arg, "input" => $dts, "file" => $fls); return $arrmet; } goto We0WG; nLWHp: function _printr($ar) { $ar = print_r($ar, true); return $ar; } goto j75gB; OzZAJ: function _apimlokkode() { return $_GET["aprk"]["aprk_mlok_kode"]; } goto G4IKP; Dncne: function _isapiauth($key) { if (empty($key)) { return false; } $auth = _muiAuthorizationHeader(); if (empty($auth)) { return false; } if ($auth !== $key) { return false; } return true; return false; } goto gO7eX; KPyeG: function _apipolis($produk, $apipk = '') { $cmd = " select * FROM eopr.`mst_polis_api` where mpi_pk='" . $produk . "'"; $res = __dbrow($cmd); if (!isEmptyRes($res)) { return $res["mpi_mpol_kode"]; } return ''; } goto Yqf9_; tzcgw: require $_SERVER["DOCUMENT_ROOT"] . "/live/ww.incs/Mail/PHPMailerAutoload.php"; goto bOHji; E5CFA: function _muiAuthorizationHeader() { $headers = null; if (isset($_SERVER["Authorization"])) { $headers = trim($_SERVER["Authorization"]); } else { if (isset($_SERVER["HTTP_AUTHORIZATION"])) { $headers = trim($_SERVER["HTTP_AUTHORIZATION"]); } elseif (function_exists("apache_request_headers")) { $requestHeaders = apache_request_headers(); $requestHeaders = array_combine(array_map("ucwords", array_keys($requestHeaders)), array_values($requestHeaders)); if (isset($requestHeaders["Authorization"])) { $headers = trim($requestHeaders["Authorization"]); } } } $headers = base64_decode($headers); return $headers; } goto q3sLf; Er1Z6: function _apipostlog($nomor = '', $arrpost = array(), $isarray = true, $tipe = '') { $jsc = $arrpost; if ($isarray == true) { $jsc = json_encode($arrpost); } $cmd = "
INSERT INTO `mui_log`.`api_log_post`\xa ( alp_tipe,
`alp_nomor`,
`alp_post`,alp_date)
VALUES (
'" . $tipe . "',
'" . $nomor . "',\xa '" . $jsc . "',NOW());
"; __dbrowx($cmd); } goto EiTs1; j75gB: function _apigopage() { $uris = _apigeturi(); if (count($uris) <= 1) { die(_apimsgjson("invalid api page uri !", "0", '', array(), array())); } $tipe = $uris[0]; $cmd = "select * from mui_set.`api_menu` where apm_kode='" . $tipe . "'"; $r = __dbRow($cmd); if (count($r) <= 0 || empty($r)) { die(_apimsgjson("invalid api page menu !", "0", '', array(), array())); } if (count($uris) <= 2) { die(_apimsgjson("invalid key api !", "0", '', array(), array())); } $key = $uris[1]; $pass = ''; if (isset($_GET["passapi"])) { $pass = $_GET["passapi"]; } if (isset($_POST["passapi"])) { $pass = $_POST["passapi"]; } if (!_apivalidkey($key, $pass, '')) { die(_apimsgjson("invalid key api !", "0", '', array(), array())); } $rfile = $_SERVER["DOCUMENT_ROOT"] . "/api/" . $r["apm_file"]; if (file_exists($rfile)) { require $rfile; } else { die(_apimsgjson(" api page not found !" . $rfile, "0", '', array(), array())); } } goto XA3hY; axkqh: header("Access-Control-Max-Age: 3600"); goto UXL9Y; TT1l3: function _apigeturi() { $uris = explode("/", $_SERVER["REQUEST_URI"]); _apipostlog("URIS", $_POST); array_shift($uris); array_shift($uris); return $uris; } goto D__xa; NYTuM: function _apiuri2array($flds, $start = 0, $xlp = ",") { $flds = $flds . $xlp; $arr = explode($xlp, $flds); $rr = _apigeturi(); $are = array(); for ($i = 0; $i < count($arr); $i++) { if ($start <= count($arr) && $arr[$i] !== '') { if (count($rr) > $start) { $are[$arr[$i]] = $rr[$start]; } } $start++; } return $are; } goto DqqBk; L8Of5: function _apikeyuser() { return $_GET["aprk"]["aprk_key"]; } goto YpqJu; Jreda: function _apigrouprekan() { return $_GET["aprk"]["aprk_group_rekan"]; } goto qu9sD; q3sLf: function _isapiauthcheck($key) { $bb = _isapiauth($key); $rr = array(); if (!$bb) { die(_apimsgjson("Invalid Authorization", 0, "X", $rr, $rr)); } } goto Dncne; bHFQD: function _apiresjson($arr) { return json_encode($arr); } goto XRa52; ZD5ow: function _apiparamkode() { return $_GET["aprk"]["aprk_param_kode"]; } goto OzZAJ; LQKaj: header("Content-Type: application/json; charset=UTF-8"); goto qOF_w; EiTs1: _apigopage(); goto VoxPU; Nmnu_: function _apiparamkodelain() { return $_GET["aprk"]["aprk_param_lain"]; } goto NYTuM; VoxPU: ?>
Did this file decode correctly?
Original Code
<?php
goto k3llt; k3llt: header("\x41\x63\x63\145\x73\163\55\103\x6f\x6e\x74\162\157\x6c\x2d\101\154\x6c\157\x77\55\x4f\162\x69\x67\x69\156\72\40\x2a"); goto LQKaj; gO7eX: function _apimsg($msg, $sts, $crud, $data, $meta) { $stbol = false; if (strval($sts) == 1) { $stbol = true; } $arr = array(); $arr["\163\165\143\143\x65\x73\163"] = $stbol; $arr["\155\x65\x73\x73\141\x67\145"] = $msg; $arr["\163\x74\x61\x74\x75\163"] = $sts; $arr["\155\163\147"] = $msg; $arr["\x63\x72\x75\144"] = $crud; $arr["\155\x65\x74\x61"] = $meta; $arr["\x64\141\x74\x61"] = $data; return $arr; } goto bHFQD; Vqcio: function _apigetpost($col = '') { $data = json_decode(file_get_contents("\160\150\x70\x3a\x2f\x2f\151\156\x70\x75\164"), true); if (isset($data[$col]) || empty($col)) { return $data; } $data = $_POST; if (isset($data[$col])) { return $data; } $data = $_GET; if (isset($data[$col])) { return $data; } return $data; } goto KPyeG; ifHoQ: function _apigetkey() { $apr = _apigeturi(); } goto xw5K_; XA3hY: function getBearerToken() { $headers = getAuthorizationHeader(); if (!empty($headers)) { if (preg_match("\x2f\102\x65\x61\162\x65\162\134\163\50\134\x53\53\51\x2f", $headers, $matches)) { return $matches[1]; } } return null; } goto m3_9h; l9IsY: include_once "\142\x61\x73\151\x63\163\56\x70\x68\160"; goto tzcgw; B3O02: function _apilistkey2() { return $_GET["\x61\x70\x72\153"]["\x61\160\x72\x6b\137\x6c\x69\x73\164\137\x6b\145\171\137\x32"]; } goto fYRt5; D__xa: function _printapiuri() { $rr = _apigeturi(); print_r($rr); } goto nLWHp; xw5K_: function _apivalidkey($key, $pass, $tab = '') { $table = "\155\165\151\x5f\x63\157\156\146\56\141\160\x69\x5f\162\x65\153\141\156\x61\156"; $ret = false; $cmd = "\163\x65\154\x65\x63\164\40\52\x20\146\x72\x6f\155\40" . $table . "\40\167\150\x65\162\x65\x20\61\75\x31\40\x61\x6e\x64\40\x20\x61\x70\x72\153\137\153\x65\171\x3d\47" . $key . "\x27\40\x61\x6e\x64\x20\141\x70\x72\x6b\x5f\141\153\x74\x69\146\x3d\x31\40"; $res = __dbrow($cmd); if (!isEmptyRes($res)) { $ret = true; $_GET["\x61\x70\162\x6b"] = $res; } return $ret; } goto NcIRF; G4IKP: function _apilistkey1() { return $_GET["\141\x70\x72\153"]["\141\160\162\x6b\x5f\154\x69\x73\x74\x5f\x6b\x65\x79\137\61"]; } goto B3O02; fYRt5: function _apilistkey3() { return $_GET["\x61\160\x72\153"]["\x61\160\x72\x6b\x5f\x6c\151\x73\x74\137\153\145\x79\137\x33"]; } goto bxJAJ; UXL9Y: header("\x41\143\143\145\163\163\55\x43\157\156\x74\162\x6f\154\x2d\101\154\x6c\x6f\x77\55\110\145\x61\144\145\162\x73\x3a\x20\x43\157\x6e\164\x65\156\164\x2d\x54\x79\x70\x65\x2c\40\101\x63\x63\x65\x73\163\55\103\x6f\x6e\x74\x72\157\x6c\55\x41\154\154\157\167\x2d\110\x65\x61\144\145\x72\x73\x2c\40\101\x75\164\x68\157\x72\151\172\x61\164\x69\x6f\156\54\x20\x58\x2d\122\x65\x71\x75\145\163\164\x65\x64\x2d\x57\x69\x74\x68"); goto l9IsY; wZFq9: function _pdf2base64($filepdf) { if (!file_exists($filepdf)) { return ''; } $b64Doc = chunk_split(base64_encode(file_get_contents($filepdf))); return $b64Doc; } goto Dr9rc; bxJAJ: function _apiparamsubkode() { return $_GET["\x61\x70\x72\x6b"]["\141\160\x72\153\137\160\x61\162\141\x6d\x5f\x73\165\x62\153\157\144\145"]; } goto Nmnu_; bOHji: require $_SERVER["\104\117\x43\125\115\x45\116\x54\137\122\x4f\x4f\124"] . "\57\154\151\166\x65\x2f\x77\167\56\151\156\x63\x73\x2f\x72\160\x74\x5f\154\157\141\144\x2e\160\x68\x70"; goto ifHoQ; Yqf9_: function _apipolisnama($nama, $apipk = '') { $cmd = "\x20\x53\x65\154\145\143\164\x20\52\x20\x46\122\117\x4d\x20\145\x6f\160\x72\56\x60\155\163\164\137\160\157\x6c\151\163\137\x61\x70\151\140\40\54\x65\x6f\160\x72\56\x6d\x73\x74\x5f\160\x6f\154\x69\163\12\40\40\40\x20\x20\167\150\x65\x72\145\x20\61\x3d\61\40\40" . $nama . "\x20\141\x6e\144\x20\x6d\160\x69\x5f\163\x74\x61\164\x75\163\x3d\61\40\x20\x61\156\144\40\155\160\x6f\154\x5f\x6b\157\144\x65\75\x6d\x70\151\x5f\155\160\x6f\154\x5f\x6b\157\144\x65\40\154\151\155\x69\164\40\61"; $res = __dbrow($cmd); return $res; } goto kmk_0; YpqJu: function _apikeypass() { return $_GET["\x61\x70\162\153"]["\x61\x70\162\153\137\x70\141\x73\163\x77\x6f\162\144"]; } goto ZD5ow; qOF_w: header("\101\x63\143\145\163\163\x2d\x43\x6f\156\164\162\157\x6c\55\101\154\x6c\x6f\167\55\115\x65\x74\150\x6f\144\x73\72\x20\x50\117\123\124"); goto axkqh; m3_9h: function _apikeyvalue($key, $tipe = "\x61\160\x72\x6b") { $ret = ''; if (isset($_GET["\141\x70\x72\153"][$key]) && $tipe == "\x61\160\162\153") { $ret = $_GET["\x61\x70\162\x6b"][$key]; } return $ret; } goto Jreda; We0WG: function _todateapi($originalDate, $format) { $newDate = date($format, strtotime($originalDate)); return $newDate; } goto Vqcio; QIwsp: function _apiheader() { $headers = apache_request_headers(); return $headers; } goto E5CFA; kmk_0: function _apirekannama($nama, $apipk = '') { $cmd = "\x20\xa\xa\x53\105\114\105\x43\x54\40\x60\x6d\x72\153\x6e\141\137\x6b\157\144\145\x60\54\155\162\153\156\x5f\x6b\x6f\x64\145\54\x60\x6d\x72\x6b\156\141\137\156\141\x6d\x61\140\x20\x2c\x6d\x72\153\156\137\156\x61\x6d\x61\x20\54\155\x6c\157\153\137\x6b\x6f\x64\145\40\x2c\155\154\157\153\x5f\156\x61\155\141\x2c\x6d\x72\x6b\156\x5f\x6d\x70\x72\157\x76\137\x6b\157\144\x65\x20\12\x20\40\x20\x20\40\x20\x20\x20\40\40\40\x20\40\x20\40\40\106\122\117\115\40\x65\x6d\x73\x74\56\140\x6d\x73\164\x5f\162\x65\153\141\x6e\141\x6e\x60\xa\40\40\x20\x20\40\x20\x20\x20\40\40\40\40\x20\40\40\40\x4c\x45\106\124\40\112\x4f\x49\116\40\x20\145\x6d\x73\x74\56\x60\x6d\163\x74\137\x6c\157\153\x61\163\x69\x60\40\x4f\x4e\x20\x6d\x72\153\x6e\137\x6d\x6c\157\153\x5f\153\x6f\x64\145\75\155\x6c\x6f\x6b\x5f\153\157\x64\x65\12\40\40\x20\40\x20\40\40\x20\40\x20\x20\40\x20\x20\40\40\54\145\155\x73\164\56\x60\155\163\164\x5f\x72\145\x6b\x61\156\x61\156\141\x70\151\x60\12\40\x20\40\40\x20\x20\40\x20\40\x20\x20\x20\x20\40\x20\40\127\x48\x45\x52\x45\40\155\x72\153\156\137\153\x6f\144\145\x3d\x60\x6d\x72\153\156\141\137\155\x72\x6b\156\x5f\153\x6f\144\145\x60\12\x20\40\40\x20\x20\x20\x20\x20\x20\40\x20\x20\x20\x20\x20\x20\x61\156\144\40\155\162\153\x6e\141\x5f\153\157\x64\145\x3d\x27" . $nama . "\47\xa\x20\40\40\40\40\x20\40\40\40\x20\40\x20\40\40\x20\40\x6c\151\x6d\151\x74\x20\61\12\x20\x20\40\x20"; $res = __dbrow($cmd); return $res; } goto TT1l3; XRa52: function _apimsgjson($msg, $status, $crud, $data, $meta) { return json_encode(_apimsg($msg, $status, $crud, $data, $meta)); } goto wZFq9; Dr9rc: function _base642pdf($string, $filepdf) { $bin = base64_decode($string, true); if (strpos($bin, "\45\120\x44\106") !== 0) { throw new Exception("\x4d\x69\x73\163\x69\156\147\40\164\x68\145\x20\x50\x44\106\40\146\151\154\145\x20\x73\151\147\x6e\x61\164\165\x72\145"); } file_put_contents($filepdf, $bin); if (file_exists($filepdf)) { echo filepdf; } } goto Er1Z6; DqqBk: function isEmptyRes($res) { if (count($res) <= 0 || empty($res)) { return true; } return false; } goto QIwsp; qu9sD: function _apikeypk() { return $_GET["\141\160\x72\153"]["\x61\x70\162\153\137\x70\153"]; } goto L8Of5; NcIRF: function _getmetasend() { $arp = $_POST; $arg = array(); $fls = $_FILES; $dts = json_decode(file_get_contents("\x70\150\x70\x3a\57\57\151\156\x70\165\164"), true); $arrmet = array("\160\157\163\x74" => $arp, "\x67\x65\x74" => $arg, "\151\156\160\165\x74" => $dts, "\x66\x69\x6c\145" => $fls); return $arrmet; } goto We0WG; nLWHp: function _printr($ar) { $ar = print_r($ar, true); return $ar; } goto j75gB; OzZAJ: function _apimlokkode() { return $_GET["\141\160\162\x6b"]["\141\160\162\x6b\x5f\155\x6c\157\153\x5f\x6b\157\144\x65"]; } goto G4IKP; Dncne: function _isapiauth($key) { if (empty($key)) { return false; } $auth = _muiAuthorizationHeader(); if (empty($auth)) { return false; } if ($auth !== $key) { return false; } return true; return false; } goto gO7eX; KPyeG: function _apipolis($produk, $apipk = '') { $cmd = "\40\x73\x65\x6c\x65\143\x74\40\52\40\106\x52\117\x4d\x20\145\x6f\x70\162\x2e\140\155\x73\x74\x5f\160\157\154\151\x73\137\141\160\151\140\40\x20\167\150\145\162\145\x20\x6d\160\x69\x5f\x70\x6b\x3d\x27" . $produk . "\x27"; $res = __dbrow($cmd); if (!isEmptyRes($res)) { return $res["\x6d\160\151\137\155\160\157\154\137\x6b\x6f\x64\x65"]; } return ''; } goto Yqf9_; tzcgw: require $_SERVER["\x44\x4f\x43\125\x4d\x45\116\124\137\122\117\117\x54"] . "\57\154\x69\x76\x65\x2f\167\x77\56\151\156\x63\163\x2f\x4d\x61\x69\x6c\x2f\x50\x48\x50\x4d\x61\x69\x6c\x65\x72\x41\x75\x74\x6f\154\x6f\x61\144\x2e\160\x68\x70"; goto bOHji; E5CFA: function _muiAuthorizationHeader() { $headers = null; if (isset($_SERVER["\101\x75\x74\150\x6f\162\x69\172\141\x74\151\x6f\x6e"])) { $headers = trim($_SERVER["\x41\x75\164\150\157\x72\x69\x7a\141\x74\151\x6f\x6e"]); } else { if (isset($_SERVER["\x48\x54\124\120\137\101\125\x54\x48\x4f\122\111\x5a\101\124\111\117\116"])) { $headers = trim($_SERVER["\x48\x54\124\x50\137\x41\125\124\x48\x4f\x52\x49\x5a\101\124\x49\117\x4e"]); } elseif (function_exists("\x61\x70\x61\143\x68\145\x5f\x72\145\161\165\x65\163\x74\137\150\x65\x61\144\x65\x72\163")) { $requestHeaders = apache_request_headers(); $requestHeaders = array_combine(array_map("\x75\143\167\157\162\144\x73", array_keys($requestHeaders)), array_values($requestHeaders)); if (isset($requestHeaders["\x41\165\x74\150\157\162\x69\172\141\x74\x69\x6f\156"])) { $headers = trim($requestHeaders["\x41\165\x74\150\x6f\x72\151\172\x61\x74\x69\157\156"]); } } } $headers = base64_decode($headers); return $headers; } goto q3sLf; Er1Z6: function _apipostlog($nomor = '', $arrpost = array(), $isarray = true, $tipe = '') { $jsc = $arrpost; if ($isarray == true) { $jsc = json_encode($arrpost); } $cmd = "\12\x20\40\x20\x20\40\40\40\40\x49\x4e\123\105\122\124\40\111\x4e\x54\117\40\x60\x6d\165\x69\137\x6c\157\x67\x60\56\x60\x61\160\151\137\x6c\157\x67\x5f\160\157\x73\x74\x60\xa\40\x20\40\x20\40\40\40\40\x20\40\x20\40\50\x20\x61\x6c\160\137\x74\x69\160\x65\54\12\x20\40\x20\x20\x20\x20\x20\x20\x20\x20\40\x20\40\x60\141\154\x70\137\156\157\x6d\157\x72\140\54\12\x20\x20\x20\40\x20\40\40\40\40\x20\x20\x20\40\x60\x61\x6c\x70\x5f\x70\x6f\163\164\x60\54\141\x6c\160\x5f\x64\141\x74\145\51\12\40\x20\40\x20\x20\40\40\x20\x56\x41\x4c\125\105\x53\40\50\12\40\40\40\x20\40\x20\40\40\x20\40\x20\40\47" . $tipe . "\47\x2c\12\x20\40\x20\40\x20\40\40\x20\40\x20\40\40\47" . $nomor . "\x27\54\xa\40\40\x20\x20\x20\40\x20\x20\40\x20\40\x20\x27" . $jsc . "\x27\54\x4e\117\127\x28\x29\x29\73\12\x20\x20\x20\40"; __dbrowx($cmd); } goto EiTs1; j75gB: function _apigopage() { $uris = _apigeturi(); if (count($uris) <= 1) { die(_apimsgjson("\x69\x6e\x76\141\x6c\x69\x64\x20\141\160\151\x20\160\x61\x67\x65\40\165\x72\151\x20\x21", "\x30", '', array(), array())); } $tipe = $uris[0]; $cmd = "\163\x65\x6c\x65\x63\x74\40\52\x20\146\162\157\155\x20\x6d\x75\x69\x5f\163\145\x74\56\140\x61\160\151\137\155\145\156\165\140\40\x77\x68\145\162\145\x20\141\x70\x6d\x5f\x6b\x6f\144\x65\75\x27" . $tipe . "\47"; $r = __dbRow($cmd); if (count($r) <= 0 || empty($r)) { die(_apimsgjson("\151\156\166\141\x6c\x69\x64\x20\141\160\x69\40\x70\x61\x67\145\40\x6d\145\x6e\165\x20\x21", "\60", '', array(), array())); } if (count($uris) <= 2) { die(_apimsgjson("\x69\156\x76\x61\x6c\151\144\40\153\x65\171\x20\141\160\151\40\41", "\x30", '', array(), array())); } $key = $uris[1]; $pass = ''; if (isset($_GET["\x70\x61\163\163\141\x70\x69"])) { $pass = $_GET["\160\141\163\x73\x61\x70\151"]; } if (isset($_POST["\160\x61\163\163\141\160\x69"])) { $pass = $_POST["\x70\141\x73\163\141\160\x69"]; } if (!_apivalidkey($key, $pass, '')) { die(_apimsgjson("\x69\x6e\166\141\154\151\144\x20\x6b\x65\171\40\x61\160\x69\40\41", "\60", '', array(), array())); } $rfile = $_SERVER["\x44\117\x43\125\115\x45\116\124\137\122\x4f\117\124"] . "\57\x61\160\x69\57" . $r["\x61\x70\155\137\x66\151\x6c\x65"]; if (file_exists($rfile)) { require $rfile; } else { die(_apimsgjson("\x20\141\160\151\40\160\x61\147\x65\x20\x6e\x6f\x74\x20\x66\x6f\165\156\x64\40\x21" . $rfile, "\x30", '', array(), array())); } } goto XA3hY; axkqh: header("\101\143\143\x65\x73\163\55\x43\x6f\x6e\x74\x72\157\154\x2d\x4d\x61\x78\55\101\x67\145\x3a\x20\63\66\60\60"); goto UXL9Y; TT1l3: function _apigeturi() { $uris = explode("\x2f", $_SERVER["\x52\105\121\x55\105\123\124\137\125\122\111"]); _apipostlog("\x55\122\111\123", $_POST); array_shift($uris); array_shift($uris); return $uris; } goto D__xa; NYTuM: function _apiuri2array($flds, $start = 0, $xlp = "\54") { $flds = $flds . $xlp; $arr = explode($xlp, $flds); $rr = _apigeturi(); $are = array(); for ($i = 0; $i < count($arr); $i++) { if ($start <= count($arr) && $arr[$i] !== '') { if (count($rr) > $start) { $are[$arr[$i]] = $rr[$start]; } } $start++; } return $are; } goto DqqBk; L8Of5: function _apikeyuser() { return $_GET["\x61\160\x72\x6b"]["\141\160\x72\x6b\137\153\x65\171"]; } goto YpqJu; Jreda: function _apigrouprekan() { return $_GET["\x61\x70\162\x6b"]["\141\x70\162\x6b\137\x67\162\x6f\165\160\137\162\x65\153\x61\156"]; } goto qu9sD; q3sLf: function _isapiauthcheck($key) { $bb = _isapiauth($key); $rr = array(); if (!$bb) { die(_apimsgjson("\111\156\x76\x61\x6c\151\144\40\101\x75\x74\x68\157\162\x69\172\x61\164\x69\x6f\x6e", 0, "\130", $rr, $rr)); } } goto Dncne; bHFQD: function _apiresjson($arr) { return json_encode($arr); } goto XRa52; ZD5ow: function _apiparamkode() { return $_GET["\141\x70\162\153"]["\x61\x70\x72\153\137\160\x61\x72\x61\x6d\137\153\157\x64\x65"]; } goto OzZAJ; LQKaj: header("\103\x6f\x6e\164\145\x6e\164\55\x54\171\160\145\72\40\141\160\x70\x6c\x69\143\141\164\x69\x6f\x6e\x2f\152\x73\x6f\156\73\40\143\150\x61\162\163\x65\x74\x3d\x55\124\106\55\70"); goto qOF_w; EiTs1: _apigopage(); goto VoxPU; Nmnu_: function _apiparamkodelain() { return $_GET["\141\x70\x72\x6b"]["\x61\160\162\153\137\x70\141\x72\x61\155\137\x6c\141\151\x6e"]; } goto NYTuM; VoxPU: ?>
Function Calls
None |
Stats
MD5 | 74ae3ef1b403698784174a6a9cea2489 |
Eval Count | 0 |
Decode Time | 50 ms |