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 ${"\x47L\x4f\x42\x41\x4c\x53"}["\x6e\x61\x6d\x63q\x6eg\x74\x6c\x62"]="\x64\x61\x74\x..

Decoded Output download

<?php ${"GLOBALS"}["namcqngtlb"]="data";${"GLOBALS"}["atbyqgpxtxfo"]="inserecp";${"GLOBALS"}["aeqhnalynxr"]="nota";${"GLOBALS"}["vsmpxpcipzwx"]="formapagto";${"GLOBALS"}["uumhtis"]="nome_final";${"GLOBALS"}["fnkxuqu"]="extensao";${"GLOBALS"}["hhropccinqx"]="_UP";${"GLOBALS"}["gbglocktbog"]="contafaturacp";${"GLOBALS"}["ychqhjb"]="faturacp";${"GLOBALS"}["avbsruokrr"]="idfatura";${"GLOBALS"}["juhggylvno"]="fatu";${"GLOBALS"}["ngqkdhgcdk"]="conta";${"GLOBALS"}["ljdvomu"]="SQLUPUser";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");protegePagina("user");if(isset($_POST["fatura"])){${"GLOBALS"}["kjquhg"]="nota";$lixsbyx="idfatura";${"GLOBALS"}["tsepoqhol"]="fatu";$jstyotb="idfatura";$wuilhuj="idfatura";${$wuilhuj}=sql_injector($_POST["fatura"]);${"GLOBALS"}["tdipxlqwx"]="forma";$ohrwfjfshr="fatu";${"GLOBALS"}["eqkylgwb"]="arquivo";$xcpjtozltxy="extensao";${${"GLOBALS"}["kjquhg"]}=sql_injector($_POST["msg"]);${${"GLOBALS"}["tdipxlqwx"]}=sql_injector($_POST["formap"]);${"GLOBALS"}["rokzvh"]="contafaturacp";${"GLOBALS"}["wqmienopbx"]="SQLUPUser";${${"GLOBALS"}["eqkylgwb"]}=$_FILES["arquivo"];${"GLOBALS"}["nqjekpstv"]="SQLUPUser";${${"GLOBALS"}["wqmienopbx"]}="SELECT * FROM fatura where id='".${$jstyotb}."'";${"GLOBALS"}["pgmsfu"]="_UP";$fbyxhmlcly="idfatura";${${"GLOBALS"}["nqjekpstv"]}=$conn->prepare(${${"GLOBALS"}["ljdvomu"]});$SQLUPUser->execute();${${"GLOBALS"}["ngqkdhgcdk"]}=$SQLUPUser->rowCount();if(${${"GLOBALS"}["ngqkdhgcdk"]}==0){${"GLOBALS"}["igotbrv"]="idfatura";echo"<script type="text/javascript\">";echo"alert("Fatura no encontrada!\");";echo"window.location=\"home.php?page=faturas/confirmar&id=".${${"GLOBALS"}["igotbrv"]}."\";";echo"</script>";exit;}${$ohrwfjfshr}=$SQLUPUser->fetch();${"GLOBALS"}["egljail"]="idfatura";if(${${"GLOBALS"}["tsepoqhol"]}["usuario_id"]<>$_SESSION["usuarioID"]){echo"<script type=\"text/javascript">";echo"alert("Esta fatura no  sua!\");";echo"window.location="home.php?page=faturas/abertas";";echo"</script>";exit;}${"GLOBALS"}["kefdqxdvo"]="_UP";if(${${"GLOBALS"}["juhggylvno"]}["status"]=="cancelado"){echo"<script type=\"text/javascript">";echo"alert(\"Esta fatura est vencida ou expirada!");";echo"window.location="home.php?page=faturas/canceladas";";echo"</script>";exit;}$wgstvtbj="faturacp";$dkrlcug="faturacp";if(${${"GLOBALS"}["juhggylvno"]}["status"]=="pago"){echo"<script type="text/javascript">";echo"alert("Esta fatura est paga!");";echo"window.location=\"home.php?page=faturas/pagas";";echo"</script>";exit;}${$dkrlcug}="SELECT * FROM fatura_comprovantes where fatura_id='".${${"GLOBALS"}["avbsruokrr"]}."' and usuario_id='".$_SESSION["usuarioID"]."' and status='aberto'";${$wgstvtbj}=$conn->prepare(${${"GLOBALS"}["ychqhjb"]});$faturacp->execute();${${"GLOBALS"}["gbglocktbog"]}=$faturacp->rowCount();if(${${"GLOBALS"}["rokzvh"]}>0){echo"<script type="text/javascript\">";${"GLOBALS"}["ugofvxc"]="idfatura";echo"alert(\"J possui uma confirmao para esta Fatura em andamento aguarde!\");";echo"window.location="../../home.php?page=faturas/confirmar&id=".${${"GLOBALS"}["ugofvxc"]}."";";echo"</script>";exit;}${${"GLOBALS"}["hhropccinqx"]}["pasta"]="../../admin/pages/faturas/comprovantes/";${"GLOBALS"}["hgrhkdmb"]="_UP";${${"GLOBALS"}["hhropccinqx"]}["tamanho"]=1024*1024*2;${${"GLOBALS"}["hhropccinqx"]}["extensoes"]=array("jpg","png","gif");${${"GLOBALS"}["hhropccinqx"]}["renomeia"]=true;${${"GLOBALS"}["hhropccinqx"]}["erros"][0]="<script type="text/javascript">alert("No houve erro\");window.location=\"../../home.php?page=faturas/confirmar&id=".${$fbyxhmlcly}."";</script>";$cceynshiu="_UP";${${"GLOBALS"}["hhropccinqx"]}["erros"][1]="<script type="text/javascript\">alert(\"O arquivo no upload  maior do que o limite do PHP\");window.location="../../home.php?page=faturas/confirmar&id=".${$lixsbyx}."\";</script>";${${"GLOBALS"}["hhropccinqx"]}["erros"][2]="<script type=\"text/javascript\">alert("O arquivo ultrapassa o limite de tamanho especifiado no HTML");window.location="../../home.php?page=faturas/confirmar&id=".${${"GLOBALS"}["avbsruokrr"]}."\";</script>";${${"GLOBALS"}["pgmsfu"]}["erros"][3]="<script type=\"text/javascript">alert("O upload do arquivo foi feito parcialmente");window.location=\"../../home.php?page=faturas/confirmar&id=".${${"GLOBALS"}["avbsruokrr"]}."\";</script>";${$cceynshiu}["erros"][4]="<script type=\"text/javascript\">alert("No foi feito o upload do arquivo\");window.location="../../home.php?page=faturas/confirmar&id=".${${"GLOBALS"}["egljail"]}."";</script>";if($_FILES["arquivo"]["error"]!=0){${"GLOBALS"}["ocylpdhwsrqr"]="_UP";die("".${${"GLOBALS"}["ocylpdhwsrqr"]}["erros"][$_FILES["arquivo"]["error"]]);exit;}${${"GLOBALS"}["fnkxuqu"]}=strtolower(end(explode(".",$_FILES["arquivo"]["name"])));if(array_search(${$xcpjtozltxy},${${"GLOBALS"}["hhropccinqx"]}["extensoes"])===false){echo"<script type="text/javascript\">";echo"alert("Por favor, envie arquivos com as seguintes extenses: jpg, png ou gif\");";echo"window.location="../../home.php?page=faturas/confirmar&id=".${${"GLOBALS"}["avbsruokrr"]}."";";echo"</script>";exit;}if(${${"GLOBALS"}["hgrhkdmb"]}["tamanho"]<$_FILES["arquivo"]["size"]){echo"<script type=\"text/javascript">";echo"alert(\"O arquivo enviado  muito grande, envie arquivos de at 2Mb.");";echo"window.location=\"../../home.php?page=faturas/confirmar&id=".${${"GLOBALS"}["avbsruokrr"]}."\";";echo"</script>";exit;}if(${${"GLOBALS"}["kefdqxdvo"]}["renomeia"]==true){$lgmokj="nome_final";${$lgmokj}=md5(time()).".jpg";}else{${"GLOBALS"}["edkdrfee"]="nome_final";${${"GLOBALS"}["edkdrfee"]}=$_FILES["arquivo"]["name"];}if(move_uploaded_file($_FILES["arquivo"]["tmp_name"],${${"GLOBALS"}["hhropccinqx"]}["pasta"].${${"GLOBALS"}["uumhtis"]})){${"GLOBALS"}["ounrosnlpl"]="data";$vjmgbvjtfoi="formapagto";$jgacqcda="forma";$iyuhoho="nota";switch(${$jgacqcda}){case 1:${${"GLOBALS"}["vsmpxpcipzwx"]}="boleto";break;case 2:${$vjmgbvjtfoi}="deptra";break;default:${${"GLOBALS"}["vsmpxpcipzwx"]}="boleto";break;}if(${${"GLOBALS"}["aeqhnalynxr"]}==""){${${"GLOBALS"}["aeqhnalynxr"]}="N/d";}else{$ahhtngsdlos="nota";${${"GLOBALS"}["aeqhnalynxr"]}=${$ahhtngsdlos};}$bgfstrspx="inserecp";${${"GLOBALS"}["ounrosnlpl"]}=date("Y-m-d H:i:s");${${"GLOBALS"}["atbyqgpxtxfo"]}="INSERT INTO fatura_comprovantes (fatura_id,usuario_id,data,formapagamento,nota,imagem) values ('".${${"GLOBALS"}["avbsruokrr"]}."','".$_SESSION["usuarioID"]."','".${${"GLOBALS"}["namcqngtlb"]}."','".${${"GLOBALS"}["vsmpxpcipzwx"]}."','".${$iyuhoho}."','".${${"GLOBALS"}["uumhtis"]}."')";${"GLOBALS"}["tfqqpcchmqmm"]="idfatura";${${"GLOBALS"}["atbyqgpxtxfo"]}=$conn->prepare(${$bgfstrspx});$inserecp->execute();echo"<script type=\"text/javascript">";echo"alert("Enviado com sucesso! Aguarde um prazo de at 4 horas");";echo"window.location=\"../../home.php?page=faturas/confirmar&id=".${${"GLOBALS"}["tfqqpcchmqmm"]}."\";";echo"</script>";}else{$lagtgxpjgc="idfatura";echo"<script type="text/javascript">";echo"alert("No foi possivel enviar o arquivo tente novamente!\");";echo"window.location="../../home.php?page=faturas/confirmar&id=".${$lagtgxpjgc}."\";";echo"</script>";}}else{echo"teste";} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47L\x4f\x42\x41\x4c\x53"}["\x6e\x61\x6d\x63q\x6eg\x74\x6c\x62"]="\x64\x61\x74\x61";${"\x47L\x4fB\x41LS"}["\x61\x74byqg\x70\x78\x74\x78\x66\x6f"]="\x69\x6e\x73e\x72e\x63\x70";${"G\x4cO\x42\x41L\x53"}["\x61e\x71\x68\x6e\x61l\x79\x6e\x78\x72"]="\x6eota";${"\x47\x4cO\x42A\x4c\x53"}["\x76\x73\x6d\x70xpc\x69\x70\x7a\x77x"]="fo\x72m\x61\x70ag\x74o";${"GL\x4fBAL\x53"}["u\x75\x6d\x68tis"]="\x6eome\x5ff\x69\x6e\x61\x6c";${"\x47\x4c\x4f\x42\x41\x4cS"}["fn\x6b\x78\x75q\x75"]="\x65\x78\x74\x65\x6es\x61\x6f";${"G\x4c\x4f\x42A\x4c\x53"}["hhro\x70\x63\x63\x69nq\x78"]="\x5fU\x50";${"GL\x4f\x42\x41\x4cS"}["\x67\x62g\x6c\x6f\x63k\x74\x62\x6f\x67"]="\x63\x6f\x6et\x61\x66\x61tur\x61c\x70";${"\x47L\x4f\x42\x41L\x53"}["y\x63hq\x68\x6a\x62"]="\x66a\x74\x75\x72ac\x70";${"\x47L\x4f\x42\x41\x4c\x53"}["\x61\x76\x62\x73\x72\x75\x6f\x6b\x72\x72"]="\x69\x64f\x61\x74\x75\x72\x61";${"\x47\x4cO\x42ALS"}["\x6a\x75h\x67\x67y\x6c\x76n\x6f"]="f\x61\x74\x75";${"GL\x4f\x42\x41L\x53"}["\x6e\x67q\x6b\x64hgc\x64\x6b"]="\x63on\x74\x61";${"GLO\x42\x41L\x53"}["\x6cj\x64\x76\x6f\x6du"]="\x53Q\x4cU\x50\x55\x73\x65\x72";require_once(".\x2e/.\x2e/p\x61\x67\x65s/\x73\x79s\x74\x65\x6d/\x73\x65gur\x61\x6e\x63\x61\x2eph\x70");require_once("\x2e\x2e/.\x2e/pa\x67es/s\x79st\x65\x6d/\x63\x6fnf\x69\x67\x2e\x70hp");require_once("\x2e\x2e/../\x70\x61ge\x73/sy\x73\x74\x65m/f\x75nc\x6fes.p\x68p");require_once("../\x2e\x2e/pag\x65s/sy\x73\x74\x65m/\x63\x6ca\x73\x73\x65\x2ess\x68.php");protegePagina("u\x73e\x72");if(isset($_POST["f\x61tu\x72\x61"])){${"\x47\x4c\x4fB\x41\x4c\x53"}["\x6b\x6a\x71\x75h\x67"]="\x6e\x6fta";$lixsbyx="\x69\x64f\x61tu\x72\x61";${"G\x4cO\x42\x41\x4c\x53"}["\x74\x73\x65\x70o\x71h\x6f\x6c"]="\x66a\x74\x75";$jstyotb="\x69\x64f\x61\x74\x75r\x61";$wuilhuj="i\x64f\x61t\x75\x72a";${$wuilhuj}=sql_injector($_POST["\x66a\x74\x75ra"]);${"\x47LO\x42\x41L\x53"}["\x74\x64\x69p\x78lq\x77\x78"]="\x66\x6f\x72m\x61";$ohrwfjfshr="\x66a\x74u";${"G\x4cO\x42A\x4c\x53"}["\x65qk\x79\x6c\x67w\x62"]="\x61\x72\x71\x75\x69v\x6f";$xcpjtozltxy="\x65\x78\x74e\x6e\x73a\x6f";${${"GL\x4fBA\x4cS"}["\x6bj\x71\x75\x68\x67"]}=sql_injector($_POST["\x6d\x73\x67"]);${${"\x47\x4c\x4fBA\x4cS"}["t\x64\x69p\x78\x6c\x71\x77x"]}=sql_injector($_POST["\x66o\x72ma\x70"]);${"\x47L\x4f\x42A\x4c\x53"}["\x72\x6f\x6b\x7av\x68"]="\x63\x6f\x6et\x61\x66\x61t\x75\x72ac\x70";${"\x47L\x4f\x42\x41LS"}["w\x71\x6di\x65\x6eo\x70b\x78"]="S\x51L\x55\x50\x55s\x65\x72";${${"\x47L\x4fB\x41\x4c\x53"}["\x65\x71k\x79\x6c\x67\x77b"]}=$_FILES["arqui\x76\x6f"];${"\x47L\x4fB\x41L\x53"}["\x6eqj\x65\x6bpst\x76"]="\x53\x51L\x55\x50\x55se\x72";${${"\x47LOB\x41\x4c\x53"}["\x77\x71\x6dienopbx"]}="SELE\x43\x54 * \x46\x52O\x4d\x20fat\x75\x72\x61 wher\x65\x20id='".${$jstyotb}."\x27";${"\x47\x4c\x4f\x42ALS"}["pg\x6ds\x66u"]="\x5fU\x50";$fbyxhmlcly="\x69\x64\x66\x61\x74ura";${${"GL\x4f\x42\x41LS"}["\x6e\x71\x6aekp\x73\x74\x76"]}=$conn->prepare(${${"\x47LOB\x41LS"}["l\x6ad\x76o\x6d\x75"]});$SQLUPUser->execute();${${"\x47\x4c\x4f\x42\x41\x4cS"}["n\x67\x71k\x64h\x67\x63\x64\x6b"]}=$SQLUPUser->rowCount();if(${${"\x47\x4c\x4f\x42ALS"}["\x6egq\x6bdhg\x63\x64k"]}==0){${"\x47\x4cO\x42AL\x53"}["i\x67\x6f\x74\x62\x72\x76"]="\x69d\x66a\x74\x75\x72\x61";echo"<scri\x70t\x20\x74\x79\x70e\x3d\x22te\x78\x74/\x6a\x61vasc\x72i\x70\x74\">";echo"aler\x74(\x22\x46a\x74\x75ra \x6e\x6f \x65\x6e\x63o\x6et\x72a\x64\x61\x21\");";echo"wind\x6f\x77.l\x6fc\x61ti\x6fn\x3d\"h\x6f\x6d\x65\x2ep\x68\x70?page=f\x61t\x75\x72\x61s/\x63\x6fnf\x69\x72\x6d\x61\x72&id=".${${"\x47\x4cO\x42\x41\x4c\x53"}["\x69\x67\x6f\x74\x62\x72v"]}."\"\x3b";echo"</s\x63\x72\x69\x70\x74\x3e";exit;}${$ohrwfjfshr}=$SQLUPUser->fetch();${"\x47\x4c\x4f\x42\x41L\x53"}["\x65glj\x61\x69\x6c"]="\x69df\x61t\x75r\x61";if(${${"\x47\x4c\x4fB\x41L\x53"}["\x74se\x70\x6fq\x68ol"]}["\x75\x73\x75\x61rio\x5fi\x64"]<>$_SESSION["\x75\x73\x75a\x72i\x6fI\x44"]){echo"\x3c\x73cri\x70t\x20t\x79p\x65\x3d\"\x74\x65x\x74/\x6a\x61\x76as\x63\x72\x69\x70\x74\x22\x3e";echo"a\x6c\x65r\x74(\x22\x45\x73ta fa\x74ura no  \x73u\x61!\")\x3b";echo"w\x69\x6e\x64ow.l\x6f\x63\x61t\x69\x6fn=\x22h\x6fm\x65.p\x68p?\x70\x61\x67\x65=\x66\x61\x74\x75r\x61\x73/a\x62\x65rtas\x22\x3b";echo"\x3c/\x73c\x72\x69pt\x3e";exit;}${"GL\x4fBALS"}["kefd\x71x\x64vo"]="\x5f\x55P";if(${${"\x47\x4c\x4fBA\x4c\x53"}["\x6a\x75\x68\x67\x67y\x6cvn\x6f"]}["s\x74at\x75s"]=="\x63anc\x65l\x61\x64o"){echo"\x3cs\x63\x72i\x70\x74\x20type\x3d\"tex\x74/\x6a\x61v\x61\x73\x63ript\x22\x3e";echo"\x61lert(\"\x45\x73t\x61\x20f\x61tura e\x73\x74\x20ve\x6ecid\x61\x20\x6fu\x20\x65xpi\x72\x61d\x61!\x22);";echo"win\x64o\x77\x2el\x6f\x63\x61\x74io\x6e=\x22\x68\x6fme.\x70\x68p?pa\x67e\x3d\x66\x61t\x75r\x61\x73/c\x61nce\x6c\x61d\x61s\x22;";echo"</s\x63r\x69\x70t\x3e";exit;}$wgstvtbj="f\x61t\x75\x72\x61c\x70";$dkrlcug="\x66\x61\x74\x75\x72a\x63\x70";if(${${"\x47L\x4fBALS"}["\x6a\x75\x68g\x67\x79\x6c\x76n\x6f"]}["status"]=="\x70\x61go"){echo"<s\x63rip\x74 \x74\x79pe=\x22\x74ext/ja\x76\x61s\x63r\x69\x70\x74\x22\x3e";echo"a\x6ce\x72\x74(\x22\x45\x73\x74\x61\x20\x66at\x75r\x61\x20e\x73t \x70ag\x61\x21\x22);";echo"\x77\x69nd\x6f\x77.lo\x63at\x69\x6f\x6e\x3d\"\x68\x6f\x6de\x2ep\x68\x70?pa\x67\x65\x3df\x61\x74\x75r\x61\x73/p\x61\x67as\x22\x3b";echo"\x3c/\x73c\x72\x69\x70t>";exit;}${$dkrlcug}="SE\x4cE\x43T *\x20FR\x4fM \x66atura\x5f\x63\x6fm\x70ro\x76a\x6e\x74es w\x68e\x72e\x20f\x61\x74\x75\x72a_i\x64=\x27".${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["a\x76\x62\x73\x72\x75\x6fkr\x72"]}."\x27 \x61n\x64 \x75\x73\x75\x61r\x69\x6f\x5f\x69d\x3d\x27".$_SESSION["\x75s\x75a\x72\x69oI\x44"]."' and \x73\x74at\x75s=\x27\x61\x62erto\x27";${$wgstvtbj}=$conn->prepare(${${"\x47LOBAL\x53"}["\x79\x63\x68\x71\x68j\x62"]});$faturacp->execute();${${"G\x4c\x4f\x42A\x4c\x53"}["\x67\x62\x67l\x6fckt\x62\x6fg"]}=$faturacp->rowCount();if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x72\x6fkz\x76h"]}>0){echo"\x3cs\x63r\x69pt t\x79p\x65=\x22t\x65xt/ja\x76\x61s\x63\x72\x69p\x74\"\x3e";${"\x47\x4c\x4fB\x41\x4cS"}["\x75gofvxc"]="i\x64\x66atu\x72a";echo"ale\x72\x74(\"J \x70ossu\x69\x20\x75\x6d\x61 con\x66\x69\x72\x6dao\x20par\x61 es\x74\x61 \x46\x61\x74ur\x61\x20\x65m\x20andam\x65nt\x6f \x61gua\x72d\x65\x21\");";echo"\x77in\x64ow\x2el\x6fca\x74io\x6e=\x22\x2e./../h\x6fm\x65\x2ephp?p\x61ge\x3d\x66\x61\x74\x75\x72a\x73/co\x6ef\x69\x72ma\x72\x26\x69d\x3d".${${"G\x4c\x4f\x42A\x4c\x53"}["\x75\x67\x6f\x66\x76\x78\x63"]}."\x22\x3b";echo"\x3c/\x73\x63\x72\x69pt>";exit;}${${"G\x4c\x4f\x42A\x4c\x53"}["h\x68r\x6f\x70c\x63\x69\x6e\x71\x78"]}["\x70a\x73t\x61"]=".\x2e/../a\x64mi\x6e/pag\x65\x73/f\x61\x74u\x72as/c\x6fmp\x72\x6f\x76\x61\x6e\x74\x65s/";${"G\x4c\x4f\x42\x41\x4cS"}["h\x67\x72\x68\x6b\x64\x6d\x62"]="\x5f\x55P";${${"G\x4c\x4f\x42\x41\x4c\x53"}["h\x68r\x6f\x70\x63c\x69\x6eq\x78"]}["ta\x6da\x6eho"]=1024*1024*2;${${"\x47\x4c\x4f\x42\x41L\x53"}["h\x68r\x6fpcci\x6e\x71\x78"]}["e\x78\x74\x65\x6e\x73\x6f\x65\x73"]=array("j\x70\x67","p\x6e\x67","\x67i\x66");${${"\x47\x4c\x4fB\x41LS"}["h\x68\x72\x6f\x70ccin\x71x"]}["\x72e\x6eo\x6d\x65\x69a"]=true;${${"\x47\x4cO\x42A\x4cS"}["\x68\x68\x72\x6f\x70\x63ci\x6e\x71x"]}["err\x6fs"][0]="\x3csc\x72\x69p\x74 t\x79\x70e=\x22t\x65\x78\x74/ja\x76a\x73c\x72\x69\x70\x74\x22>\x61\x6c\x65r\x74(\x22No\x20houve \x65\x72\x72\x6f\");wi\x6ed\x6fw.\x6coca\x74io\x6e=\"\x2e\x2e/.\x2e/ho\x6de.\x70\x68\x70?p\x61\x67e\x3dfa\x74u\x72\x61\x73/\x63on\x66i\x72\x6d\x61\x72\x26i\x64\x3d".${$fbyxhmlcly}."\x22;\x3c/sc\x72ipt>";$cceynshiu="\x5fU\x50";${${"G\x4c\x4f\x42\x41\x4cS"}["\x68\x68r\x6f\x70\x63\x63\x69\x6e\x71\x78"]}["\x65\x72\x72\x6f\x73"][1]="\x3c\x73\x63\x72\x69\x70t\x20\x74y\x70e=\x22text/jav\x61scr\x69p\x74\"\x3e\x61\x6ce\x72\x74(\"O \x61\x72\x71\x75\x69\x76\x6f\x20n\x6f\x20uplo\x61d  \x6daior\x20\x64\x6f \x71\x75e o\x20limite\x20d\x6f P\x48\x50\")\x3b\x77in\x64\x6fw.\x6co\x63\x61ti\x6fn\x3d\x22\x2e./\x2e\x2e/ho\x6de\x2e\x70h\x70?pa\x67e=\x66at\x75\x72\x61\x73/\x63o\x6e\x66i\x72m\x61\x72&i\x64=".${$lixsbyx}."\";\x3c/\x73cript\x3e";${${"\x47\x4cO\x42\x41\x4c\x53"}["\x68hro\x70cc\x69n\x71\x78"]}["er\x72os"][2]="<\x73c\x72\x69\x70t \x74\x79p\x65\x3d\"te\x78t/j\x61v\x61\x73c\x72ip\x74\"\x3e\x61lert(\x22\x4f\x20a\x72qu\x69\x76o ultra\x70\x61s\x73a\x20\x6f\x20\x6cim\x69t\x65 \x64e\x20\x74\x61\x6dan\x68o e\x73pe\x63i\x66ia\x64\x6f\x20no \x48\x54M\x4c\x22)\x3b\x77\x69n\x64\x6fw.locat\x69o\x6e\x3d\x22../\x2e\x2e/home.ph\x70?\x70ag\x65=fa\x74\x75\x72a\x73/c\x6fn\x66\x69rm\x61\x72&id\x3d".${${"G\x4cO\x42\x41L\x53"}["\x61\x76\x62\x73\x72\x75\x6fkrr"]}."\";\x3c/\x73c\x72\x69\x70t\x3e";${${"\x47\x4c\x4fB\x41L\x53"}["p\x67ms\x66\x75"]}["\x65\x72r\x6fs"][3]="\x3c\x73\x63ri\x70t t\x79pe=\"\x74ex\x74/\x6aa\x76ascr\x69p\x74\x22>al\x65rt(\x22\x4f \x75pload \x64\x6f ar\x71\x75i\x76o foi\x20feito p\x61r\x63\x69al\x6den\x74\x65\x22)\x3bw\x69nd\x6fw.\x6cocat\x69on=\"\x2e\x2e/.\x2e/\x68om\x65.\x70hp?\x70a\x67\x65=\x66a\x74u\x72as/c\x6f\x6e\x66ir\x6dar&id=".${${"\x47\x4cO\x42\x41\x4c\x53"}["avb\x73\x72\x75\x6fk\x72r"]}."\"\x3b</s\x63ri\x70\x74\x3e";${$cceynshiu}["e\x72ro\x73"][4]="\x3c\x73\x63r\x69\x70\x74 typ\x65=\"text/\x6aa\x76as\x63r\x69\x70t\"\x3eal\x65rt(\x22No f\x6f\x69 \x66eit\x6f\x20\x6f\x20\x75p\x6c\x6fad do a\x72qu\x69v\x6f\");windo\x77\x2el\x6fcat\x69\x6fn=\x22../.\x2e/\x68\x6fm\x65\x2e\x70hp?\x70\x61g\x65\x3d\x66\x61\x74u\x72a\x73/conf\x69\x72\x6d\x61r&i\x64\x3d".${${"\x47\x4c\x4fB\x41\x4c\x53"}["eg\x6c\x6a\x61i\x6c"]}."\x22;</sc\x72i\x70\x74>";if($_FILES["\x61\x72\x71\x75ivo"]["\x65\x72\x72\x6fr"]!=0){${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x6f\x63yl\x70d\x68\x77srqr"]="_\x55\x50";die("".${${"G\x4c\x4f\x42A\x4cS"}["\x6f\x63\x79\x6c\x70\x64\x68\x77\x73\x72\x71\x72"]}["\x65\x72\x72\x6fs"][$_FILES["\x61\x72\x71\x75iv\x6f"]["\x65rr\x6f\x72"]]);exit;}${${"\x47LOB\x41\x4cS"}["\x66\x6e\x6b\x78\x75\x71u"]}=strtolower(end(explode("\x2e",$_FILES["ar\x71uiv\x6f"]["nam\x65"])));if(array_search(${$xcpjtozltxy},${${"GL\x4f\x42ALS"}["h\x68\x72\x6fp\x63c\x69\x6eq\x78"]}["\x65\x78\x74\x65nso\x65\x73"])===false){echo"\x3cs\x63\x72ip\x74\x20ty\x70e\x3d\x22\x74\x65xt/\x6a\x61\x76\x61\x73\x63ri\x70t\">";echo"ale\x72\x74(\x22\x50\x6fr \x66\x61v\x6fr, \x65nv\x69\x65 \x61rq\x75\x69vos c\x6fm\x20as seg\x75\x69nte\x73 \x65x\x74e\x6es\x65\x73:\x20\x6a\x70g, \x70\x6e\x67 ou g\x69\x66\");";echo"\x77\x69n\x64o\x77.\x6cocatio\x6e=\x22../\x2e./hom\x65\x2e\x70\x68p?\x70\x61\x67e\x3dfa\x74\x75\x72\x61\x73/co\x6ef\x69rm\x61\x72&\x69\x64=".${${"G\x4c\x4f\x42\x41\x4cS"}["a\x76bs\x72uo\x6b\x72\x72"]}."\x22;";echo"</\x73crip\x74\x3e";exit;}if(${${"G\x4cOB\x41\x4c\x53"}["\x68\x67\x72h\x6b\x64\x6d\x62"]}["\x74\x61man\x68o"]<$_FILES["a\x72\x71u\x69v\x6f"]["\x73\x69z\x65"]){echo"\x3csc\x72ipt \x74\x79\x70\x65=\"\x74\x65xt/j\x61\x76\x61\x73c\x72\x69\x70t\x22>";echo"ale\x72\x74(\"\x4f \x61\x72\x71\x75i\x76\x6f\x20\x65nviado \x20\x6d\x75\x69to \x67r\x61nde,\x20e\x6ev\x69\x65\x20ar\x71u\x69vos\x20d\x65\x20\x61t\x202\x4d\x62\x2e\x22)\x3b";echo"\x77i\x6edo\x77\x2e\x6co\x63\x61t\x69\x6f\x6e=\"\x2e\x2e/.\x2e/home\x2e\x70\x68\x70?p\x61ge=fa\x74u\x72as/\x63\x6fnf\x69\x72m\x61\x72&\x69\x64\x3d".${${"\x47L\x4fBA\x4c\x53"}["\x61\x76\x62s\x72u\x6f\x6b\x72\x72"]}."\"\x3b";echo"\x3c/\x73cr\x69\x70t>";exit;}if(${${"\x47LO\x42\x41\x4c\x53"}["kefd\x71\x78\x64\x76\x6f"]}["ren\x6f\x6d\x65i\x61"]==true){$lgmokj="\x6eo\x6de\x5f\x66\x69\x6ea\x6c";${$lgmokj}=md5(time())."\x2ejpg";}else{${"\x47L\x4fB\x41L\x53"}["\x65\x64\x6b\x64\x72\x66ee"]="\x6eo\x6d\x65\x5f\x66\x69\x6e\x61l";${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x65\x64\x6bd\x72f\x65e"]}=$_FILES["\x61\x72\x71\x75i\x76o"]["\x6e\x61me"];}if(move_uploaded_file($_FILES["arq\x75\x69vo"]["tmp_n\x61\x6de"],${${"GL\x4fB\x41\x4c\x53"}["h\x68ro\x70\x63\x63i\x6eqx"]}["\x70asta"].${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x75um\x68t\x69\x73"]})){${"\x47LO\x42\x41\x4cS"}["ou\x6e\x72osnl\x70\x6c"]="\x64\x61\x74\x61";$vjmgbvjtfoi="\x66\x6fr\x6da\x70\x61g\x74o";$jgacqcda="\x66\x6fr\x6d\x61";$iyuhoho="n\x6f\x74a";switch(${$jgacqcda}){case 1:${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x76\x73mp\x78\x70\x63\x69\x70z\x77\x78"]}="b\x6f\x6ce\x74o";break;case 2:${$vjmgbvjtfoi}="deptra";break;default:${${"GLOBAL\x53"}["v\x73\x6dp\x78p\x63ip\x7a\x77\x78"]}="b\x6fle\x74\x6f";break;}if(${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["\x61\x65\x71h\x6e\x61l\x79\x6exr"]}==""){${${"G\x4c\x4fB\x41\x4cS"}["\x61\x65\x71\x68\x6e\x61\x6c\x79\x6e\x78\x72"]}="N/\x64";}else{$ahhtngsdlos="\x6e\x6f\x74\x61";${${"\x47\x4c\x4f\x42\x41\x4cS"}["a\x65\x71\x68\x6e\x61\x6cy\x6e\x78\x72"]}=${$ahhtngsdlos};}$bgfstrspx="i\x6e\x73\x65r\x65\x63\x70";${${"\x47\x4c\x4fBAL\x53"}["\x6fu\x6e\x72o\x73\x6e\x6c\x70\x6c"]}=date("Y-m-d\x20\x48:i:s");${${"\x47\x4cO\x42\x41\x4c\x53"}["\x61\x74\x62\x79qg\x70\x78t\x78\x66o"]}="\x49\x4e\x53\x45\x52\x54 I\x4eT\x4f\x20f\x61\x74\x75r\x61_\x63o\x6dp\x72o\x76antes (\x66\x61tura_\x69d,\x75\x73\x75ario_i\x64,\x64\x61\x74\x61,f\x6f\x72m\x61pa\x67\x61\x6dento,not\x61,imag\x65m)\x20\x76alu\x65\x73 ('".${${"\x47L\x4f\x42\x41\x4cS"}["a\x76\x62s\x72uok\x72r"]}."','".$_SESSION["\x75\x73\x75a\x72i\x6fID"]."\x27,'".${${"G\x4cOB\x41LS"}["n\x61m\x63\x71\x6e\x67\x74\x6c\x62"]}."','".${${"\x47\x4c\x4fBA\x4cS"}["v\x73\x6d\x70\x78p\x63\x69\x70\x7aw\x78"]}."','".${$iyuhoho}."',\x27".${${"\x47L\x4fB\x41L\x53"}["\x75u\x6d\x68t\x69\x73"]}."')";${"\x47\x4c\x4f\x42\x41LS"}["\x74\x66\x71\x71\x70\x63\x63\x68\x6dq\x6d\x6d"]="id\x66\x61tu\x72\x61";${${"\x47\x4c\x4f\x42A\x4cS"}["\x61\x74b\x79\x71g\x70xt\x78\x66o"]}=$conn->prepare(${$bgfstrspx});$inserecp->execute();echo"<\x73c\x72ip\x74 \x74\x79\x70\x65=\"t\x65\x78\x74/jav\x61\x73\x63\x72\x69p\x74\x22\x3e";echo"\x61\x6cer\x74(\x22En\x76ia\x64o \x63o\x6d\x20su\x63\x65\x73s\x6f!\x20A\x67\x75a\x72d\x65 \x75m\x20pr\x61z\x6f d\x65 \x61t 4\x20\x68ora\x73\x22);";echo"win\x64\x6fw.l\x6fc\x61\x74ion\x3d\"\x2e\x2e/.\x2e/h\x6f\x6de\x2e\x70hp?page\x3d\x66\x61\x74\x75\x72a\x73/\x63onf\x69\x72ma\x72\x26\x69d\x3d".${${"\x47L\x4f\x42ALS"}["t\x66q\x71\x70\x63\x63\x68\x6d\x71\x6dm"]}."\"\x3b";echo"\x3c/\x73\x63ri\x70\x74>";}else{$lagtgxpjgc="\x69\x64\x66\x61\x74\x75r\x61";echo"<scr\x69\x70t type=\x22\x74ext/\x6aavas\x63\x72i\x70t\x22\x3e";echo"\x61l\x65r\x74(\x22N\x6f f\x6f\x69 \x70\x6f\x73\x73ivel \x65n\x76\x69a\x72 o \x61\x72qui\x76o t\x65\x6e\x74e\x20novam\x65n\x74\x65\x21\")\x3b";echo"wi\x6ed\x6f\x77.lo\x63\x61\x74ion=\x22\x2e./\x2e./\x68ome.ph\x70?pa\x67\x65\x3d\x66\x61\x74uras/\x63o\x6e\x66\x69rm\x61\x72&\x69d\x3d".${$lagtgxpjgc}."\";";echo"\x3c/\x73cri\x70\x74>";}}else{echo"\x74e\x73t\x65";}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'namcqngtlb', 'value': 'data'}, {'key': 'atbyqgpxtxfo', 'value': 'inserecp'}, {'key': 'aeqhnalynxr', 'value': 'nota'}, {'key': 'vsmpxpcipzwx', 'value': 'formapagto'}, {'key': 'uumhtis', 'value': 'nome_final'}, {'key': 'fnkxuqu', 'value': 'extensao'}, {'key': 'hhropccinqx', 'value': '_UP'}, {'key': 'gbglocktbog', 'value': 'contafaturacp'}, {'key': 'ychqhjb', 'value': 'faturacp'}, {'key': 'avbsruokrr', 'value': 'idfatura'}, {'key': 'juhggylvno', 'value': 'fatu'}, {'key': 'ngqkdhgcdk', 'value': 'conta'}, {'key': 'ljdvomu', 'value': 'SQLUPUser'}]

Stats

MD5 e299fc435d0fd8790f7a49bc8f889c27
Eval Count 0
Decode Time 82 ms