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 error_reporting(0); ${"\x47\x4cOB\x41\x4cS"}["q\x6c\x6d\x67ff\x76f\x75i\x68\x67"]=..
Decoded Output download
<?php
error_reporting(0);
${"GLOBALS"}["qlmgffvfuihg"]="errstr";
${"GLOBALS"}["ltrnhjmxkfu"]="errno";
${"GLOBALS"}["xaflrft"]="socket";
$host="localhost";
if(
${${"GLOBALS"}["xaflrft"]}
=
@fsockopen(
$host,
80,
${${"GLOBALS"}["ltrnhjmxkfu"]},
${${"GLOBALS"}["qlmgffvfuihg"]},
30
)
){
echo"1";
fclose(${${"GLOBALS"}["xaflrft"]});
}else{
echo"0";
}
?>
Did this file decode correctly?
Original Code
<?php
error_reporting(0);
${"\x47\x4cOB\x41\x4cS"}["q\x6c\x6d\x67ff\x76f\x75i\x68\x67"]="e\x72rs\x74\x72";
${"\x47\x4c\x4f\x42A\x4c\x53"}["\x6c\x74rn\x68j\x6d\x78k\x66u"]="e\x72r\x6e\x6f";
${"GLOB\x41\x4cS"}["x\x61fl\x72\x66\x74"]="\x73\x6f\x63\x6be\x74";
$host="\x6coc\x61\x6chos\x74";
if(
${${"\x47LOBA\x4cS"}["\x78af\x6cr\x66\x74"]}
=
@fsockopen(
$host,
80,
${${"GL\x4fBAL\x53"}["lt\x72\x6e\x68j\x6d\x78k\x66\x75"]},
${${"\x47\x4c\x4f\x42\x41\x4cS"}["\x71\x6c\x6d\x67\x66\x66\x76fu\x69\x68\x67"]},
30
)
){
echo"1";
fclose(${${"\x47\x4cOB\x41\x4cS"}["xa\x66\x6c\x72f\x74"]});
}else{
echo"0";
}
?>
Function Calls
fsockopen | 1 |
error_reporting | 1 |
Stats
MD5 | ca12d70f496ed8659b212a86aca368dd |
Eval Count | 0 |
Decode Time | 49 ms |