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 ${"\x47\x4cOB\x41L\x53"}["puf\x78rs"]="c\x68\x61\x76i\x70n\x61me";${"\x47\x4cO\x42\x..
Decoded Output download
<?php ${"GLOBALS"}["pufxrs"]="chavipname";${"GLOBALS"}["snnewsvby"]="vip";${"GLOBALS"}["ekvwszaf"]="UserPoint";${"GLOBALS"}["gubrfv"]="UserNumver";${"GLOBALS"}["fgxfhpo"]="sel2";${"GLOBALS"}["kyqdjrr"]="row1";${"GLOBALS"}["wgltrocms"]="VIPNameex";${"GLOBALS"}["cnzznsyl"]="ChaOnline";${"GLOBALS"}["mdkeuixnogve"]="ChaName";${"GLOBALS"}["dwffgogmmqac"]="row";${"GLOBALS"}["zifdohwuxv"]="sel1";$eartwge="decrypted1";$ekboen="decrypted1";${"GLOBALS"}["pyjkaxv"]="sel";${"GLOBALS"}["cwnesbymbbyi"]="ChaNum";$qjyozktwiat="sel";${"GLOBALS"}["kvnlgorugyr"]="unt";${"GLOBALS"}["sutrnx"]="unt";include_once("root.inc.php");if(!isset($_SESSION["auth_user"])){header("Location: member.php?do=login");}${${"GLOBALS"}["cwnesbymbbyi"]}=$_GET["ChaID"];${$qjyozktwiat}=mssql_query("SELECT * from RanUser.dbo.UserInfo where UserNum = '258' ");${${"GLOBALS"}["kvnlgorugyr"]}=mssql_fetch_array(${${"GLOBALS"}["pyjkaxv"]});${$ekboen}=${${"GLOBALS"}["sutrnx"]}["UserName"];if(${$eartwge}=="untitled"){${"GLOBALS"}["txdqdfqhfx"]="sessionver";${${"GLOBALS"}["zifdohwuxv"]}=mssql_query("SELECT * from RanGame1.dbo.ChaInfo where ChaNum = '$ChaNum'");${"GLOBALS"}["yqhgumtkhqpr"]="row";${"GLOBALS"}["fcyfnftjkq"]="UserNumsec";$nmgkwjf="UserNumver";${"GLOBALS"}["qgzsljjp"]="UserNumsec";${${"GLOBALS"}["dwffgogmmqac"]}=mssql_fetch_array(${${"GLOBALS"}["zifdohwuxv"]});$tiolvviyu="row";$otkfeupwctj="row";${${"GLOBALS"}["qgzsljjp"]}=${${"GLOBALS"}["yqhgumtkhqpr"]}["UserNum"];${${"GLOBALS"}["mdkeuixnogve"]}=${$otkfeupwctj}["ChaName"];$timmjsttwwu="row1";${${"GLOBALS"}["cnzznsyl"]}=${$tiolvviyu}["ChaOnline"];$gyvsbpjs="sel2";${${"GLOBALS"}["wgltrocms"]}=${${"GLOBALS"}["dwffgogmmqac"]}["VIPName"];${${"GLOBALS"}["txdqdfqhfx"]}=$_SESSION["auth_user"];${$gyvsbpjs}=mssql_query("SELECT * from RanUser.dbo.UserInfo where UserName = '$sessionver'");${${"GLOBALS"}["kyqdjrr"]}=mssql_fetch_array(${${"GLOBALS"}["fgxfhpo"]});${${"GLOBALS"}["gubrfv"]}=${${"GLOBALS"}["kyqdjrr"]}["UserNum"];${${"GLOBALS"}["ekvwszaf"]}=${$timmjsttwwu}["UserPoint"];if(${$nmgkwjf}==${${"GLOBALS"}["fcyfnftjkq"]}){if(${${"GLOBALS"}["wgltrocms"]}==""){$gnngsgpvubu="UserPoint";if(${$gnngsgpvubu}>=30000){if(${${"GLOBALS"}["cnzznsyl"]}==0){${${"GLOBALS"}["snnewsvby"]}="[VIP]";${${"GLOBALS"}["pufxrs"]}=${${"GLOBALS"}["snnewsvby"]}.${${"GLOBALS"}["mdkeuixnogve"]};mssql_query("UPDATE RanGame1.dbo.ChaInfo SET ChaName = '$chavipname' WHERE ChaNum='$ChaNum'");mssql_query("UPDATE RanUser.dbo.UserInfo SET UserPoint= UserPoint - 30000 WHERE UserNum='$UserNumsec'");mssql_query("UPDATE RanGame1.dbo.ChaInfo SET VIPName= 1 WHERE ChaNum='$ChaNum'");echo"<script>alert(\"Success! VIP Name Activated."); window.location.href = \"changevipname.php\";</script>";}else{echo"<script>alert("Error! Character must be offline.\"); window.location.href = "changevipname.php";</script>";}}else{echo"<script>alert(\"Error! Your Points Not enough.\"); window.location.href = "changevipname.php";</script>";}}else{echo"<script>alert("Error! Your character already VIP.\"); window.location.href = \"changevipname.php\";</script>";}}else{header("Location: errorPage.php");}}else{header("Location: errorPage.php");}
?>
Did this file decode correctly?
Original Code
<?php ${"\x47\x4cOB\x41L\x53"}["puf\x78rs"]="c\x68\x61\x76i\x70n\x61me";${"\x47\x4cO\x42\x41LS"}["\x73\x6ene\x77\x73\x76\x62\x79"]="v\x69\x70";${"G\x4cO\x42A\x4c\x53"}["\x65k\x76\x77\x73\x7aaf"]="U\x73\x65r\x50\x6fi\x6et";${"G\x4cO\x42A\x4cS"}["\x67\x75\x62\x72fv"]="U\x73er\x4eumv\x65\x72";${"G\x4c\x4fB\x41\x4c\x53"}["\x66\x67\x78\x66\x68\x70o"]="s\x65l2";${"G\x4c\x4fB\x41\x4cS"}["ky\x71\x64\x6a\x72r"]="r\x6f\x771";${"G\x4c\x4f\x42\x41LS"}["\x77g\x6c\x74r\x6f\x63m\x73"]="\x56IP\x4ea\x6de\x65x";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x63n\x7a\x7a\x6e\x73\x79\x6c"]="\x43h\x61\x4f\x6e\x6c\x69\x6e\x65";${"\x47\x4c\x4fBA\x4cS"}["\x6d\x64\x6b\x65u\x69\x78n\x6f\x67v\x65"]="\x43\x68\x61\x4e\x61\x6d\x65";${"\x47L\x4f\x42\x41\x4cS"}["\x64\x77\x66\x66\x67\x6f\x67\x6d\x6d\x71a\x63"]="r\x6fw";${"GLO\x42\x41L\x53"}["\x7aifdohwu\x78v"]="\x73\x65\x6c\x31";$eartwge="\x64\x65\x63r\x79\x70t\x65d\x31";$ekboen="d\x65\x63r\x79p\x74e\x641";${"GLOBA\x4cS"}["p\x79\x6ak\x61\x78\x76"]="\x73el";${"\x47\x4c\x4fB\x41L\x53"}["c\x77\x6e\x65\x73\x62\x79m\x62by\x69"]="\x43\x68aNum";$qjyozktwiat="s\x65l";${"GL\x4f\x42AL\x53"}["k\x76\x6e\x6cg\x6f\x72u\x67\x79\x72"]="\x75\x6e\x74";${"\x47\x4cOB\x41L\x53"}["sut\x72\x6e\x78"]="u\x6e\x74";include_once("\x72oot.\x69nc\x2ephp");if(!isset($_SESSION["au\x74\x68\x5f\x75se\x72"])){header("\x4c\x6f\x63\x61t\x69\x6fn: \x6de\x6d\x62\x65r\x2e\x70hp?do\x3d\x6c\x6fg\x69n");}${${"\x47L\x4f\x42AL\x53"}["c\x77\x6ee\x73\x62y\x6d\x62\x62y\x69"]}=$_GET["\x43\x68aI\x44"];${$qjyozktwiat}=mssql_query("SEL\x45\x43\x54\x20* f\x72om R\x61nUse\x72\x2edbo.\x55s\x65r\x49n\x66\x6f \x77\x68ere\x20\x55\x73e\x72\x4eu\x6d\x20= \x272\x358\x27 ");${${"G\x4c\x4f\x42\x41\x4cS"}["k\x76\x6e\x6cg\x6f\x72\x75\x67\x79\x72"]}=mssql_fetch_array(${${"\x47\x4c\x4fBA\x4c\x53"}["\x70\x79\x6a\x6ba\x78\x76"]});${$ekboen}=${${"\x47L\x4f\x42A\x4cS"}["s\x75\x74r\x6e\x78"]}["U\x73\x65\x72\x4e\x61\x6d\x65"];if(${$eartwge}=="\x75n\x74\x69\x74led"){${"\x47\x4c\x4f\x42A\x4c\x53"}["\x74\x78\x64\x71\x64\x66\x71\x68\x66\x78"]="s\x65s\x73i\x6f\x6ev\x65\x72";${${"GLOB\x41\x4cS"}["\x7ai\x66\x64\x6fhwuxv"]}=mssql_query("S\x45L\x45\x43T\x20*\x20from \x52an\x47ame1.d\x62\x6f\x2e\x43h\x61In\x66o wh\x65re\x20\x43\x68\x61\x4e\x75\x6d\x20= \x27$ChaNum\x27");${"\x47L\x4fBA\x4c\x53"}["yq\x68g\x75\x6d\x74\x6b\x68\x71\x70\x72"]="\x72o\x77";${"G\x4cO\x42A\x4cS"}["\x66c\x79\x66\x6eftj\x6bq"]="\x55\x73e\x72\x4eums\x65\x63";$nmgkwjf="U\x73\x65\x72Nu\x6d\x76\x65\x72";${"\x47\x4c\x4f\x42ALS"}["\x71\x67z\x73\x6cjj\x70"]="\x55s\x65\x72N\x75\x6d\x73e\x63";${${"\x47\x4cO\x42A\x4cS"}["d\x77\x66f\x67\x6f\x67\x6d\x6d\x71\x61\x63"]}=mssql_fetch_array(${${"\x47L\x4f\x42A\x4c\x53"}["\x7a\x69\x66d\x6f\x68\x77uxv"]});$tiolvviyu="\x72\x6fw";$otkfeupwctj="\x72\x6f\x77";${${"\x47\x4c\x4f\x42A\x4c\x53"}["q\x67z\x73\x6c\x6aj\x70"]}=${${"\x47\x4cO\x42\x41\x4cS"}["\x79\x71\x68\x67u\x6d\x74\x6b\x68\x71\x70\x72"]}["\x55se\x72\x4e\x75m"];${${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6d\x64\x6b\x65\x75\x69xno\x67v\x65"]}=${$otkfeupwctj}["\x43h\x61Na\x6de"];$timmjsttwwu="\x72ow\x31";${${"GL\x4f\x42A\x4c\x53"}["\x63\x6e\x7a\x7ans\x79\x6c"]}=${$tiolvviyu}["C\x68a\x4fn\x6c\x69n\x65"];$gyvsbpjs="\x73\x65\x6c\x32";${${"GLO\x42\x41\x4cS"}["wg\x6c\x74\x72\x6f\x63m\x73"]}=${${"G\x4cO\x42\x41L\x53"}["dw\x66fg\x6f\x67\x6d\x6d\x71\x61c"]}["\x56IP\x4e\x61me"];${${"\x47\x4c\x4f\x42\x41LS"}["\x74\x78\x64\x71\x64\x66\x71\x68\x66x"]}=$_SESSION["\x61ut\x68\x5fuser"];${$gyvsbpjs}=mssql_query("SEL\x45\x43\x54 *\x20\x66\x72om\x20Ra\x6eU\x73e\x72\x2edb\x6f.Us\x65\x72\x49n\x66\x6f\x20wh\x65\x72\x65\x20Use\x72\x4ea\x6de =\x20\x27$sessionver'");${${"\x47\x4cOB\x41\x4c\x53"}["\x6b\x79\x71\x64\x6ar\x72"]}=mssql_fetch_array(${${"\x47LO\x42\x41L\x53"}["\x66\x67\x78\x66h\x70o"]});${${"GLO\x42\x41L\x53"}["\x67\x75\x62\x72\x66\x76"]}=${${"G\x4cO\x42\x41\x4c\x53"}["kyq\x64j\x72\x72"]}["\x55s\x65r\x4e\x75\x6d"];${${"\x47L\x4f\x42\x41\x4cS"}["\x65\x6b\x76\x77s\x7aa\x66"]}=${$timmjsttwwu}["\x55se\x72\x50\x6f\x69\x6et"];if(${$nmgkwjf}==${${"\x47\x4cO\x42\x41L\x53"}["\x66\x63\x79fnf\x74jkq"]}){if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x77\x67\x6c\x74\x72\x6fcm\x73"]}==""){$gnngsgpvubu="U\x73e\x72Po\x69\x6e\x74";if(${$gnngsgpvubu}>=30000){if(${${"GLO\x42A\x4cS"}["\x63n\x7a\x7a\x6es\x79\x6c"]}==0){${${"GLOB\x41\x4c\x53"}["\x73n\x6e\x65\x77\x73\x76b\x79"]}="[\x56\x49P]";${${"\x47L\x4f\x42\x41\x4cS"}["\x70\x75\x66\x78\x72s"]}=${${"\x47\x4c\x4fBA\x4cS"}["\x73n\x6e\x65\x77\x73\x76b\x79"]}.${${"GL\x4fB\x41\x4cS"}["\x6dd\x6b\x65ui\x78\x6e\x6fgv\x65"]};mssql_query("\x55P\x44A\x54\x45\x20\x52\x61\x6e\x47\x61m\x651\x2e\x64\x62o\x2e\x43haInfo\x20S\x45\x54 \x43haNam\x65 = '$chavipname'\x20\x57H\x45R\x45 C\x68\x61\x4eu\x6d\x3d\x27$ChaNum\x27");mssql_query("U\x50\x44A\x54E\x20R\x61nUs\x65r\x2e\x64bo.\x55\x73\x65rI\x6e\x66o SE\x54 U\x73erP\x6f\x69\x6e\x74=\x20U\x73erPoin\x74 -\x20\x33\x300\x30\x30\x20W\x48E\x52\x45 U\x73e\x72\x4e\x75m\x3d'$UserNumsec'");mssql_query("U\x50D\x41\x54\x45 \x52\x61n\x47am\x651.\x64bo.\x43\x68aInf\x6f\x20\x53\x45\x54\x20\x56\x49P\x4e\x61\x6d\x65\x3d\x20\x31 WHE\x52\x45 \x43\x68\x61N\x75m='$ChaNum\x27");echo"<\x73\x63\x72i\x70t\x3e\x61l\x65\x72t(\"\x53ucc\x65s\x73!\x20VI\x50\x20\x4ea\x6d\x65\x20\x41ct\x69\x76\x61\x74ed\x2e\x22);\x20wi\x6edow.\x6coca\x74\x69on.h\x72\x65f\x20= \"c\x68an\x67\x65vi\x70n\x61\x6d\x65\x2ep\x68p\";\x3c/\x73\x63\x72\x69\x70\x74\x3e";}else{echo"<\x73\x63\x72i\x70t>\x61l\x65r\x74(\x22\x45\x72ror\x21 \x43h\x61r\x61c\x74\x65\x72\x20m\x75\x73t b\x65 \x6f\x66\x66li\x6e\x65.\")\x3b \x77\x69n\x64o\x77\x2eloc\x61\x74\x69o\x6e.href =\x20\x22\x63h\x61ng\x65\x76\x69\x70n\x61me.ph\x70\x22\x3b\x3c/s\x63r\x69\x70t>";}}else{echo"\x3c\x73cr\x69\x70\x74\x3ea\x6ce\x72t(\"\x45\x72\x72\x6fr! Yo\x75\x72 Points\x20\x4e\x6ft \x65\x6eo\x75\x67h\x2e\"); wind\x6fw\x2el\x6f\x63at\x69\x6f\x6e\x2eh\x72ef =\x20\x22\x63\x68an\x67e\x76\x69p\x6eame\x2eph\x70\x22;</\x73\x63r\x69\x70t\x3e";}}else{echo"\x3cs\x63r\x69\x70\x74\x3ea\x6c\x65r\x74(\x22Erro\x72! \x59o\x75r c\x68\x61ra\x63\x74er \x61l\x72\x65ad\x79\x20V\x49P.\");\x20\x77\x69nd\x6f\x77\x2el\x6f\x63ation.\x68\x72e\x66\x20= \"\x63h\x61ng\x65\x76i\x70\x6e\x61me.\x70h\x70\";</scr\x69pt>";}}else{header("\x4coc\x61t\x69\x6fn: err\x6f\x72\x50age\x2ep\x68p");}}else{header("L\x6f\x63a\x74\x69o\x6e:\x20er\x72\x6frP\x61\x67e.p\x68p");}
?>
Function Calls
| None |
Stats
| MD5 | 5807a7c42b2e43a63e6ad44418201042 |
| Eval Count | 0 |
| Decode Time | 110 ms |