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\x4cO\x42A\x4c\x53"}["\x6d\x79va\x6en\x69u"]="pu\x70\x6f\x70";$d->reset();${"..

Decoded Output download

<?php ${"GLOBALS"}["myvanniu"]="pupop";$d->reset();${"GLOBALS"}["vqqmrk"]="sql_pupop";${"GLOBALS"}["qjucbl"]="sql_pupop";${${"GLOBALS"}["vqqmrk"]}="select photo,ten,hienthi from #_background where hienthi=1 and type='pupop' limit 0,1";$d->query(${${"GLOBALS"}["qjucbl"]});${${"GLOBALS"}["myvanniu"]}=$d->fetch_array();if(${${"GLOBALS"}["myvanniu"]}["hienthi"]==1 and empty($_SERVER["HTTP_REFERER"])){echo "<script type="text/javascript">
	\$(document).ready(function(e) {      
		var loginbox = '#login-box';
		var laycao = \$('.login-popup').height();
		var layrong = \$('.login-popup').width();
		\$('.login-popup').css({'height':laycao,'width':layrong});	
		\$(loginbox).fadeIn(300);
		var chieucao = \$(loginbox).height() / 2;
		var chieurong = \$(loginbox).width() /2;
		\$(loginbox).css({'margin-top':-chieucao,'margin-left':-chieurong});		
		\$('body').append('<div id="baophu"></div>');
		\$('#baophu').fadeIn(300);		
		\$('#baophu, .close-popup').live('click',function(){
			\$('#baophu, .login-popup').fadeOut(300, function(){
				\$('#baophu').remove();
			});			
		});
    });
</script>
<div id="login-box" class="login-popup">
    <div class="close-popup\" title="ng qung co\">x</div>
    <div class=\"login\">
    	<a href=\"";echo ${${"GLOBALS"}["myvanniu"]}["link"];echo "\" title=\"Xem ngay"><img src="";echo _upload_hinhanh_l.${${"GLOBALS"}["myvanniu"]}["photo"];echo "\" /></a>
    </div>
    <div class="clear\"></div>
</div>
";$_SESSION["pupop"]=true;} 
?>

Did this file decode correctly?

Original Code

<?php ${"\x47\x4cO\x42A\x4c\x53"}["\x6d\x79va\x6en\x69u"]="pu\x70\x6f\x70";$d->reset();${"\x47L\x4fBAL\x53"}["v\x71\x71\x6d\x72\x6b"]="\x73\x71l\x5f\x70u\x70\x6fp";${"\x47\x4cO\x42\x41\x4c\x53"}["\x71j\x75\x63\x62l"]="\x73\x71l\x5f\x70\x75pop";${${"\x47\x4c\x4fBA\x4c\x53"}["v\x71\x71\x6drk"]}="\x73\x65lec\x74\x20\x70hot\x6f,t\x65n,hie\x6e\x74h\x69 \x66rom \x23\x5fb\x61\x63\x6b\x67\x72\x6f\x75n\x64\x20\x77\x68\x65\x72e\x20hie\x6ethi\x3d1 \x61nd ty\x70e='\x70up\x6f\x70\x27\x20\x6cim\x69\x74\x200,1";$d->query(${${"\x47L\x4f\x42A\x4c\x53"}["q\x6a\x75c\x62l"]});${${"\x47\x4cO\x42ALS"}["\x6dy\x76\x61nn\x69\x75"]}=$d->fetch_array();if(${${"\x47L\x4f\x42\x41LS"}["my\x76\x61nn\x69\x75"]}["hi\x65nth\x69"]==1 and empty($_SERVER["\x48\x54T\x50_\x52E\x46\x45RE\x52"])){echo "\x3cs\x63r\x69\x70\x74 typ\x65\x3d\x22\x74\x65\x78\x74/\x6a\x61vas\x63\x72ipt\x22\x3e\n\t\$(\x64\x6f\x63\x75\x6dent)\x2ere\x61\x64y(\x66\x75nct\x69o\x6e(e)\x20{\x20\x20\x20 \x20\x20\n\t\t\x76\x61r\x20\x6c\x6f\x67i\x6ebox \x3d\x20\x27\x23l\x6fg\x69\x6e-\x62\x6fx';\n\t\t\x76a\x72 l\x61\x79c\x61o =\x20\$('\x2e\x6c\x6f\x67\x69n-\x70\x6f\x70\x75\x70')\x2eh\x65i\x67h\x74();\n\t\t\x76\x61r\x20lay\x72on\x67\x20\x3d \$(\x27\x2elo\x67in-p\x6fp\x75\x70')\x2e\x77\x69\x64t\x68();\n\t\t\$('.\x6co\x67in-\x70\x6f\x70\x75\x70\x27)\x2ecss({\x27\x68e\x69gh\x74':\x6c\x61\x79\x63a\x6f,\x27\x77idth\x27:\x6c\x61yron\x67});\t\n\t\t\$(\x6co\x67\x69\x6eb\x6f\x78).\x66\x61\x64\x65\x49\x6e(\x3300)\x3b\n\t\t\x76a\x72 c\x68i\x65uc\x61o\x20= \$(\x6cogin\x62o\x78).\x68\x65\x69\x67ht() / \x32;\n\t\tv\x61\x72 c\x68ie\x75r\x6f\x6e\x67 \x3d \$(\x6co\x67inbo\x78).w\x69dth() /2;\n\t\t\$(l\x6fgi\x6ebox)\x2ec\x73\x73({'\x6d\x61rgi\x6e-\x74\x6f\x70':-\x63\x68\x69eu\x63\x61o,\x27m\x61\x72g\x69n-\x6c\x65f\x74':-chi\x65u\x72o\x6eg});\t\t\n\t\t\$(\x27\x62\x6f\x64y\x27)\x2e\x61\x70pe\x6ed('\x3cdi\x76\x20\x69\x64=\x22\x62aop\x68\x75\x22\x3e</d\x69v>')\x3b\n\t\t\$('#\x62aophu').f\x61de\x49\x6e(3\x300);\t\t\n\t\t\$(\x27#\x62\x61\x6f\x70h\x75,\x20\x2e\x63lose-p\x6f\x70u\x70\x27)\x2e\x6c\x69\x76e('\x63\x6c\x69c\x6b',fu\x6e\x63tion(){\n\t\t\t\$('#\x62ao\x70\x68u, .\x6c\x6fgin-\x70op\x75p\x27).f\x61d\x65O\x75t(3\x300,\x20\x66u\x6e\x63\x74i\x6fn(){\n\t\t\t\t\$('#\x62aophu\x27)\x2e\x72\x65m\x6f\x76e();\n\t\t\t});\t\t\t\n\t\t})\x3b\n\x20  \x20});\n\x3c/s\x63\x72ip\x74>\n\x3cd\x69v id\x3d\x22login-b\x6fx\x22 \x63la\x73\x73\x3d\x22\x6co\x67in-\x70\x6fp\x75p\x22\x3e\n  \x20\x20<\x64\x69\x76 \x63\x6c\x61\x73s=\x22clos\x65-\x70\x6f\x70up\"\x20\x74itle\x3d\x22n\x67 \x71\x75ng co\">\x78\x3c/\x64iv>\n    <di\x76\x20\x63las\x73\x3d\"l\x6f\x67\x69\x6e\"\x3e\n\x20  \x20\t<\x61\x20\x68re\x66\x3d\"";echo ${${"GL\x4f\x42\x41L\x53"}["\x6d\x79\x76\x61\x6e\x6e\x69\x75"]}["li\x6e\x6b"];echo "\" t\x69\x74le=\"\x58e\x6d \x6ega\x79\x22><\x69m\x67\x20\x73rc=\x22";echo _upload_hinhanh_l.${${"\x47\x4cOB\x41\x4c\x53"}["\x6d\x79\x76\x61\x6e\x6e\x69\x75"]}["ph\x6f\x74o"];echo "\" /\x3e</a>\n \x20\x20 \x3c/\x64i\x76>\n    \x3c\x64i\x76 \x63\x6c\x61s\x73\x3d\x22\x63le\x61r\">\x3c/\x64\x69v>\n</d\x69v\x3e\n";$_SESSION["pu\x70\x6f\x70"]=true;}
?>

Function Calls

None

Variables

GLOBALS [{'key': 'myvanniu', 'value': 'pupop'}]

Stats

MD5 b87cb58e95b9276729bf431b518f1f36
Eval Count 0
Decode Time 42 ms