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 hYqwV; eDXVc: $forward = $account->share(); goto gH21T; r8hAO: $hand = pdo_ge..

Decoded Output download

<?php 
 goto hYqwV; eDXVc: $forward = $account->share(); goto gH21T; r8hAO: $hand = pdo_getcolumn("hcface_hand_report", array("uid" => $uid, "unlock" => 1), array("count(id)")); goto XfqOT; GjyAG: hR1fN: goto Ykxlk; axKDa: $num = $hand + $face; goto zSnNg; KmIRw: die; goto jrz38; XfqOT: $face = pdo_getcolumn("hcface_report", array("uid" => $uid, "unlock" => 1), array("count(id)")); goto axKDa; hYqwV: defined("IN_IA") or exit("Access Denied"); goto e6uCm; hu4FG: $account_api = WeAccount::create(); goto eWmik; E3EU1: global $_GPC, $_W; goto i9dNX; EaMt_: if (!($subscribe == 0 && $num == 0)) { goto hR1fN; } goto mSpVb; nVWOU: $account = new Account($pid); goto Xr_M2; zSnNg: $lock = json_decode(pdo_getcolumn("hcface_setting", array("only" => "lock" . $weid), array("value")), "true"); goto lHE1D; eWmik: $access_token = $account_api->getAccessToken(); goto J3ed4; YkhC1: $pay = json_decode(pdo_getcolumn("hcface_setting", array("only" => "pay" . $weid), array("value")), "true"); goto r8hAO; HI8zL: $pid = empty($_GPC["pid"]) ? 0 : trim($_GPC["pid"]); goto nVWOU; gH21T: if (!$account->unseal()) { goto ERLEV; } goto ISn7Y; Xr_M2: $account->redirect(); goto h5yuh; jrz38: ERLEV: goto pmP98; vUYeM: if (!($lock[app] == 1 && strpos($_SERVER["HTTP_USER_AGENT"], "MicroMessenger") !== false)) { goto J71DA; } goto hu4FG; ZarOL: $res = ihttp_get($url); goto gToU6; Ykxlk: J71DA: goto W_W1c; i9dNX: $weid = $_W["uniacid"]; goto pbSdY; pmP98: $openid = $_COOKIE["openid"]; goto YkhC1; ISn7Y: include $this->template("appeal/list"); goto KmIRw; h5yuh: $account->account(); goto eDXVc; e6uCm: require_once IA_ROOT . "/addons/hc_face/inc/model/account.php"; goto E3EU1; lHE1D: $lock["qrcode"] = tomedia($lock["qrcode"]); goto vUYeM; OMRH_: $subscribe = $res["subscribe"]; goto EaMt_; J3ed4: $url = "https://api.weixin.qq.com/cgi-bin/user/info?access_token=" . $access_token . "&openid=" . $openid . "&lang=zh_CN"; goto ZarOL; mSpVb: $wxapp = 1; goto GjyAG; gToU6: $res = json_decode($res["content"], true); goto OMRH_; pbSdY: $uid = $_COOKIE["uid"]; goto HI8zL; W_W1c: include $this->template("upload_hand"); ?>

Did this file decode correctly?

Original Code

