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 ${"GLO\x42\x41\x4c\x53"}["\x63\x66\x61\x66\x79\x75n\x76n\x68"]="\x74ok\x65\x6e";${"\..
Decoded Output download
<?php ${"GLOBALS"}["cfafyunvnh"]="token";${"GLOBALS"}["ouiktxdmct"]="idcliente";${"GLOBALS"}["purnvgjxq"]="celular";${"GLOBALS"}["kuyxpduq"]="email";${"GLOBALS"}["qtbsuinqdo"]="nome";${"GLOBALS"}["ummwfmh"]="SQLUPUsuario";${"GLOBALS"}["bhlwtsjdmex"]="eu";${"GLOBALS"}["swelwqegv"]="SQLUser";${"GLOBALS"}["gewpeufjlp"]="login";${"GLOBALS"}["unudrssaq"]="SQLUsuario";${"GLOBALS"}["yrgektt"]="SQLADM";${"GLOBALS"}["xccqyiwez"]="SQLCSSH";${"GLOBALS"}["hmwgncpxgvq"]="senha";${"GLOBALS"}["ipgjqejcm"]="ipdominio";${"GLOBALS"}["jcvknwb"]="accessKEY";require_once("../system/funcoes.php");require_once("../system/seguranca.php");require_once("../system/config.php");require_once("../system/funcoes.system.php");protegePagina("user");if($_POST["segmax"]!==${${"GLOBALS"}["jcvknwb"]}){expulsaVisitante();exit;}if($_POST["ipmax"]!==${${"GLOBALS"}["ipgjqejcm"]}){expulsaVisitante();exit;}if((isset($_POST["login"]))and(isset($_POST["email"]))){$iwxbkrf="login";${"GLOBALS"}["xvsghyzcb"]="nome";$hyppiayqo="SQLUsuario";${"GLOBALS"}["xpljjratlobr"]="idcliente";${"GLOBALS"}["wbpkfrgtkptt"]="email";${$iwxbkrf}=sql_injector($_POST["login"]);${"GLOBALS"}["jjfwukfcitk"]="celular";${${"GLOBALS"}["xvsghyzcb"]}=sql_injector($_POST["nome"]);$kzbckggww="token";${${"GLOBALS"}["wbpkfrgtkptt"]}=sql_injector($_POST["email"]);${${"GLOBALS"}["jjfwukfcitk"]}=sql_injector($_POST["celular"]);${${"GLOBALS"}["hmwgncpxgvq"]}=sql_injector($_POST["senha"]);${"GLOBALS"}["pegmari"]="SQLUsuario";$fhokednwhw="senha";${${"GLOBALS"}["xpljjratlobr"]}=$_POST["idcliente"];${$kzbckggww}=$_POST["tokensecreto"];${"GLOBALS"}["qgczdeeg"]="bancarios";${${"GLOBALS"}["qgczdeeg"]}=$_POST["bancarios"];${${"GLOBALS"}["xccqyiwez"]}="select * from conta_ssh WHERE login = '".$_POST["login"]."' ";${"GLOBALS"}["tdohazhbvj"]="SQLADM";${${"GLOBALS"}["xccqyiwez"]}=$conn->prepare(${${"GLOBALS"}["xccqyiwez"]});$SQLCSSH->execute();if(($SQLCSSH->rowCount())>0){echo myalertuser("warning","O usurio ".$_POST["login"]." j existe!","../../home.php?page=admin/dados");exit;}${${"GLOBALS"}["tdohazhbvj"]}="select * from admin WHERE login = '".$_POST["login"]."' ";${${"GLOBALS"}["yrgektt"]}=$conn->prepare(${${"GLOBALS"}["yrgektt"]});$SQLADM->execute();if(($SQLADM->rowCount())>0){echo myalertuser("warning","O usurio ".$_POST["login"]." j existe!","../../home.php?page=admin/dados");exit;}if(strlen(${$fhokednwhw})<5){echo myalertuser("error","Senha muito curta!","../../home.php?page=admin/dados");exit;}${$hyppiayqo}="SELECT * FROM usuario WHERE id_usuario = '".$_SESSION["usuarioID"]."'";${${"GLOBALS"}["pegmari"]}=$conn->prepare(${${"GLOBALS"}["unudrssaq"]});$SQLUsuario->execute();if(($SQLUsuario->rowCount())>0){${"GLOBALS"}["oknnbjxby"]="eu";${${"GLOBALS"}["oknnbjxby"]}=$SQLUsuario->fetch();${"GLOBALS"}["gjmmydqus"]="eu";if(${${"GLOBALS"}["gewpeufjlp"]}!==${${"GLOBALS"}["gjmmydqus"]}["login"]){$inirlw="SQLUser";${"GLOBALS"}["qiwduqzynp"]="SQLUser";${${"GLOBALS"}["qiwduqzynp"]}="select * from usuario WHERE login = '".$_POST["login"]."' ";${${"GLOBALS"}["swelwqegv"]}=$conn->prepare(${$inirlw});$SQLUser->execute();if(($SQLUser->rowCount())>0){echo myalertuser("warning","O usurio ".$_POST["login"]." j existe!","../../home.php?page=admin/dados");exit;}}if(${${"GLOBALS"}["bhlwtsjdmex"]}["tipo"]=="revenda"){${"GLOBALS"}["ogvwbb"]="senha";$ttieqgbruy="bancarios";${${"GLOBALS"}["ummwfmh"]}="update usuario set nome='".${${"GLOBALS"}["qtbsuinqdo"]}."', login='".${${"GLOBALS"}["gewpeufjlp"]}."', email='".${${"GLOBALS"}["kuyxpduq"]}."', celular='".${${"GLOBALS"}["purnvgjxq"]}."', senha='".${${"GLOBALS"}["ogvwbb"]}."', idcliente_mp='".${${"GLOBALS"}["ouiktxdmct"]}."', accesstoken='".${${"GLOBALS"}["cfafyunvnh"]}."', dadosdeposito='".${$ttieqgbruy}."', atualiza_dados='1' WHERE id_usuario = '".$_SESSION["usuarioID"]."'";${${"GLOBALS"}["ummwfmh"]}=$conn->prepare(${${"GLOBALS"}["ummwfmh"]});$SQLUPUsuario->execute();}else{${"GLOBALS"}["fykxlymsk"]="nome";${"GLOBALS"}["trninstuvjx"]="SQLUPUsuario";${${"GLOBALS"}["ummwfmh"]}="update usuario set nome='".${${"GLOBALS"}["fykxlymsk"]}."', login='".${${"GLOBALS"}["gewpeufjlp"]}."', email='".${${"GLOBALS"}["kuyxpduq"]}."', celular='".${${"GLOBALS"}["purnvgjxq"]}."', senha='".${${"GLOBALS"}["hmwgncpxgvq"]}."', atualiza_dados='1' WHERE id_usuario = '".$_SESSION["usuarioID"]."'";${${"GLOBALS"}["trninstuvjx"]}=$conn->prepare(${${"GLOBALS"}["ummwfmh"]});$SQLUPUsuario->execute();}echo myalertuser("success","Alterado com sucesso !","../../home.php?page=admin/dados");}else{echo myalertuser("error","Erro !","../../home.php?page=admin/dados");}}else{echo myalertuser("error","Erro !","../../home.php?page=admin/dados");}
?>
Did this file decode correctly?
Original Code
<?php ${"GLO\x42\x41\x4c\x53"}["\x63\x66\x61\x66\x79\x75n\x76n\x68"]="\x74ok\x65\x6e";${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6f\x75ik\x74\x78dm\x63t"]="\x69\x64c\x6c\x69\x65\x6e\x74e";${"\x47\x4cO\x42\x41LS"}["p\x75\x72\x6e\x76\x67jxq"]="\x63\x65\x6c\x75\x6c\x61r";${"G\x4c\x4f\x42AL\x53"}["\x6b\x75y\x78\x70\x64\x75\x71"]="e\x6d\x61\x69l";${"\x47LO\x42\x41\x4c\x53"}["\x71\x74bs\x75in\x71\x64o"]="nom\x65";${"\x47LOBA\x4c\x53"}["\x75\x6d\x6d\x77f\x6dh"]="\x53\x51\x4c\x55P\x55\x73\x75\x61\x72io";${"\x47\x4c\x4fB\x41L\x53"}["\x62hl\x77\x74\x73jd\x6d\x65\x78"]="\x65\x75";${"\x47\x4cO\x42A\x4c\x53"}["s\x77\x65\x6c\x77qe\x67\x76"]="S\x51\x4c\x55s\x65\x72";${"\x47L\x4f\x42\x41\x4c\x53"}["\x67e\x77\x70e\x75\x66\x6al\x70"]="\x6c\x6fgi\x6e";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75\x6e\x75\x64\x72\x73\x73\x61\x71"]="\x53\x51\x4cUsu\x61\x72\x69o";${"G\x4cO\x42A\x4c\x53"}["y\x72\x67\x65\x6b\x74\x74"]="\x53Q\x4c\x41\x44M";${"\x47L\x4f\x42\x41\x4c\x53"}["\x78c\x63qyi\x77e\x7a"]="SQ\x4c\x43\x53S\x48";${"\x47LOB\x41L\x53"}["h\x6dw\x67n\x63px\x67\x76\x71"]="s\x65n\x68a";${"GL\x4f\x42\x41L\x53"}["\x69\x70\x67\x6aq\x65\x6ac\x6d"]="i\x70\x64o\x6d\x69\x6e\x69\x6f";${"\x47\x4cO\x42\x41\x4c\x53"}["jcvknwb"]="\x61\x63\x63e\x73sK\x45\x59";require_once(".\x2e/\x73y\x73\x74e\x6d/fu\x6ec\x6f\x65\x73\x2ep\x68\x70");require_once("../syst\x65\x6d/\x73\x65\x67\x75r\x61n\x63a.php");require_once(".\x2e/sys\x74e\x6d/co\x6efi\x67.p\x68\x70");require_once("../sy\x73tem/fu\x6e\x63\x6f\x65\x73\x2esystem.\x70\x68\x70");protegePagina("\x75\x73\x65r");if($_POST["\x73e\x67\x6dax"]!==${${"GL\x4fBAL\x53"}["\x6a\x63\x76\x6b\x6ew\x62"]}){expulsaVisitante();exit;}if($_POST["i\x70ma\x78"]!==${${"\x47\x4c\x4f\x42\x41L\x53"}["\x69\x70g\x6aqe\x6ac\x6d"]}){expulsaVisitante();exit;}if((isset($_POST["l\x6fg\x69\x6e"]))and(isset($_POST["em\x61i\x6c"]))){$iwxbkrf="l\x6fgi\x6e";${"\x47\x4c\x4fB\x41\x4c\x53"}["x\x76\x73\x67\x68y\x7a\x63\x62"]="n\x6f\x6d\x65";$hyppiayqo="S\x51\x4c\x55sua\x72\x69o";${"G\x4c\x4f\x42\x41L\x53"}["\x78\x70\x6cjj\x72\x61\x74\x6c\x6f\x62\x72"]="\x69\x64cl\x69\x65\x6e\x74\x65";${"G\x4c\x4f\x42\x41LS"}["\x77\x62p\x6bf\x72g\x74\x6b\x70\x74t"]="\x65\x6da\x69\x6c";${$iwxbkrf}=sql_injector($_POST["lo\x67\x69\x6e"]);${"G\x4c\x4f\x42\x41L\x53"}["j\x6a\x66w\x75\x6bf\x63itk"]="c\x65\x6c\x75\x6ca\x72";${${"\x47\x4c\x4fB\x41\x4cS"}["\x78\x76s\x67\x68y\x7a\x63b"]}=sql_injector($_POST["\x6eome"]);$kzbckggww="t\x6f\x6b\x65\x6e";${${"\x47\x4c\x4f\x42\x41LS"}["\x77\x62\x70\x6b\x66r\x67t\x6b\x70\x74\x74"]}=sql_injector($_POST["emai\x6c"]);${${"\x47\x4cO\x42\x41\x4c\x53"}["\x6a\x6af\x77\x75\x6b\x66\x63i\x74\x6b"]}=sql_injector($_POST["\x63\x65\x6c\x75\x6ca\x72"]);${${"\x47L\x4f\x42A\x4c\x53"}["h\x6d\x77\x67nc\x70\x78\x67\x76q"]}=sql_injector($_POST["senh\x61"]);${"\x47\x4c\x4f\x42AL\x53"}["p\x65\x67mari"]="\x53\x51\x4cU\x73\x75a\x72i\x6f";$fhokednwhw="\x73\x65\x6e\x68\x61";${${"G\x4c\x4fB\x41\x4c\x53"}["\x78\x70\x6c\x6a\x6a\x72\x61\x74\x6c\x6f\x62r"]}=$_POST["i\x64\x63l\x69\x65\x6et\x65"];${$kzbckggww}=$_POST["\x74o\x6b\x65n\x73\x65\x63r\x65to"];${"\x47L\x4fB\x41L\x53"}["qgcz\x64\x65\x65\x67"]="\x62a\x6e\x63ari\x6fs";${${"\x47\x4c\x4fBAL\x53"}["\x71\x67cz\x64\x65e\x67"]}=$_POST["b\x61\x6e\x63\x61\x72\x69os"];${${"GL\x4f\x42A\x4c\x53"}["xc\x63qy\x69\x77\x65\x7a"]}="s\x65\x6c\x65ct *\x20\x66\x72om \x63o\x6et\x61_\x73sh\x20\x57\x48\x45R\x45\x20logi\x6e\x20=\x20\x27".$_POST["\x6c\x6fg\x69n"]."\x27 ";${"\x47\x4c\x4f\x42A\x4cS"}["\x74d\x6f\x68a\x7a\x68\x62\x76\x6a"]="\x53\x51\x4c\x41\x44M";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x78c\x63\x71yiw\x65\x7a"]}=$conn->prepare(${${"\x47\x4c\x4f\x42A\x4cS"}["\x78cc\x71y\x69w\x65\x7a"]});$SQLCSSH->execute();if(($SQLCSSH->rowCount())>0){echo myalertuser("w\x61\x72n\x69n\x67","\x4f u\x73\x75rio\x20".$_POST["\x6c\x6fg\x69\x6e"]."\x20j e\x78\x69\x73t\x65!","../../\x68o\x6d\x65.p\x68p?\x70\x61\x67e\x3d\x61\x64m\x69n/da\x64o\x73");exit;}${${"\x47\x4cOB\x41\x4cS"}["\x74\x64\x6f\x68\x61z\x68\x62vj"]}="\x73el\x65c\x74\x20* fr\x6fm\x20a\x64\x6d\x69\x6e\x20W\x48E\x52E\x20\x6co\x67\x69\x6e =\x20'".$_POST["l\x6f\x67\x69\x6e"]."\x27 ";${${"G\x4c\x4fBALS"}["\x79r\x67\x65\x6bt\x74"]}=$conn->prepare(${${"G\x4c\x4f\x42AL\x53"}["y\x72\x67\x65\x6b\x74\x74"]});$SQLADM->execute();if(($SQLADM->rowCount())>0){echo myalertuser("\x77a\x72n\x69n\x67","\x4f usur\x69\x6f\x20".$_POST["\x6cogi\x6e"]."\x20\x6a\x20\x65xi\x73te\x21","../\x2e./home.ph\x70?p\x61g\x65\x3d\x61\x64m\x69n/d\x61\x64os");exit;}if(strlen(${$fhokednwhw})<5){echo myalertuser("e\x72\x72o\x72","S\x65\x6eha\x20m\x75it\x6f cur\x74\x61!","\x2e./\x2e\x2e/h\x6fme\x2eph\x70?\x70\x61\x67\x65=\x61d\x6d\x69n/\x64ad\x6fs");exit;}${$hyppiayqo}="SELE\x43\x54 *\x20FR\x4f\x4d\x20u\x73\x75ari\x6f\x20\x57H\x45RE\x20\x69d_\x75s\x75ario\x20= \x27".$_SESSION["\x75\x73\x75\x61rio\x49D"]."'";${${"\x47\x4c\x4f\x42A\x4c\x53"}["p\x65\x67ma\x72\x69"]}=$conn->prepare(${${"\x47L\x4fBAL\x53"}["\x75\x6e\x75\x64r\x73\x73\x61\x71"]});$SQLUsuario->execute();if(($SQLUsuario->rowCount())>0){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["o\x6bn\x6e\x62jx\x62y"]="\x65u";${${"\x47\x4c\x4fB\x41LS"}["okn\x6eb\x6a\x78\x62\x79"]}=$SQLUsuario->fetch();${"\x47\x4cO\x42\x41L\x53"}["\x67\x6a\x6dmyd\x71u\x73"]="eu";if(${${"G\x4c\x4f\x42\x41\x4c\x53"}["g\x65w\x70\x65\x75fj\x6c\x70"]}!==${${"G\x4c\x4fB\x41L\x53"}["\x67\x6a\x6d\x6dyd\x71\x75\x73"]}["l\x6fgin"]){$inirlw="S\x51\x4c\x55s\x65\x72";${"\x47L\x4f\x42A\x4c\x53"}["\x71\x69\x77\x64\x75\x71\x7a\x79\x6e\x70"]="\x53\x51LUse\x72";${${"\x47L\x4f\x42AL\x53"}["\x71\x69\x77\x64uq\x7a\x79n\x70"]}="s\x65\x6ce\x63t\x20*\x20fr\x6fm \x75s\x75a\x72i\x6f \x57H\x45R\x45\x20\x6cog\x69\x6e\x20= '".$_POST["l\x6fgi\x6e"]."'\x20";${${"\x47\x4c\x4fBALS"}["\x73w\x65l\x77\x71\x65g\x76"]}=$conn->prepare(${$inirlw});$SQLUser->execute();if(($SQLUser->rowCount())>0){echo myalertuser("\x77a\x72n\x69\x6e\x67","\x4f \x75\x73\x75r\x69o ".$_POST["\x6c\x6f\x67i\x6e"]."\x20j exis\x74e\x21","../\x2e\x2e/h\x6fm\x65.\x70h\x70?page\x3da\x64mi\x6e/d\x61\x64o\x73");exit;}}if(${${"G\x4c\x4f\x42AL\x53"}["\x62\x68\x6c\x77\x74\x73\x6a\x64mex"]}["\x74\x69p\x6f"]=="\x72ev\x65\x6ed\x61"){${"GLOB\x41\x4c\x53"}["o\x67\x76\x77\x62\x62"]="\x73e\x6e\x68\x61";$ttieqgbruy="b\x61n\x63a\x72ios";${${"\x47L\x4f\x42\x41\x4c\x53"}["\x75\x6d\x6dwf\x6dh"]}="u\x70d\x61te\x20usua\x72io \x73\x65\x74\x20\x6eo\x6de='".${${"G\x4c\x4f\x42\x41L\x53"}["q\x74bs\x75\x69n\x71\x64o"]}."', \x6co\x67\x69\x6e\x3d\x27".${${"\x47\x4c\x4fB\x41\x4c\x53"}["gew\x70\x65\x75\x66\x6alp"]}."', e\x6da\x69l\x3d'".${${"GL\x4f\x42\x41\x4cS"}["\x6b\x75\x79x\x70\x64\x75q"]}."',\x20\x63\x65lu\x6c\x61\x72\x3d'".${${"GL\x4f\x42\x41\x4c\x53"}["p\x75\x72\x6e\x76\x67\x6a\x78\x71"]}."\x27,\x20\x73\x65n\x68a=\x27".${${"\x47LO\x42A\x4c\x53"}["\x6f\x67\x76\x77\x62b"]}."\x27,\x20i\x64c\x6c\x69\x65\x6e\x74\x65\x5f\x6d\x70\x3d'".${${"G\x4cO\x42\x41\x4c\x53"}["o\x75ik\x74\x78\x64mct"]}."',\x20\x61c\x63es\x73\x74o\x6b\x65\x6e\x3d'".${${"\x47\x4c\x4f\x42\x41LS"}["c\x66\x61\x66\x79\x75nv\x6e\x68"]}."',\x20\x64\x61\x64\x6fs\x64e\x70o\x73ito='".${$ttieqgbruy}."', \x61tu\x61\x6ciz\x61\x5f\x64ados=\x27\x31\x27\x20\x57H\x45\x52E id\x5fu\x73\x75\x61r\x69\x6f\x20=\x20'".$_SESSION["\x75s\x75\x61\x72io\x49\x44"]."'";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x75mm\x77\x66\x6dh"]}=$conn->prepare(${${"\x47\x4c\x4fB\x41L\x53"}["\x75\x6dmw\x66\x6d\x68"]});$SQLUPUsuario->execute();}else{${"\x47L\x4f\x42ALS"}["\x66yk\x78\x6cy\x6d\x73k"]="\x6e\x6f\x6de";${"\x47\x4cO\x42A\x4c\x53"}["\x74\x72ni\x6es\x74\x75\x76j\x78"]="S\x51\x4c\x55\x50\x55\x73\x75a\x72\x69\x6f";${${"\x47\x4cO\x42A\x4c\x53"}["\x75m\x6d\x77f\x6dh"]}="\x75p\x64\x61\x74e u\x73\x75\x61r\x69o\x20set \x6eo\x6de\x3d\x27".${${"GL\x4fB\x41L\x53"}["fy\x6b\x78l\x79m\x73\x6b"]}."\x27,\x20\x6c\x6f\x67\x69\x6e\x3d\x27".${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x67\x65\x77\x70\x65\x75\x66j\x6cp"]}."\x27, em\x61il='".${${"GLOBA\x4c\x53"}["k\x75yx\x70d\x75\x71"]}."', c\x65\x6c\x75la\x72='".${${"\x47\x4cO\x42\x41\x4c\x53"}["p\x75rnv\x67jxq"]}."\x27,\x20sen\x68a\x3d'".${${"\x47\x4c\x4fBA\x4c\x53"}["h\x6dw\x67\x6e\x63p\x78\x67\x76\x71"]}."\x27,\x20a\x74\x75\x61liz\x61\x5f\x64ados=\x27\x31\x27 \x57\x48ER\x45\x20id\x5f\x75\x73ua\x72\x69\x6f\x20\x3d \x27".$_SESSION["u\x73ua\x72\x69oID"]."\x27";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x74\x72\x6e\x69n\x73\x74\x75\x76jx"]}=$conn->prepare(${${"G\x4c\x4f\x42\x41\x4cS"}["\x75mm\x77\x66mh"]});$SQLUPUsuario->execute();}echo myalertuser("\x73ucce\x73s","A\x6cterado\x20\x63\x6fm\x20s\x75ces\x73o\x20!","\x2e\x2e/\x2e./\x68o\x6d\x65.\x70\x68p?p\x61\x67\x65=ad\x6din/d\x61\x64os");}else{echo myalertuser("\x65\x72r\x6f\x72","\x45r\x72\x6f\x20\x21","../../\x68om\x65.ph\x70?p\x61g\x65=admin/\x64\x61\x64\x6fs");}}else{echo myalertuser("\x65r\x72or","\x45\x72\x72o\x20\x21","../.\x2e/\x68o\x6de\x2eph\x70?page=adm\x69\x6e/d\x61\x64os");}
?>
Function Calls
None |
Stats
MD5 | 58b2aa58084f880982ec9b9131dc8e58 |
Eval Count | 0 |
Decode Time | 69 ms |