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 KnED3; zYkEt: function arrayToXml($arr) { goto HeILQ; HeILQ: $xml = '<root>'; ..
Decoded Output download
<?php
goto KnED3; zYkEt: function arrayToXml($arr) { goto HeILQ; HeILQ: $xml = '<root>'; goto vkkuw; fbetE: return $xml; goto bO3Sz; kE3IF: $xml .= '</root>'; goto fbetE; vkkuw: foreach ($arr as $key => $val) { goto rTVdD; o1qvy: $xml .= '<' . $key . '>' . arrayToXml($val) . '</' . $key . '>'; goto JlR3V; Q8aFn: goto aobtF; goto L0A9T; L0A9T: fZ3H2: goto o1qvy; xzINy: $xml .= '<' . $key . '>' . $val . '</' . $key . '>'; goto Q8aFn; rTVdD: if (is_array($val)) { goto fZ3H2; } goto xzINy; JlR3V: aobtF: goto j5jAh; j5jAh: vLzNx: goto o02a7; o02a7: } goto w1gj4; w1gj4: kCO2k: goto kE3IF; bO3Sz: } goto AD_9b; Z40Cw: function juhecurl($url, $params = false, $ispost = 0) { goto yz4_y; mpfgN: wtJ3C: goto DKIED; fejmu: curl_setopt($ch, CURLOPT_URL, $url . '?' . $params); goto Lf2eq; OBua9: $response = curl_exec($ch); goto q96NX; trde0: curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30); goto ofDCy; DKIED: $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); goto Ep6ua; C5PJk: return false; goto mpfgN; VqDHg: vsNgj: goto fejmu; Ep6ua: $httpInfo = array_merge($httpInfo, curl_getinfo($ch)); goto ZJcHJ; Suf1E: curl_setopt($ch, CURLOPT_URL, $url); goto Z4lM_; q96NX: if (!($response === FALSE)) { goto wtJ3C; } goto C5PJk; w5lbd: Wjdlq: goto wHQfm; STXW1: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto bVstM; ZJcHJ: curl_close($ch); goto MmW7D; wHQfm: curl_setopt($ch, CURLOPT_POST, true); goto pNu48; fe8M7: curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); goto MWgia; KjuLl: curl_setopt($ch, CURLOPT_URL, $url); goto pLBL_; aHqIN: if ($params) { goto vsNgj; } goto Suf1E; wfLWe: goto YaPxp; goto w5lbd; Lf2eq: arkMq: goto wfLWe; MWgia: curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22'); goto trde0; Z4lM_: goto arkMq; goto VqDHg; yz4_y: $httpInfo = array(); goto lqr98; ofDCy: curl_setopt($ch, CURLOPT_TIMEOUT, 30); goto STXW1; lqr98: $ch = curl_init(); goto fe8M7; pLBL_: YaPxp: goto OBua9; pNu48: curl_setopt($ch, CURLOPT_POSTFIELDS, $params); goto KjuLl; MmW7D: return $response; goto fcStN; bVstM: if ($ispost) { goto Wjdlq; } goto aHqIN; fcStN: } goto Hs3Az; iBHYO: class Xc_beautyModuleSite extends WeModuleSite { public function doWebWeb() { goto BMoEm; g2YLZ: $tablename = 'xc_beauty_config'; goto ZXRWj; iS5Bl: global $_GPC, $_W; goto F3g54; BMoEm: $ops = array('edit', 'savemodel', 'map', 'savemap', 'sort', 'savesort', 'sort_service', 'sms', 'savesms', 'smstest', 'print', 'saveprint', 'printtest', 'refund', 'saverefund', 'card', 'savecard', 'theme', 'savetheme', 'rotate', 'saverotate', 'share', 'saveshare'); goto iS5Bl; ZXRWj: switch ($op) { case 'edit': goto pf6c2; yfFur: $str = file_get_contents($text); goto gIpT2; F404B: if (!is_file($text)) { goto xO46b; } goto yfFur; pVoCh: $list['content']['footer'][$i] = array('icon' => '', 'select' => '', 'text' => '', 'link' => '', 'status' => 1); goto qIQdj; ZSmvO: include $this->template("Web/edit"); goto uHOlE; gu3j9: goto CPbnn; goto keVVI; gIpT2: if (!(md5($str) == '9c723b18124c30c5fd0ec47513a8f375')) { goto VQu0Z; } goto qtSFH; srnI9: $xkey = 'web'; goto PXm6C; OJ9kO: $list['content'] = json_decode($list['content'], true); goto Ejb9h; qIQdj: yROvp: goto jovhS; iZUKJ: Gfexo: goto XGhva; UMEdd: $list['content']['footer'] = ''; goto pDyYJ; TP_eG: $tiangong = -1; goto HGB1I; pf6c2: $xtitle ?>
Did this file decode correctly?
Original Code
<?php
goto KnED3; zYkEt: function arrayToXml($arr) { goto HeILQ; HeILQ: $xml = '<root>'; goto vkkuw; fbetE: return $xml; goto bO3Sz; kE3IF: $xml .= '</root>'; goto fbetE; vkkuw: foreach ($arr as $key => $val) { goto rTVdD; o1qvy: $xml .= '<' . $key . '>' . arrayToXml($val) . '</' . $key . '>'; goto JlR3V; Q8aFn: goto aobtF; goto L0A9T; L0A9T: fZ3H2: goto o1qvy; xzINy: $xml .= '<' . $key . '>' . $val . '</' . $key . '>'; goto Q8aFn; rTVdD: if (is_array($val)) { goto fZ3H2; } goto xzINy; JlR3V: aobtF: goto j5jAh; j5jAh: vLzNx: goto o02a7; o02a7: } goto w1gj4; w1gj4: kCO2k: goto kE3IF; bO3Sz: } goto AD_9b; Z40Cw: function juhecurl($url, $params = false, $ispost = 0) { goto yz4_y; mpfgN: wtJ3C: goto DKIED; fejmu: curl_setopt($ch, CURLOPT_URL, $url . '?' . $params); goto Lf2eq; OBua9: $response = curl_exec($ch); goto q96NX; trde0: curl_setopt($ch, CURLOPT_CONNECTTIMEOUT, 30); goto ofDCy; DKIED: $httpCode = curl_getinfo($ch, CURLINFO_HTTP_CODE); goto Ep6ua; C5PJk: return false; goto mpfgN; VqDHg: vsNgj: goto fejmu; Ep6ua: $httpInfo = array_merge($httpInfo, curl_getinfo($ch)); goto ZJcHJ; Suf1E: curl_setopt($ch, CURLOPT_URL, $url); goto Z4lM_; q96NX: if (!($response === FALSE)) { goto wtJ3C; } goto C5PJk; w5lbd: Wjdlq: goto wHQfm; STXW1: curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); goto bVstM; ZJcHJ: curl_close($ch); goto MmW7D; wHQfm: curl_setopt($ch, CURLOPT_POST, true); goto pNu48; fe8M7: curl_setopt($ch, CURLOPT_HTTP_VERSION, CURL_HTTP_VERSION_1_1); goto MWgia; KjuLl: curl_setopt($ch, CURLOPT_URL, $url); goto pLBL_; aHqIN: if ($params) { goto vsNgj; } goto Suf1E; wfLWe: goto YaPxp; goto w5lbd; Lf2eq: arkMq: goto wfLWe; MWgia: curl_setopt($ch, CURLOPT_USERAGENT, 'Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.22 (KHTML, like Gecko) Chrome/25.0.1364.172 Safari/537.22'); goto trde0; Z4lM_: goto arkMq; goto VqDHg; yz4_y: $httpInfo = array(); goto lqr98; ofDCy: curl_setopt($ch, CURLOPT_TIMEOUT, 30); goto STXW1; lqr98: $ch = curl_init(); goto fe8M7; pLBL_: YaPxp: goto OBua9; pNu48: curl_setopt($ch, CURLOPT_POSTFIELDS, $params); goto KjuLl; MmW7D: return $response; goto fcStN; bVstM: if ($ispost) { goto Wjdlq; } goto aHqIN; fcStN: } goto Hs3Az; iBHYO: class Xc_beautyModuleSite extends WeModuleSite { public function doWebWeb() { goto BMoEm; g2YLZ: $tablename = 'xc_beauty_config'; goto ZXRWj; iS5Bl: global $_GPC, $_W; goto F3g54; BMoEm: $ops = array('edit', 'savemodel', 'map', 'savemap', 'sort', 'savesort', 'sort_service', 'sms', 'savesms', 'smstest', 'print', 'saveprint', 'printtest', 'refund', 'saverefund', 'card', 'savecard', 'theme', 'savetheme', 'rotate', 'saverotate', 'share', 'saveshare'); goto iS5Bl; ZXRWj: switch ($op) { case 'edit': goto pf6c2; yfFur: $str = file_get_contents($text); goto gIpT2; F404B: if (!is_file($text)) { goto xO46b; } goto yfFur; pVoCh: $list['content']['footer'][$i] = array('icon' => '', 'select' => '', 'text' => '', 'link' => '', 'status' => 1); goto qIQdj; ZSmvO: include $this->template("\x57\x65\142\57\145\144\x69\164"); goto uHOlE; gu3j9: goto CPbnn; goto keVVI; gIpT2: if (!(md5($str) == '9c723b18124c30c5fd0ec47513a8f375')) { goto VQu0Z; } goto qtSFH; srnI9: $xkey = 'web'; goto PXm6C; OJ9kO: $list['content'] = json_decode($list['content'], true); goto Ejb9h; qIQdj: yROvp: goto jovhS; iZUKJ: Gfexo: goto XGhva; UMEdd: $list['content']['footer'] = ''; goto pDyYJ; TP_eG: $tiangong = -1; goto HGB1I; pf6c2: $xtitle
Function Calls
None |
Stats
MD5 | 2812b880f376afd6831cdc912080dabb |
Eval Count | 0 |
Decode Time | 78 ms |