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\x4fB\x41\x4cS"}["\x67b\x66\x67xl\x73\x62"]="\x65\x6d\x61\x69\x6c";${"\x4..

Decoded Output download

<?php ${"GLOBALS"}["gbfgxlsb"]="email";${"GLOBALS"}["hacwieebkxhn"]="updatesmtp";${"GLOBALS"}["cbbospnp"]="conta";${"GLOBALS"}["nllfptovphr"]="buscasmtp";${"GLOBALS"}["dexdeklrql"]="senha";${"GLOBALS"}["kghbnlgwkwdc"]="empresa";require_once("../../pages/system/seguranca.php");require_once("../../pages/system/config.php");require_once("../../pages/system/funcoes.php");require_once("../../pages/system/classe.ssh.php");require_once("../../pages/system/funcoes.system.php");protegePagina("user");if(isset($_POST["servidor"])){$elxmymqkgrq="servidor";${$elxmymqkgrq}=sql_injector($_POST["servidor"]);${"GLOBALS"}["deytgtnvqmf"]="ssl";${"GLOBALS"}["hegyitftidk"]="porta";$ekkhooi="email";${${"GLOBALS"}["kghbnlgwkwdc"]}=sql_injector($_POST["nomeempresa"]);${${"GLOBALS"}["hegyitftidk"]}=sql_injector($_POST["porta"]);${$ekkhooi}=sql_injector($_POST["email"]);$mlekcfvsne="email";${"GLOBALS"}["rlketcjzcrb"]="porta";${${"GLOBALS"}["dexdeklrql"]}=sql_injector($_POST["senha"]);$hrfvqtyrifpn="buscasmtp";${${"GLOBALS"}["deytgtnvqmf"]}=sql_injector($_POST["ssl"]);$wrfnfxys="conta";if(!is_numeric(${${"GLOBALS"}["rlketcjzcrb"]})){echo myalertuser("error","Defina a porta corretamente!","../../home.php?page=email/enviaremail");exit;}if(filter_var(${$mlekcfvsne},FILTER_VALIDATE_EMAIL)){$jypluhgpq="email";$okqmypsvua="email";${$jypluhgpq}=${$okqmypsvua};}else{echo myalertuser("error","Email invalido!","../../home.php?page=email/enviaremail");exit;}${${"GLOBALS"}["nllfptovphr"]}="SELECT * FROM smtp_usuarios WHERE usuario_id='".$_SESSION["usuarioID"]."'";${${"GLOBALS"}["nllfptovphr"]}=$conn->prepare(${$hrfvqtyrifpn});$buscasmtp->execute();${${"GLOBALS"}["cbbospnp"]}=$buscasmtp->rowCount();if(${$wrfnfxys}>0){$xiwgarnoain="senha";$cprrckpl="ssl";${"GLOBALS"}["lyhyyxkstv"]="updatesmtp";${"GLOBALS"}["jjdgxrer"]="servidor";$hzoonvkq="smtp";$mixftjtelqs="smtp";${$hzoonvkq}=$buscasmtp->fetch();$rgwtmbr="email";${"GLOBALS"}["eurowbxywyo"]="porta";$nuwhdhz="empresa";${${"GLOBALS"}["hacwieebkxhn"]}="update smtp_usuarios set servidor='".${${"GLOBALS"}["jjdgxrer"]}."', empresa='".${$nuwhdhz}."', porta='".${${"GLOBALS"}["eurowbxywyo"]}."', email='".${$rgwtmbr}."', senha='".${$xiwgarnoain}."', ssl_secure='".${$cprrckpl}."' WHERE usuario_id='".${$mixftjtelqs}["usuario_id"]."'";${${"GLOBALS"}["hacwieebkxhn"]}=$conn->prepare(${${"GLOBALS"}["lyhyyxkstv"]});$updatesmtp->execute();echo myalertuser("success","SMTP Atualizado !","../../home.php?page=email/enviaremail");exit;}else{${"GLOBALS"}["fjysjgmxhqm"]="porta";${"GLOBALS"}["gxvhflkhxago"]="servidor";${"GLOBALS"}["uwyymd"]="empresa";$pbjsmycb="updatesmtp";${${"GLOBALS"}["hacwieebkxhn"]}="insert into smtp_usuarios (usuario_id,servidor,empresa,porta,email,senha) values ('".$_SESSION["usuarioID"]."','".${${"GLOBALS"}["gxvhflkhxago"]}."','".${${"GLOBALS"}["uwyymd"]}."','".${${"GLOBALS"}["fjysjgmxhqm"]}."','".${${"GLOBALS"}["gbfgxlsb"]}."','".${${"GLOBALS"}["dexdeklrql"]}."')";${$pbjsmycb}=$conn->prepare(${${"GLOBALS"}["hacwieebkxhn"]});$updatesmtp->execute();echo myalertuser("success","SMTP Configurado !","../../home.php?page=email/enviaremail");exit;}} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4c\x4fB\x41\x4cS"}["\x67b\x66\x67xl\x73\x62"]="\x65\x6d\x61\x69\x6c";${"\x47\x4c\x4f\x42A\x4cS"}["h\x61c\x77i\x65e\x62\x6b\x78\x68\x6e"]="\x75\x70\x64\x61t\x65s\x6d\x74p";${"\x47\x4c\x4f\x42\x41L\x53"}["\x63b\x62\x6f\x73\x70\x6e\x70"]="\x63\x6fn\x74a";${"\x47LO\x42\x41\x4c\x53"}["n\x6clf\x70t\x6fv\x70hr"]="\x62u\x73\x63\x61\x73\x6d\x74\x70";${"\x47\x4c\x4f\x42\x41L\x53"}["dexd\x65klrq\x6c"]="s\x65\x6e\x68\x61";${"\x47L\x4f\x42\x41\x4c\x53"}["kgh\x62n\x6c\x67\x77\x6b\x77\x64\x63"]="\x65\x6dp\x72es\x61";require_once("\x2e./../\x70\x61\x67e\x73/s\x79ste\x6d/s\x65g\x75\x72\x61nca.\x70\x68p");require_once("../\x2e\x2e/\x70ag\x65s/\x73\x79ste\x6d/co\x6e\x66ig.ph\x70");require_once("../\x2e./pa\x67\x65\x73/\x73yst\x65\x6d/f\x75n\x63\x6f\x65\x73.\x70h\x70");require_once("\x2e\x2e/\x2e\x2e/pa\x67\x65s/s\x79s\x74\x65\x6d/cl\x61sse\x2e\x73sh.p\x68\x70");require_once("\x2e\x2e/\x2e\x2e/pa\x67\x65\x73/\x73\x79s\x74em/\x66u\x6e\x63o\x65\x73\x2es\x79stem\x2ephp");protegePagina("\x75\x73er");if(isset($_POST["\x73\x65\x72v\x69d\x6f\x72"])){$elxmymqkgrq="\x73e\x72\x76\x69d\x6f\x72";${$elxmymqkgrq}=sql_injector($_POST["s\x65rvi\x64\x6f\x72"]);${"G\x4cO\x42\x41LS"}["\x64\x65\x79t\x67\x74\x6e\x76qm\x66"]="\x73\x73\x6c";${"\x47\x4c\x4fBA\x4cS"}["heg\x79i\x74\x66\x74\x69\x64\x6b"]="p\x6f\x72t\x61";$ekkhooi="\x65\x6da\x69\x6c";${${"G\x4cO\x42A\x4cS"}["k\x67\x68\x62\x6e\x6c\x67w\x6bwd\x63"]}=sql_injector($_POST["\x6eome\x65\x6d\x70\x72esa"]);${${"\x47L\x4f\x42\x41\x4c\x53"}["h\x65\x67\x79\x69\x74f\x74\x69\x64k"]}=sql_injector($_POST["\x70\x6frta"]);${$ekkhooi}=sql_injector($_POST["\x65ma\x69\x6c"]);$mlekcfvsne="\x65\x6d\x61\x69l";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["rlk\x65\x74\x63\x6a\x7ac\x72\x62"]="\x70\x6f\x72\x74a";${${"\x47LO\x42\x41\x4cS"}["\x64\x65\x78\x64\x65\x6b\x6c\x72\x71l"]}=sql_injector($_POST["\x73\x65nh\x61"]);$hrfvqtyrifpn="b\x75\x73\x63\x61\x73\x6d\x74p";${${"GLO\x42A\x4cS"}["\x64\x65y\x74\x67t\x6ev\x71\x6d\x66"]}=sql_injector($_POST["ssl"]);$wrfnfxys="\x63ont\x61";if(!is_numeric(${${"\x47LO\x42\x41\x4cS"}["\x72\x6c\x6b\x65\x74\x63j\x7acr\x62"]})){echo myalertuser("\x65r\x72\x6fr","\x44\x65f\x69\x6e\x61 a\x20\x70o\x72t\x61 cor\x72e\x74\x61me\x6e\x74e\x21","../.\x2e/\x68\x6fm\x65.p\x68p?p\x61\x67\x65\x3d\x65mail/\x65nvi\x61\x72ema\x69\x6c");exit;}if(filter_var(${$mlekcfvsne},FILTER_VALIDATE_EMAIL)){$jypluhgpq="\x65\x6dail";$okqmypsvua="\x65m\x61\x69l";${$jypluhgpq}=${$okqmypsvua};}else{echo myalertuser("\x65r\x72\x6fr","\x45\x6d\x61i\x6c i\x6eva\x6c\x69\x64o\x21","\x2e./\x2e./home.\x70\x68p?\x70ag\x65=emai\x6c/e\x6ev\x69\x61r\x65m\x61\x69\x6c");exit;}${${"\x47L\x4f\x42\x41L\x53"}["\x6e\x6c\x6c\x66\x70\x74\x6f\x76\x70hr"]}="SE\x4cE\x43\x54\x20*\x20\x46ROM \x73\x6d\x74\x70\x5fus\x75\x61rio\x73\x20\x57\x48\x45\x52E \x75\x73uar\x69o_i\x64='".$_SESSION["u\x73ua\x72ioI\x44"]."'";${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["n\x6clf\x70\x74\x6f\x76phr"]}=$conn->prepare(${$hrfvqtyrifpn});$buscasmtp->execute();${${"\x47\x4c\x4f\x42\x41\x4cS"}["c\x62\x62os\x70n\x70"]}=$buscasmtp->rowCount();if(${$wrfnfxys}>0){$xiwgarnoain="\x73en\x68\x61";$cprrckpl="\x73\x73l";${"\x47\x4c\x4f\x42\x41L\x53"}["\x6cyh\x79\x79\x78\x6bst\x76"]="u\x70\x64a\x74\x65smt\x70";${"\x47\x4cOBA\x4cS"}["j\x6a\x64\x67\x78\x72e\x72"]="ser\x76i\x64or";$hzoonvkq="smtp";$mixftjtelqs="\x73\x6d\x74p";${$hzoonvkq}=$buscasmtp->fetch();$rgwtmbr="em\x61\x69l";${"\x47\x4cOBA\x4cS"}["\x65urow\x62\x78\x79\x77y\x6f"]="\x70\x6fr\x74\x61";$nuwhdhz="e\x6d\x70r\x65s\x61";${${"GL\x4f\x42\x41\x4cS"}["\x68\x61\x63wi\x65eb\x6b\x78\x68\x6e"]}="\x75\x70\x64\x61\x74e\x20\x73\x6dtp\x5fusuar\x69os s\x65t\x20s\x65rv\x69d\x6f\x72=\x27".${${"\x47\x4c\x4f\x42A\x4cS"}["\x6a\x6a\x64\x67x\x72\x65r"]}."\x27, \x65mpr\x65s\x61\x3d\x27".${$nuwhdhz}."', \x70\x6fr\x74a\x3d'".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x65\x75\x72\x6f\x77\x62x\x79\x77\x79o"]}."', \x65\x6dai\x6c='".${$rgwtmbr}."\x27, \x73e\x6e\x68\x61\x3d'".${$xiwgarnoain}."\x27, ssl\x5fs\x65cur\x65\x3d'".${$cprrckpl}."'\x20\x57H\x45R\x45 usu\x61r\x69\x6f\x5f\x69\x64=\x27".${$mixftjtelqs}["usua\x72\x69\x6f\x5fid"]."\x27";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x68a\x63w\x69e\x65bk\x78h\x6e"]}=$conn->prepare(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6c\x79\x68yy\x78k\x73t\x76"]});$updatesmtp->execute();echo myalertuser("\x73ucces\x73","\x53MTP\x20Atu\x61\x6ciz\x61\x64o\x20\x21",".\x2e/../hom\x65.\x70\x68\x70?p\x61\x67e\x3d\x65m\x61il/\x65n\x76\x69\x61\x72\x65ma\x69\x6c");exit;}else{${"\x47\x4c\x4fB\x41L\x53"}["\x66jy\x73\x6a\x67\x6dx\x68\x71\x6d"]="p\x6f\x72t\x61";${"\x47L\x4f\x42\x41\x4cS"}["\x67\x78\x76\x68\x66\x6c\x6b\x68\x78\x61go"]="se\x72\x76\x69\x64\x6f\x72";${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75w\x79\x79m\x64"]="\x65\x6d\x70\x72\x65sa";$pbjsmycb="\x75\x70d\x61\x74\x65sm\x74p";${${"\x47\x4cO\x42ALS"}["\x68\x61cw\x69e\x65\x62\x6bx\x68\x6e"]}="\x69\x6e\x73er\x74\x20\x69n\x74o s\x6dt\x70\x5f\x75\x73ua\x72\x69os\x20(u\x73\x75\x61\x72i\x6f\x5fi\x64,ser\x76\x69do\x72,\x65\x6d\x70r\x65\x73\x61,\x70o\x72\x74\x61,\x65ma\x69\x6c,\x73\x65n\x68a) va\x6cu\x65s\x20('".$_SESSION["us\x75ar\x69\x6fID"]."\x27,\x27".${${"\x47\x4cOBA\x4c\x53"}["g\x78vh\x66\x6c\x6b\x68x\x61\x67\x6f"]}."','".${${"G\x4c\x4f\x42\x41\x4c\x53"}["\x75wyy\x6dd"]}."',\x27".${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x66\x6a\x79\x73j\x67m\x78\x68q\x6d"]}."',\x27".${${"G\x4c\x4fB\x41L\x53"}["\x67bf\x67\x78\x6csb"]}."\x27,'".${${"GL\x4f\x42\x41\x4c\x53"}["\x64\x65\x78d\x65\x6b\x6c\x72ql"]}."\x27)";${$pbjsmycb}=$conn->prepare(${${"GL\x4f\x42\x41L\x53"}["\x68a\x63\x77\x69\x65\x65\x62\x6bx\x68\x6e"]});$updatesmtp->execute();echo myalertuser("\x73u\x63cess","\x53MTP\x20\x43\x6fnfi\x67\x75ra\x64\x6f !","../.\x2e/hom\x65\x2ephp?pa\x67e\x3dem\x61\x69l/\x65\x6evi\x61\x72e\x6d\x61il");exit;}}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'gbfgxlsb', 'value': 'email'}, {'key': 'hacwieebkxhn', 'value': 'updatesmtp'}, {'key': 'cbbospnp', 'value': 'conta'}, {'key': 'nllfptovphr', 'value': 'buscasmtp'}, {'key': 'dexdeklrql', 'value': 'senha'}, {'key': 'kghbnlgwkwdc', 'value': 'empresa'}]

Stats

MD5 4ca5b16d113bf4aa9c5e3353155626d2
Eval Count 0
Decode Time 75 ms