<?php
 goto hYqwV; eDXVc: $forward = $account->share(); goto gH21T; r8hAO: $hand = pdo_getcolumn("\150\143\x66\x61\x63\x65\x5f\x68\141\156\144\137\162\145\160\157\x72\164", array("\x75\151\144" => $uid, "\x75\156\x6c\x6f\x63\153" => 1), array("\143\157\x75\x6e\164\x28\x69\144\51")); goto XfqOT; GjyAG: hR1fN: goto Ykxlk; axKDa: $num = $hand + $face; goto zSnNg; KmIRw: die; goto jrz38; XfqOT: $face = pdo_getcolumn("\150\x63\146\x61\143\x65\x5f\162\x65\x70\157\x72\164", array("\x75\151\x64" => $uid, "\x75\156\154\157\x63\153" => 1), array("\x63\157\165\x6e\164\x28\151\144\51")); goto axKDa; hYqwV: defined("\x49\116\137\111\101") or exit("\101\x63\143\145\x73\163\40\104\x65\156\x69\x65\144"); goto e6uCm; hu4FG: $account_api = WeAccount::create(); goto eWmik; E3EU1: global $_GPC, $_W; goto i9dNX; EaMt_: if (!($subscribe == 0 && $num == 0)) { goto hR1fN; } goto mSpVb; nVWOU: $account = new Account($pid); goto Xr_M2; zSnNg: $lock = json_decode(pdo_getcolumn("\x68\x63\x66\141\x63\x65\137\x73\145\x74\x74\151\156\x67", array("\157\156\x6c\171" => "\154\157\x63\x6b" . $weid), array("\x76\x61\x6c\x75\x65")), "\164\162\x75\145"); goto lHE1D; eWmik: $access_token = $account_api->getAccessToken(); goto J3ed4; YkhC1: $pay = json_decode(pdo_getcolumn("\x68\143\x66\x61\143\x65\137\x73\145\x74\164\151\156\x67", array("\x6f\x6e\x6c\171" => "\x70\x61\171" . $weid), array("\166\x61\x6c\x75\145")), "\x74\x72\165\145"); goto r8hAO; HI8zL: $pid = empty($_GPC["\x70\x69\144"]) ? 0 : trim($_GPC["\160\151\144"]); goto nVWOU; gH21T: if (!$account->unseal()) { goto ERLEV; } goto ISn7Y; Xr_M2: $account->redirect(); goto h5yuh; jrz38: ERLEV: goto pmP98; vUYeM: if (!($lock[app] == 1 && strpos($_SERVER["\110\x54\x54\120\x5f\x55\x53\x45\x52\137\x41\x47\x45\116\124"], "\x4d\151\x63\162\157\115\145\x73\x73\x65\156\x67\x65\x72") !== false)) { goto J71DA; } goto hu4FG; ZarOL: $res = ihttp_get($url); goto gToU6; Ykxlk: J71DA: goto W_W1c; i9dNX: $weid = $_W["\165\x6e\x69\141\143\x69\144"]; goto pbSdY; pmP98: $openid = $_COOKIE["\157\x70\x65\x6e\x69\144"]; goto YkhC1; ISn7Y: include $this->template("\x61\x70\x70\145\x61\154\57\x6c\151\163\x74"); goto KmIRw; h5yuh: $account->account(); goto eDXVc; e6uCm: require_once IA_ROOT . "\57\x61\144\144\x6f\x6e\163\x2f\150\x63\137\146\141\143\145\57\x69\x6e\x63\x2f\155\157\144\x65\154\57\x61\143\143\157\x75\x6e\164\x2e\160\150\x70"; goto E3EU1; lHE1D: $lock["\x71\162\143\157\144\x65"] = tomedia($lock["\161\162\x63\157\x64\x65"]); goto vUYeM; OMRH_: $subscribe = $res["\163\x75\142\163\x63\x72\x69\x62\x65"]; goto EaMt_; J3ed4: $url = "\150\x74\164\160\163\x3a\57\x2f\141\160\151\56\167\145\151\x78\x69\x6e\56\161\161\56\x63\x6f\x6d\x2f\x63\x67\x69\x2d\x62\x69\x6e\57\x75\163\145\x72\x2f\x69\x6e\146\157\77\141\x63\143\x65\163\163\137\x74\157\x6b\x65\x6e\x3d" . $access_token . "\46\157\x70\145\x6e\x69\144\x3d" . $openid . "\x26\x6c\141\156\147\x3d\172\x68\137\x43\x4e"; goto ZarOL; mSpVb: $wxapp = 1; goto GjyAG; gToU6: $res = json_decode($res["\143\x6f\156\x74\x65\156\x74"], true); goto OMRH_; pbSdY: $uid = $_COOKIE["\x75\151\144"]; goto HI8zL; W_W1c: include $this->template("\x75\x70\x6c\157\x61\x64\137\x68\141\x6e\144");

Function Calls

None

Variables

None

Stats

MD5 a4ac4b4602b32837ead17fb410567d64
Eval Count 0
Decode Time 168 ms