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\x4c\x4f\x42\x41\x4c\x53"}["\x61sd\x63\x74nln\x69\x79\x76"]="u\x70\x64a\x74e\..

Decoded Output download

<?php ${"GLOBALS"}["asdctnlniyv"]="updatesenha";${"GLOBALS"}["kkbdbls"]="senhanew";${"GLOBALS"}["vvxpdpwds"]="senhaat";${"GLOBALS"}["wrvgjxywyi"]="SQLADM";${"GLOBALS"}["kxuiawu"]="euadm";${"GLOBALS"}["ahoqjbsp"]="SQLUser";${"GLOBALS"}["uxebgnwk"]="SQLCSSH";${"GLOBALS"}["nmcdwxs"]="SQLUsuario";${"GLOBALS"}["mrajhkq"]="textorev";${"GLOBALS"}["omcquxsco"]="email";${"GLOBALS"}["xxfeadpm"]="celular";${"GLOBALS"}["idtdyswz"]="nome";${"GLOBALS"}["bdhbfcuzrbbg"]="ipdominio";require_once("../../../pages/system/seguranca.php");require_once("../../../pages/system/config.php");require_once("../../../pages/system/funcoes.system.php");$xhnproespwsc="accessKEY";protegePagina("donoadmin");if($_POST["segmax"]!==${$xhnproespwsc}){expulsaVisitante();exit;}if($_POST["ipmax"]!==${${"GLOBALS"}["bdhbfcuzrbbg"]}){expulsaVisitante();exit;}if((isset($_POST["nome"]))and(isset($_POST["email"]))and(isset($_POST["idusuario"]))){$wvcsdle="login";$rkgryzqy="senhaat";${${"GLOBALS"}["idtdyswz"]}=sql_injector($_POST["nome"]);${$wvcsdle}=sql_injector($_POST["idusuario"]);$zutbkrf="SQLUsuario";$sxkucgffkp="textocon";$dgdymtftsh="site";${${"GLOBALS"}["xxfeadpm"]}=sql_injector($_POST["celular"]);${${"GLOBALS"}["omcquxsco"]}=sql_injector($_POST["email"]);$ttmwrhh="SQLUsuario";${$dgdymtftsh}=sql_injector($_POST["site"]);${$sxkucgffkp}=sql_injector($_POST["textoconatt"]);${"GLOBALS"}["nzttukhgb"]="senhanew";${${"GLOBALS"}["mrajhkq"]}=sql_injector($_POST["textorevatt"]);${"GLOBALS"}["efwcguci"]="SQLUser";${$rkgryzqy}=sql_injector($_POST["senhaantiga"]);${${"GLOBALS"}["nzttukhgb"]}=sql_injector($_POST["novasenha"]);${$ttmwrhh}="select * from usuario WHERE login='".$_POST["idusuario"]."' ";${$zutbkrf}=$conn->prepare(${${"GLOBALS"}["nmcdwxs"]});$SQLUsuario->execute();if(($SQLUsuario->rowCount())>0){echo myalertuser("warning","O usurio ".$_POST["idusuario"]." j existe!","../../home.php?page=admin/dados");exit;}${${"GLOBALS"}["uxebgnwk"]}="select * from conta_ssh WHERE login='".$_POST["idusuario"]."' ";${${"GLOBALS"}["uxebgnwk"]}=$conn->prepare(${${"GLOBALS"}["uxebgnwk"]});$SQLCSSH->execute();if(($SQLCSSH->rowCount())>0){echo myalertuser("warning","O usurio ".$_POST["idusuario"]." j existe!","../../home.php?page=admin/dados");exit;}${${"GLOBALS"}["ahoqjbsp"]}="select * from admin where id_administrador = '".$_SESSION["usuarioID"]."'   ";${${"GLOBALS"}["ahoqjbsp"]}=$conn->prepare(${${"GLOBALS"}["efwcguci"]});$SQLUser->execute();if(($SQLUser->rowCount())>0){${"GLOBALS"}["twsscqs"]="euadm";$rkxmotjbmc="SQLUPUser";${${"GLOBALS"}["kxuiawu"]}=$SQLUser->fetch();${"GLOBALS"}["tjvpxouwsf"]="senhaat";$yeidnjng="SQLUPUser";${"GLOBALS"}["dmrfznv"]="login";$tqspoyxdsa="SQLUPUser";if(${${"GLOBALS"}["dmrfznv"]}!==${${"GLOBALS"}["twsscqs"]}["login"]){${"GLOBALS"}["duqwpzkox"]="SQLADM";${${"GLOBALS"}["wrvgjxywyi"]}="select * from admin WHERE login='".$_POST["idusuario"]."' ";${${"GLOBALS"}["wrvgjxywyi"]}=$conn->prepare(${${"GLOBALS"}["duqwpzkox"]});$SQLADM->execute();if(($SQLADM->rowCount())>0){echo myalertuser("warning","O usurio ".$_POST["idusuario"]." j existe!","../../home.php?page=admin/dados");exit;}}if(${${"GLOBALS"}["tjvpxouwsf"]}<>""){$jeqncpzpgqv="euadm";${"GLOBALS"}["vtujwxeyg"]="updatesenha";${"GLOBALS"}["orsovh"]="senhaat";${"GLOBALS"}["gjhjfxdolg"]="senhanew";if(${${"GLOBALS"}["orsovh"]}<>${$jeqncpzpgqv}["senha"]){echo myalertuser("error","Senha atual incorreta!","../../home.php?page=admin/dados");exit;}elseif(${${"GLOBALS"}["vvxpdpwds"]}==${${"GLOBALS"}["gjhjfxdolg"]}){echo myalertuser("info","A senha deve ser diferente da atual!","../../home.php?page=admin/dados");exit;}$qomgqahqccq="senhanew";if(strlen(${${"GLOBALS"}["kkbdbls"]})<5){echo myalertuser("error","Senha muito curta!","../../home.php?page=admin/dados");exit;}${${"GLOBALS"}["vtujwxeyg"]}="senha='".${$qomgqahqccq}."',";}${$yeidnjng}="update admin set ".${${"GLOBALS"}["asdctnlniyv"]}." nome='".$_POST["nome"]."', login='".$_POST["idusuario"]."', celular='".$_POST["celular"]."', email='".$_POST["email"]."', site='".$_POST["site"]."', textocon='".$_POST["textoconatt"]."', textorev='".$_POST["textorevatt"]."' WHERE id_administrador = '".$_SESSION["usuarioID"]."' ";${$rkxmotjbmc}=$conn->prepare(${$tqspoyxdsa});$SQLUPUser->execute();echo myalertuser("success","Alterado com sucesso !","../../home.php?page=admin/dados");}else{echo myalertuser("error","erro !","../../home.php?page=admin/dados");exit;}}else{echo myalertuser("error","Erro !","../../home.php?page=admin/dados");exit;} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x61sd\x63\x74nln\x69\x79\x76"]="u\x70\x64a\x74e\x73e\x6eha";${"\x47\x4c\x4f\x42AL\x53"}["\x6bk\x62\x64\x62\x6c\x73"]="\x73\x65\x6e\x68\x61\x6e\x65\x77";${"G\x4cO\x42\x41\x4c\x53"}["\x76\x76\x78\x70d\x70w\x64\x73"]="\x73e\x6eha\x61\x74";${"\x47\x4c\x4fB\x41L\x53"}["\x77r\x76g\x6ax\x79\x77\x79\x69"]="\x53\x51L\x41\x44M";${"\x47L\x4f\x42\x41\x4c\x53"}["\x6bx\x75\x69aw\x75"]="\x65\x75\x61dm";${"\x47L\x4fB\x41\x4c\x53"}["\x61h\x6f\x71\x6ab\x73\x70"]="\x53\x51\x4cU\x73e\x72";${"G\x4c\x4fB\x41\x4c\x53"}["\x75xe\x62\x67\x6ewk"]="S\x51\x4c\x43S\x53\x48";${"\x47L\x4f\x42\x41L\x53"}["\x6em\x63\x64\x77\x78\x73"]="\x53\x51\x4c\x55\x73\x75ar\x69\x6f";${"G\x4c\x4fB\x41\x4c\x53"}["\x6d\x72\x61\x6ahkq"]="t\x65\x78\x74\x6f\x72\x65\x76";${"\x47LO\x42AL\x53"}["o\x6d\x63q\x75\x78s\x63\x6f"]="\x65m\x61\x69\x6c";${"G\x4c\x4f\x42\x41\x4cS"}["\x78\x78\x66\x65\x61\x64\x70m"]="c\x65\x6c\x75la\x72";${"\x47\x4c\x4fB\x41\x4cS"}["i\x64\x74d\x79\x73\x77\x7a"]="nom\x65";${"G\x4c\x4f\x42\x41\x4c\x53"}["b\x64\x68\x62fc\x75\x7a\x72\x62b\x67"]="\x69\x70dom\x69ni\x6f";require_once("\x2e\x2e/\x2e./.\x2e/p\x61\x67es/\x73\x79s\x74em/s\x65gura\x6e\x63\x61.ph\x70");require_once("../\x2e\x2e/.\x2e/p\x61\x67\x65s/\x73\x79\x73t\x65\x6d/conf\x69\x67.\x70hp");require_once(".\x2e/\x2e\x2e/.\x2e/p\x61g\x65s/\x73y\x73t\x65m/f\x75ncoes\x2e\x73yst\x65\x6d\x2ephp");$xhnproespwsc="accessKEY";protegePagina("\x64\x6f\x6eo\x61d\x6di\x6e");if($_POST["\x73\x65g\x6dax"]!==${$xhnproespwsc}){expulsaVisitante();exit;}if($_POST["\x69\x70\x6dax"]!==${${"G\x4cOB\x41\x4cS"}["\x62dhb\x66\x63uz\x72\x62bg"]}){expulsaVisitante();exit;}if((isset($_POST["\x6e\x6fm\x65"]))and(isset($_POST["\x65mai\x6c"]))and(isset($_POST["i\x64\x75\x73u\x61\x72\x69\x6f"]))){$wvcsdle="\x6c\x6f\x67\x69n";$rkgryzqy="se\x6e\x68\x61a\x74";${${"\x47L\x4f\x42\x41\x4c\x53"}["i\x64\x74dy\x73\x77z"]}=sql_injector($_POST["n\x6f\x6d\x65"]);${$wvcsdle}=sql_injector($_POST["\x69dusu\x61ri\x6f"]);$zutbkrf="SQ\x4c\x55su\x61\x72\x69\x6f";$sxkucgffkp="t\x65\x78\x74\x6fc\x6f\x6e";$dgdymtftsh="\x73\x69te";${${"\x47\x4cO\x42\x41\x4cS"}["x\x78fea\x64\x70\x6d"]}=sql_injector($_POST["c\x65l\x75\x6ca\x72"]);${${"\x47\x4cO\x42\x41\x4c\x53"}["o\x6dc\x71\x75\x78\x73\x63\x6f"]}=sql_injector($_POST["\x65m\x61\x69l"]);$ttmwrhh="\x53\x51\x4c\x55\x73\x75\x61ri\x6f";${$dgdymtftsh}=sql_injector($_POST["\x73\x69\x74\x65"]);${$sxkucgffkp}=sql_injector($_POST["\x74\x65\x78toc\x6fn\x61t\x74"]);${"\x47LO\x42\x41\x4c\x53"}["\x6e\x7a\x74\x74\x75\x6bh\x67b"]="\x73\x65n\x68\x61\x6e\x65w";${${"\x47L\x4fB\x41\x4cS"}["\x6d\x72\x61\x6a\x68\x6b\x71"]}=sql_injector($_POST["\x74\x65\x78\x74orev\x61tt"]);${"\x47LOBA\x4cS"}["\x65\x66w\x63\x67\x75\x63i"]="\x53\x51\x4c\x55se\x72";${$rkgryzqy}=sql_injector($_POST["s\x65nha\x61n\x74\x69\x67a"]);${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x6e\x7a\x74\x74\x75kh\x67\x62"]}=sql_injector($_POST["\x6eo\x76as\x65\x6eh\x61"]);${$ttmwrhh}="selec\x74\x20* \x66rom\x20u\x73\x75ari\x6f WH\x45RE\x20l\x6f\x67i\x6e\x3d'".$_POST["\x69\x64u\x73ua\x72\x69\x6f"]."\x27\x20";${$zutbkrf}=$conn->prepare(${${"\x47L\x4fB\x41\x4cS"}["\x6emc\x64\x77\x78\x73"]});$SQLUsuario->execute();if(($SQLUsuario->rowCount())>0){echo myalertuser("w\x61\x72n\x69ng","\x4f\x20\x75su\x72\x69o ".$_POST["\x69\x64\x75\x73\x75ar\x69\x6f"]." \x6a\x20e\x78\x69\x73te\x21","\x2e\x2e/\x2e\x2e/ho\x6d\x65\x2e\x70\x68p?pag\x65=a\x64m\x69n/d\x61d\x6fs");exit;}${${"GL\x4f\x42\x41\x4c\x53"}["\x75\x78\x65\x62gnwk"]}="sel\x65ct\x20*\x20\x66\x72\x6f\x6d \x63o\x6e\x74\x61\x5f\x73\x73h\x20\x57H\x45RE lo\x67\x69n\x3d'".$_POST["\x69dusu\x61r\x69\x6f"]."\x27\x20";${${"GL\x4f\x42\x41LS"}["u\x78\x65\x62\x67n\x77k"]}=$conn->prepare(${${"G\x4c\x4fB\x41L\x53"}["\x75xe\x62\x67\x6e\x77\x6b"]});$SQLCSSH->execute();if(($SQLCSSH->rowCount())>0){echo myalertuser("w\x61r\x6e\x69n\x67","\x4f\x20us\x75r\x69o ".$_POST["\x69\x64u\x73ua\x72io"]." j \x65\x78\x69st\x65\x21",".\x2e/../hom\x65.\x70hp?\x70\x61\x67\x65=a\x64\x6d\x69n/\x64\x61d\x6fs");exit;}${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x61h\x6f\x71j\x62\x73\x70"]}="\x73el\x65ct\x20* \x66r\x6f\x6d\x20\x61dm\x69\x6e \x77\x68\x65r\x65 i\x64_ad\x6d\x69\x6eist\x72\x61\x64\x6f\x72 =\x20\x27".$_SESSION["\x75s\x75a\x72ioI\x44"]."\x27 \x20\x20";${${"\x47L\x4f\x42AL\x53"}["\x61\x68\x6f\x71j\x62\x73\x70"]}=$conn->prepare(${${"G\x4c\x4f\x42\x41\x4cS"}["e\x66\x77\x63\x67\x75ci"]});$SQLUser->execute();if(($SQLUser->rowCount())>0){${"\x47\x4c\x4fB\x41L\x53"}["\x74wss\x63q\x73"]="e\x75adm";$rkxmotjbmc="SQ\x4c\x55P\x55\x73\x65r";${${"\x47\x4cO\x42\x41L\x53"}["k\x78uia\x77\x75"]}=$SQLUser->fetch();${"\x47\x4cO\x42ALS"}["\x74\x6a\x76\x70\x78o\x75w\x73\x66"]="\x73e\x6e\x68a\x61\x74";$yeidnjng="SQ\x4c\x55\x50\x55s\x65\x72";${"\x47\x4cO\x42AL\x53"}["\x64\x6d\x72\x66z\x6ev"]="\x6c\x6f\x67i\x6e";$tqspoyxdsa="\x53Q\x4cUP\x55\x73\x65\x72";if(${${"\x47\x4cOBA\x4c\x53"}["\x64\x6d\x72\x66\x7an\x76"]}!==${${"\x47\x4cO\x42A\x4cS"}["\x74\x77\x73s\x63\x71\x73"]}["l\x6fgin"]){${"\x47L\x4fB\x41\x4c\x53"}["\x64u\x71\x77\x70\x7ako\x78"]="\x53\x51\x4cA\x44\x4d";${${"\x47\x4c\x4f\x42ALS"}["\x77\x72\x76\x67\x6axywyi"]}="s\x65l\x65c\x74\x20*\x20\x66r\x6fm\x20\x61\x64m\x69\x6e \x57HER\x45 \x6co\x67\x69\x6e=\x27".$_POST["idu\x73ua\x72\x69o"]."'\x20";${${"GLOBA\x4c\x53"}["wr\x76\x67\x6a\x78\x79wy\x69"]}=$conn->prepare(${${"GL\x4fBA\x4c\x53"}["\x64\x75\x71wpz\x6b\x6f\x78"]});$SQLADM->execute();if(($SQLADM->rowCount())>0){echo myalertuser("\x77a\x72\x6ei\x6eg","O\x20\x75\x73\x75rio\x20".$_POST["\x69\x64u\x73\x75ario"]."\x20\x6a\x20\x65x\x69ste!",".\x2e/\x2e./\x68\x6f\x6de.\x70h\x70?\x70\x61ge=\x61\x64m\x69n/d\x61d\x6fs");exit;}}if(${${"\x47\x4c\x4f\x42AL\x53"}["t\x6a\x76\x70x\x6f\x75\x77\x73f"]}<>""){$jeqncpzpgqv="e\x75\x61\x64m";${"\x47\x4cOBA\x4cS"}["\x76\x74\x75\x6a\x77x\x65y\x67"]="\x75p\x64a\x74\x65\x73en\x68a";${"\x47\x4c\x4fBAL\x53"}["\x6fr\x73\x6f\x76h"]="s\x65n\x68\x61at";${"G\x4c\x4fB\x41L\x53"}["\x67j\x68\x6af\x78\x64\x6f\x6c\x67"]="\x73\x65n\x68\x61\x6e\x65\x77";if(${${"\x47\x4cO\x42\x41LS"}["ors\x6f\x76\x68"]}<>${$jeqncpzpgqv}["\x73en\x68a"]){echo myalertuser("e\x72r\x6fr","S\x65nha \x61\x74\x75a\x6c \x69n\x63o\x72\x72et\x61!","../\x2e./h\x6fm\x65.p\x68p?pa\x67\x65\x3da\x64\x6din/da\x64os");exit;}elseif(${${"\x47L\x4f\x42\x41LS"}["\x76v\x78\x70d\x70\x77\x64\x73"]}==${${"G\x4c\x4fB\x41\x4c\x53"}["g\x6ah\x6a\x66xd\x6f\x6cg"]}){echo myalertuser("\x69\x6efo","A\x20\x73\x65n\x68a \x64e\x76e\x20\x73\x65r di\x66\x65\x72\x65n\x74\x65 d\x61\x20\x61t\x75\x61\x6c\x21","../\x2e\x2e/\x68ome\x2ephp?\x70a\x67\x65=ad\x6din/d\x61\x64o\x73");exit;}$qomgqahqccq="\x73\x65\x6eha\x6eew";if(strlen(${${"G\x4cOB\x41\x4c\x53"}["\x6b\x6bb\x64\x62\x6c\x73"]})<5){echo myalertuser("\x65\x72\x72\x6fr","\x53\x65nha mu\x69t\x6f\x20c\x75\x72\x74\x61\x21","../\x2e./\x68ome\x2eph\x70?\x70a\x67e=admi\x6e/d\x61\x64\x6f\x73");exit;}${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x74\x75\x6a\x77\x78e\x79\x67"]}="\x73\x65\x6e\x68a\x3d'".${$qomgqahqccq}."\x27,";}${$yeidnjng}="u\x70\x64a\x74e\x20\x61dm\x69n s\x65t ".${${"\x47\x4cO\x42\x41L\x53"}["a\x73d\x63\x74\x6eln\x69y\x76"]}."\x20n\x6f\x6de\x3d\x27".$_POST["\x6e\x6f\x6d\x65"]."\x27, lo\x67i\x6e='".$_POST["\x69d\x75\x73uar\x69o"]."', ce\x6cul\x61\x72\x3d\x27".$_POST["\x63el\x75l\x61\x72"]."',\x20\x65ma\x69l\x3d'".$_POST["em\x61\x69l"]."\x27,\x20\x73i\x74e=\x27".$_POST["s\x69t\x65"]."\x27, t\x65\x78t\x6f\x63o\x6e='".$_POST["\x74e\x78t\x6f\x63o\x6eat\x74"]."', t\x65\x78to\x72\x65\x76\x3d'".$_POST["\x74ex\x74\x6f\x72ev\x61\x74\x74"]."' \x57\x48\x45\x52\x45 i\x64_\x61d\x6d\x69\x6e\x69st\x72ad\x6fr \x3d \x27".$_SESSION["\x75su\x61rio\x49\x44"]."' ";${$rkxmotjbmc}=$conn->prepare(${$tqspoyxdsa});$SQLUPUser->execute();echo myalertuser("\x73uc\x63\x65\x73s","A\x6c\x74erado\x20c\x6f\x6d \x73\x75cess\x6f \x21",".\x2e/.\x2e/\x68\x6fme.p\x68\x70?\x70\x61\x67\x65\x3d\x61d\x6d\x69n/\x64a\x64os");}else{echo myalertuser("erro\x72","erro\x20!","../.\x2e/\x68\x6fm\x65\x2e\x70hp?p\x61\x67e\x3d\x61\x64\x6d\x69n/\x64\x61\x64o\x73");exit;}}else{echo myalertuser("e\x72\x72\x6fr","\x45\x72\x72\x6f\x20!",".\x2e/\x2e./\x68\x6fm\x65.p\x68\x70?\x70a\x67e\x3d\x61dm\x69\x6e/\x64\x61\x64\x6f\x73");exit;}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'asdctnlniyv', 'value': 'updatesenha'}, {'key': 'kkbdbls', 'value': 'senhanew'}, {'key': 'vvxpdpwds', 'value': 'senhaat'}, {'key': 'wrvgjxywyi', 'value': 'SQLADM'}, {'key': 'kxuiawu', 'value': 'euadm'}, {'key': 'ahoqjbsp', 'value': 'SQLUser'}, {'key': 'uxebgnwk', 'value': 'SQLCSSH'}, {'key': 'nmcdwxs', 'value': 'SQLUsuario'}, {'key': 'mrajhkq', 'value': 'textorev'}, {'key': 'omcquxsco', 'value': 'email'}, {'key': 'xxfeadpm', 'value': 'celular'}, {'key': 'idtdyswz', 'value': 'nome'}, {'key': 'bdhbfcuzrbbg', 'value': 'ipdominio'}]

Stats

MD5 07693232a537820a5d0ef8b9a17b4ca3
Eval Count 0
Decode Time 75 ms