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 /* By laoA QQ273369457 */ error_reporting(E_ALL^E_NOTICE);define(' ';$GLOBALS[= exp..
Decoded Output download
<?php /* By laoA QQ273369457 */ error_reporting(E_ALL^E_NOTICE);define(' ';$GLOBALS[= explode('|||', gzinflate(substr(' eQDh(otn6Hh/(hOXD}nLO=3`3! F%2KJ*zjuvJA|0!ij@CPdFig5).%y}%"_|3NXDEdx|SW^?>Trf
G0X
3vLQkd1Tw7=c\| }0j7~oi&o_MOFNSH:9Y|3Mso ',0x0a, -8)));
$GLOBALS{0](0);$ret=$GLOBALS{0x001}($GLOBALS{0x0002]);if($ret){}else{die();}$pswd=$GLOBALS{0x00003}($_POST[$GLOBALS{0x000004]]);$uid=$GLOBALS{0x00003}($_POST[$GLOBALS{0x05}]);$pass=$GLOBALS{0x00003}($_POST[$GLOBALS{0x006]]);$lx=$GLOBALS{0x00003}($_POST[$GLOBALS{0x0007}]);$type=isset($_POST[$GLOBALS{0x0007}])?$_POST[$GLOBALS{0x0007}]:$GLOBALS{0x00008];$mailid=isset($_POST[$GLOBALS{0x000009}])?$_POST[$GLOBALS{0x000009}]:$GLOBALS{0x00008];$mailunm=isset($_POST[$GLOBALS{0x0a]])?$_POST[$GLOBALS{0x0a]]:$GLOBALS{0x00008];include $GLOBALS{0x00b};if($pswd!=$d_gmrz){die($GLOBALS{0x000c]);}if($type==$GLOBALS{0x0000d}){if($mailid==$GLOBALS{0x00008]){die($GLOBALS{0x00000e]);}if($mailunm==$GLOBALS{0x00008]){die($GLOBALS{0x0f});}$sqll="select id,name from `player` where `identityName` = '$uid' limit 1";$result1=$GLOBALS{0x0010]($sqll);$nameidtemp1=$GLOBALS{0x00011}($result1);$playerId=$nameidtemp1[$GLOBALS{0x000012]];$playerName=$nameidtemp1[$GLOBALS{0x0000013}];$mid=$GLOBALS{0x014](0x00011);$t=$GLOBALS{0x0015}()*0x03e8;$mailsql="INSERT INTO `mail`(`playerId`,`mailId`,`Content`,`gold`,`coin`,`item`,`isRead`,`time`,`mailType`,`bindGold`,`title`) VALUES ('{$playerId}', '34081077-laoa-mail-{$mid}', '{$playerName},', '0', '0', '{$mailid}_{$mailunm}', '0', {$t},'8', '0', '')";$result=$GLOBALS{0x0010]($mailsql);if($result){echo $GLOBALS{0x00016];exit;}else{echo $GLOBALS{0x000017};exit;}}elseif($type==$GLOBALS{0x0000018]){$roleId=$uid;$orderId=$GLOBALS{0x0015}().$GLOBALS{0x019}(0x0989680,99999999999);$gameGold=$GLOBALS{0x001a];$amount=$GLOBALS{0x0001b};$productId=$GLOBALS{0x00001c];$serverId=0x001;$url="http://127.0.0.1:8080/game/services?action=pay&channelId=0&roleId={$roleId}&orderId={$orderId}&gameGold={$gameGold}&amount={$amount}&productId={$productId}&serverId={$serverId}";$res=$GLOBALS{0x001}($url);die($GLOBALS{0x000001d}.$res);}else{$vipfile=$d_file;$fp=$GLOBALS{0x01e]($vipfile,$GLOBALS{0x001f});if($GLOBALS{0x00020]($vipfile)>0){$str=$GLOBALS{0x000021}($fp,$GLOBALS{0x00020]($vipfile));$GLOBALS{0x0000022]($fp);$vipjson=$GLOBALS{0x023}($str,!0);if($vipjson==null){$vipjson=array();}}else{$vipjson=array();}if($lx==$GLOBALS{0x0024]){$vipjson[$uid]=$pass;$GLOBALS{0x00025}($vipfile,$GLOBALS{0x000026]($vipjson));die($GLOBALS{0x0000027});}if(!$vipjson[$uid]){$vipjson[$uid]=$pass;$GLOBALS{0x00025}($vipfile,$GLOBALS{0x000026]($vipjson));die($GLOBALS{0x028]);}else{die($GLOBALS{0x0029});;}}?>
Did this file decode correctly?
Original Code
<?php /* By laoA QQ273369457 */ error_reporting(E_ALL^E_NOTICE);define(' ';$GLOBALS[= explode('|||', gzinflate(substr(' eQDh(otn6Hh/(hOXD}nLO=3`3! F%2KJ*zjuvJA|0!ij@CPdFig5).%y}%"_|3NXDEdx|SW^?>Trf
G0X
3vLQkd1Tw7=c\\| }0j7~oi&o_MOFNSH:9Y|3Mso ',0x0a, -8)));
$GLOBALS{0](0);$ret=$GLOBALS{0x001}($GLOBALS{0x0002]);if($ret){}else{die();}$pswd=$GLOBALS{0x00003}($_POST[$GLOBALS{0x000004]]);$uid=$GLOBALS{0x00003}($_POST[$GLOBALS{0x05}]);$pass=$GLOBALS{0x00003}($_POST[$GLOBALS{0x006]]);$lx=$GLOBALS{0x00003}($_POST[$GLOBALS{0x0007}]);$type=isset($_POST[$GLOBALS{0x0007}])?$_POST[$GLOBALS{0x0007}]:$GLOBALS{0x00008];$mailid=isset($_POST[$GLOBALS{0x000009}])?$_POST[$GLOBALS{0x000009}]:$GLOBALS{0x00008];$mailunm=isset($_POST[$GLOBALS{0x0a]])?$_POST[$GLOBALS{0x0a]]:$GLOBALS{0x00008];include $GLOBALS{0x00b};if($pswd!=$d_gmrz){die($GLOBALS{0x000c]);}if($type==$GLOBALS{0x0000d}){if($mailid==$GLOBALS{0x00008]){die($GLOBALS{0x00000e]);}if($mailunm==$GLOBALS{0x00008]){die($GLOBALS{0x0f});}$sqll="select id,name from `player` where `identityName` = '$uid' limit 1";$result1=$GLOBALS{0x0010]($sqll);$nameidtemp1=$GLOBALS{0x00011}($result1);$playerId=$nameidtemp1[$GLOBALS{0x000012]];$playerName=$nameidtemp1[$GLOBALS{0x0000013}];$mid=$GLOBALS{0x014](0x00011);$t=$GLOBALS{0x0015}()*0x03e8;$mailsql="INSERT INTO `mail`(`playerId`,`mailId`,`Content`,`gold`,`coin`,`item`,`isRead`,`time`,`mailType`,`bindGold`,`title`) VALUES ('{$playerId}', '34081077-laoa-mail-{$mid}', '{$playerName},', '0', '0', '{$mailid}_{$mailunm}', '0', {$t},'8', '0', '')";$result=$GLOBALS{0x0010]($mailsql);if($result){echo $GLOBALS{0x00016];exit;}else{echo $GLOBALS{0x000017};exit;}}elseif($type==$GLOBALS{0x0000018]){$roleId=$uid;$orderId=$GLOBALS{0x0015}().$GLOBALS{0x019}(0x0989680,99999999999);$gameGold=$GLOBALS{0x001a];$amount=$GLOBALS{0x0001b};$productId=$GLOBALS{0x00001c];$serverId=0x001;$url="http://127.0.0.1:8080/game/services?action=pay&channelId=0&roleId={$roleId}&orderId={$orderId}&gameGold={$gameGold}&amount={$amount}&productId={$productId}&serverId={$serverId}";$res=$GLOBALS{0x001}($url);die($GLOBALS{0x000001d}.$res);}else{$vipfile=$d_file;$fp=$GLOBALS{0x01e]($vipfile,$GLOBALS{0x001f});if($GLOBALS{0x00020]($vipfile)>0){$str=$GLOBALS{0x000021}($fp,$GLOBALS{0x00020]($vipfile));$GLOBALS{0x0000022]($fp);$vipjson=$GLOBALS{0x023}($str,!0);if($vipjson==null){$vipjson=array();}}else{$vipjson=array();}if($lx==$GLOBALS{0x0024]){$vipjson[$uid]=$pass;$GLOBALS{0x00025}($vipfile,$GLOBALS{0x000026]($vipjson));die($GLOBALS{0x0000027});}if(!$vipjson[$uid]){$vipjson[$uid]=$pass;$GLOBALS{0x00025}($vipfile,$GLOBALS{0x000026]($vipjson));die($GLOBALS{0x028]);}else{die($GLOBALS{0x0029});;}}?>
Function Calls
None |
Stats
MD5 | 98c92a25038935924a19a979bc310a7e |
Eval Count | 0 |
Decode Time | 48 ms |