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 /* TELA FAKE BY KIN0X - (94) 99178-3516 */ ${"\x47LO\x42\x41\x4c\x53"}["\x65ah\x6..

Decoded Output download

<?php /* 
TELA FAKE BY KIN0X - (94) 99178-3516 
*/ 
${"GLOBALS"}["eahncynmxo"]="dados";${"GLOBALS"}["ogxxqrnnd"]="query";${"GLOBALS"}["vpstnebpa"]="sql1";${"GLOBALS"}["qpkfmeusr"]="tokken";${"GLOBALS"}["mnzdvgckxm"]="user";${"GLOBALS"}["cxesfppylxqv"]="linhas";${"GLOBALS"}["rvvhrlkc"]="sql";${"GLOBALS"}["ntdrwjpa"]="ConnectDB";${"GLOBALS"}["eyxlyv"]="string";echo "";error_reporting(0);require_once("../../../../conexao/connect.php");${"GLOBALS"}["wuhifygaa"]="ConnectDB";error_reporting(0);$ubwbgxaaoet="linhas";function anti_sql_injection($string){$lmynxibfb="string";include("../../../../conexao/connect.php");${"GLOBALS"}["ieglppvqubl"]="string";$xocgsswouqp="string";$qcketlv="string";${$xocgsswouqp}=stripslashes(${${"GLOBALS"}["ieglppvqubl"]});${${"GLOBALS"}["eyxlyv"]}=strip_tags(${$lmynxibfb});${${"GLOBALS"}["eyxlyv"]}=mysqli_real_escape_string(${${"GLOBALS"}["ntdrwjpa"]},${${"GLOBALS"}["eyxlyv"]});return${$qcketlv};}${${"GLOBALS"}["rvvhrlkc"]}=mysqli_query(${${"GLOBALS"}["wuhifygaa"]},"select * from admin where usuario='".anti_sql_injection($_POST["usuario"])."' and senha='".anti_sql_injection(md5($_POST["senha"]))."' limit 1")or die("Erro");${${"GLOBALS"}["cxesfppylxqv"]}=mysqli_num_rows(${${"GLOBALS"}["rvvhrlkc"]});if(${$ubwbgxaaoet}==""){session_start();$_SESSION["msg"]="<div class='alert alert-info alert-dismissible fade in mb-2' role='alert'>
		<button type='button' class='close' data-dismiss='alert' aria-label='Close'>
		<span aria-hidden='true'></span>
		</button>
		<strong>Error!</strong> Usario ou senha incorreto!
		</div>";header("Location: ../index.php");exit();}else{${"GLOBALS"}["dlfpbubefgb"]="tokken";$mbjdcgjmmcvl="sql1";date_default_timezone_set("America/Sao_Paulo");${${"GLOBALS"}["dlfpbubefgb"]}=md5(filter_input(INPUT_POST,"tokken",FILTER_SANITIZE_STRING));header("Content-Type: text/html; charset=UTF-8");${${"GLOBALS"}["mnzdvgckxm"]}=${${"GLOBALS"}["qpkfmeusr"]};${${"GLOBALS"}["vpstnebpa"]}="SELECT * FROM `seguranca` WHERE `secreto` = '{$user}'";${${"GLOBALS"}["ogxxqrnnd"]}=$ConnectDB->query(${$mbjdcgjmmcvl});if($query->num_rows>0){${"GLOBALS"}["yjduflkvqgi"]="sql";$dyhvwmhskwgv="dados";while(${$dyhvwmhskwgv}=mysqli_fetch_assoc(${${"GLOBALS"}["yjduflkvqgi"]})){session_start();$_SESSION["nome_usu_sessao"]=${${"GLOBALS"}["eahncynmxo"]}["usuario"];header("Location: ../painel.php?page=index");}}else{$dpwjornoe="ConnectDB";if(mysqli_insert_id(${$dpwjornoe})>=0){session_start();$_SESSION["msg"]="<div class='alert alert-info alert-dismissible fade in mb-2' role='alert'>
	<button type='button' class='close' data-dismiss='alert' aria-label='Close'>
	<span aria-hidden='true'></span>
	</button>
	<strong>Ateno!</strong> Tokken Invlido!
	</div>";header("Location: ../index.php");}else{};}} ?>

Did this file decode correctly?

Original Code

<?php /*
TELA FAKE BY KIN0X - (94) 99178-3516
*/
${"\x47LO\x42\x41\x4c\x53"}["\x65ah\x6e\x63y\x6e\x6dx\x6f"]="d\x61d\x6fs";${"G\x4c\x4f\x42A\x4c\x53"}["\x6f\x67\x78\x78\x71\x72\x6end"]="qu\x65r\x79";${"\x47\x4cOB\x41\x4cS"}["\x76\x70\x73t\x6e\x65\x62\x70\x61"]="s\x71l\x31";${"\x47L\x4f\x42AL\x53"}["\x71\x70\x6bf\x6d\x65u\x73\x72"]="t\x6f\x6b\x6b\x65n";${"G\x4c\x4f\x42\x41L\x53"}["\x6dnz\x64\x76gc\x6bxm"]="us\x65\x72";${"G\x4c\x4f\x42\x41\x4c\x53"}["\x63\x78e\x73fp\x70\x79lx\x71v"]="\x6c\x69\x6e\x68\x61\x73";${"GL\x4fBA\x4cS"}["\x72v\x76h\x72\x6ckc"]="sql";${"G\x4c\x4fB\x41\x4c\x53"}["\x6e\x74dr\x77\x6a\x70\x61"]="Con\x6ee\x63\x74DB";${"\x47\x4cOB\x41L\x53"}["\x65\x79x\x6cy\x76"]="\x73t\x72\x69ng";echo "";error_reporting(0);require_once("\x2e./../\x2e./../\x63\x6fn\x65x\x61\x6f/co\x6e\x6e\x65c\x74.\x70\x68p");${"\x47L\x4f\x42\x41LS"}["\x77u\x68ifyg\x61a"]="\x43onne\x63\x74\x44\x42";error_reporting(0);$ubwbgxaaoet="li\x6e\x68a\x73";function anti_sql_injection($string){$lmynxibfb="s\x74ring";include("\x2e\x2e/\x2e\x2e/\x2e./../cone\x78ao/\x63o\x6e\x6ee\x63\x74\x2e\x70hp");${"\x47\x4c\x4f\x42AL\x53"}["i\x65g\x6c\x70\x70v\x71u\x62\x6c"]="\x73\x74r\x69ng";$xocgsswouqp="s\x74\x72i\x6e\x67";$qcketlv="s\x74\x72\x69n\x67";${$xocgsswouqp}=stripslashes(${${"\x47L\x4f\x42\x41LS"}["\x69\x65\x67\x6cpp\x76q\x75\x62\x6c"]});${${"\x47\x4c\x4f\x42A\x4c\x53"}["\x65\x79\x78l\x79\x76"]}=strip_tags(${$lmynxibfb});${${"G\x4cO\x42\x41\x4c\x53"}["eyxl\x79\x76"]}=mysqli_real_escape_string(${${"\x47LOBA\x4c\x53"}["\x6e\x74\x64\x72w\x6a\x70a"]},${${"\x47L\x4fB\x41LS"}["\x65\x79\x78\x6c\x79v"]});return${$qcketlv};}${${"\x47\x4cOB\x41\x4cS"}["rv\x76\x68\x72\x6c\x6bc"]}=mysqli_query(${${"\x47L\x4fBA\x4cS"}["\x77uhifyg\x61\x61"]},"\x73\x65\x6cect\x20*\x20f\x72o\x6d a\x64min where\x20u\x73\x75a\x72io\x3d'".anti_sql_injection($_POST["u\x73ua\x72i\x6f"])."'\x20an\x64 s\x65n\x68\x61\x3d\x27".anti_sql_injection(md5($_POST["s\x65nh\x61"]))."\x27\x20\x6ci\x6dit \x31")or die("E\x72\x72\x6f");${${"G\x4c\x4fB\x41L\x53"}["\x63\x78\x65\x73\x66p\x70y\x6c\x78\x71v"]}=mysqli_num_rows(${${"G\x4c\x4fB\x41\x4c\x53"}["\x72v\x76\x68\x72l\x6b\x63"]});if(${$ubwbgxaaoet}==""){session_start();$_SESSION["\x6ds\x67"]="\x3c\x64i\x76\x20\x63l\x61s\x73=\x27ale\x72t\x20\x61\x6c\x65\x72t-\x69\x6efo\x20\x61\x6c\x65r\x74-d\x69s\x6d\x69ss\x69b\x6c\x65 \x66\x61d\x65 \x69\x6e m\x62-2\x27 r\x6fle\x3d'aler\x74'>\n\t\t\x3cbu\x74t\x6fn\x20\x74\x79\x70e\x3d'b\x75\x74t\x6f\x6e\x27\x20class=\x27\x63lose\x27\x20\x64\x61t\x61-d\x69\x73\x6d\x69ss='\x61\x6cer\x74\x27 ar\x69\x61-\x6ca\x62\x65l\x3d'\x43l\x6f\x73\x65'>\n\t\t\x3c\x73\x70an\x20\x61\x72ia-\x68i\x64\x64\x65n\x3d\x27t\x72\x75e\x27\x3e</\x73\x70a\x6e>\n\t\t</\x62\x75t\x74\x6f\x6e\x3e\n\t\t<s\x74r\x6fn\x67\x3e\x45rror!</\x73t\x72\x6fng>\x20U\x73ari\x6f\x20\x6fu\x20se\x6eh\x61\x20\x69\x6ec\x6f\x72r\x65t\x6f!\n\t\t</di\x76\x3e";header("\x4co\x63a\x74\x69\x6f\x6e: \x2e\x2e/ind\x65x\x2ep\x68p");exit();}else{${"\x47\x4cOB\x41LS"}["dlf\x70bu\x62\x65f\x67\x62"]="\x74\x6f\x6b\x6be\x6e";$mbjdcgjmmcvl="\x73\x71l\x31";date_default_timezone_set("A\x6d\x65\x72\x69\x63\x61/\x53ao\x5fPa\x75\x6c\x6f");${${"\x47\x4c\x4f\x42\x41\x4c\x53"}["dlfpbu\x62ef\x67\x62"]}=md5(filter_input(INPUT_POST,"t\x6f\x6b\x6b\x65\x6e",FILTER_SANITIZE_STRING));header("\x43\x6fn\x74e\x6e\x74-Type:\x20\x74e\x78\x74/ht\x6d\x6c;\x20\x63h\x61r\x73e\x74\x3dU\x54F-8");${${"\x47\x4cO\x42\x41\x4cS"}["\x6dn\x7ad\x76\x67c\x6b\x78\x6d"]}=${${"\x47\x4cOB\x41\x4cS"}["\x71p\x6b\x66\x6deu\x73\x72"]};${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x76p\x73\x74\x6e\x65\x62\x70\x61"]}="\x53\x45LE\x43T\x20* F\x52\x4fM\x20\x60\x73e\x67\x75\x72a\x6e\x63a\x60 \x57HE\x52E \x60s\x65\x63\x72e\x74\x6f` = \x27{$user}'";${${"GL\x4f\x42\x41\x4cS"}["\x6f\x67xx\x71\x72\x6en\x64"]}=$ConnectDB->query(${$mbjdcgjmmcvl});if($query->num_rows>0){${"\x47L\x4f\x42\x41\x4c\x53"}["\x79j\x64\x75f\x6c\x6bv\x71g\x69"]="\x73\x71\x6c";$dyhvwmhskwgv="\x64\x61\x64\x6fs";while(${$dyhvwmhskwgv}=mysqli_fetch_assoc(${${"\x47\x4cOB\x41LS"}["\x79\x6a\x64\x75\x66lk\x76qgi"]})){session_start();$_SESSION["\x6eo\x6de_usu_\x73\x65\x73\x73\x61o"]=${${"GL\x4f\x42\x41\x4c\x53"}["\x65\x61\x68n\x63\x79\x6e\x6dxo"]}["\x75su\x61r\x69o"];header("Locatio\x6e:\x20\x2e./\x70ain\x65\x6c\x2e\x70\x68\x70?\x70ag\x65\x3di\x6e\x64\x65x");}}else{$dpwjornoe="\x43\x6f\x6en\x65\x63\x74\x44\x42";if(mysqli_insert_id(${$dpwjornoe})>=0){session_start();$_SESSION["\x6ds\x67"]="<\x64i\x76 \x63\x6cas\x73\x3d'al\x65\x72\x74 \x61\x6cer\x74-in\x66o\x20a\x6c\x65r\x74-d\x69s\x6d\x69\x73\x73ib\x6ce\x20f\x61\x64e\x20\x69n\x20mb-\x32\x27 r\x6fle='\x61\x6cert\x27>\n\t<bu\x74\x74o\x6e \x74\x79\x70e=\x27but\x74on\x27 c\x6c\x61\x73s=\x27\x63\x6c\x6fse' \x64\x61ta-dism\x69\x73s='\x61ler\x74\x27\x20\x61ria-label\x3d'Cl\x6fs\x65\x27\x3e\n\t<s\x70\x61\x6e a\x72\x69\x61-h\x69\x64de\x6e\x3d't\x72\x75\x65\x27>\x3c/\x73pan\x3e\n\t</\x62\x75tto\x6e\x3e\n\t\x3cst\x72\x6f\x6e\x67>\x41\x74e\x6e\x6f\x21\x3c/\x73tr\x6fng\x3e\x20Tok\x6b\x65\x6e \x49\x6e\x76\x6c\x69do!\n\t</d\x69\x76\x3e";header("\x4c\x6f\x63at\x69o\x6e:\x20../in\x64e\x78\x2e\x70hp");}else{};}}

Function Calls

error_reporting 1

Variables

GLOBALS [{'key': 'eahncynmxo', 'value': 'dados'}, {'key': 'ogxxqrnnd', 'value': 'query'}, {'key': 'vpstnebpa', 'value': 'sql1'}, {'key': 'qpkfmeusr', 'value': 'tokken'}, {'key': 'mnzdvgckxm', 'value': 'user'}, {'key': 'cxesfppylxqv', 'value': 'linhas'}, {'key': 'rvvhrlkc', 'value': 'sql'}, {'key': 'ntdrwjpa', 'value': 'ConnectDB'}, {'key': 'eyxlyv', 'value': 'string'}]

Stats

MD5 f58e53fad0abcaf3b0ad7d34c4085594
Eval Count 0
Decode Time 104 ms