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\x4fBA\x4c\x53" } ["\x6alohb\x6d\x67"] = "db\x6e\x61\x6d\x65"; ..

Decoded Output download

<?php $
{
    "GLOBALS"
}
["jlohbmg"] = "dbname";
$
{
    "GLOBALS"
}
["mkxikaufrcc"] = "dbpass";
$
{
    "GLOBALS"
}
["wnyfudh"] = "dbhost";
$
{
    "GLOBALS"
}
["bvjvtkdnikul"] = "mysqli";
$
{
    "GLOBALS"
}
["afujww"] = "dbuser";
echo "

";
$
{
    $
    {
        "GLOBALS"
    }
    ["bvjvtkdnikul"]
} = new mysqli($
{
    $
    {
        "GLOBALS"
    }
    ["wnyfudh"]
}
, $
{
    $
    {
        "GLOBALS"
    }
    ["afujww"]
}
, $
{
    $
    {
        "GLOBALS"
    }
    ["mkxikaufrcc"]
}
, $
{
    $
    {
        "GLOBALS"
    }
    ["jlohbmg"]
});
if ($mysqli->connect_errno) echo "A conexao falhou: (" . $mysqli->connect_errno . ")" . $mysqli->connect_error;
$mysqli->query("SET NAMES 'utf8'");
$mysqli->query("SET character_set_mysqliection=utf8");
$mysqli->query("SET character_set_client=utf8");
$mysqli->query("SET character_set_results=utf8");
echo "

";
?>

Did this file decode correctly?

Original Code

<?php $
{
    "\x47\x4c\x4fBA\x4c\x53"
}
["\x6alohb\x6d\x67"] = "db\x6e\x61\x6d\x65";
$
{
    "\x47\x4cO\x42\x41\x4c\x53"
}
["\x6d\x6bx\x69\x6b\x61\x75\x66\x72\x63\x63"] = "db\x70a\x73\x73";
$
{
    "\x47\x4c\x4f\x42AL\x53"
}
["\x77\x6ey\x66\x75\x64\x68"] = "\x64b\x68\x6f\x73\x74";
$
{
    "\x47\x4cO\x42A\x4c\x53"
}
["b\x76\x6a\x76\x74\x6b\x64\x6ei\x6bu\x6c"] = "\x6d\x79\x73\x71\x6c\x69";
$
{
    "\x47LOB\x41\x4cS"
}
["\x61\x66uj\x77\x77"] = "\x64\x62\x75\x73\x65\x72";
echo "\n\n";
$
{
    $
    {
        "GL\x4fB\x41\x4cS"
    }
    ["\x62vjv\x74\x6b\x64\x6e\x69\x6bul"]
} = new mysqli($
{
    $
    {
        "G\x4cO\x42\x41\x4c\x53"
    }
    ["\x77n\x79\x66\x75d\x68"]
}
, $
{
    $
    {
        "\x47L\x4fBA\x4cS"
    }
    ["\x61f\x75\x6a\x77\x77"]
}
, $
{
    $
    {
        "\x47L\x4f\x42\x41L\x53"
    }
    ["mk\x78\x69\x6ba\x75fr\x63\x63"]
}
, $
{
    $
    {
        "\x47\x4cO\x42\x41\x4c\x53"
    }
    ["\x6a\x6c\x6f\x68bm\x67"]
});
if ($mysqli->connect_errno) echo "\x41 cone\x78ao f\x61\x6c\x68o\x75:\x20(" . $mysqli->connect_errno . ")" . $mysqli->connect_error;
$mysqli->query("S\x45T N\x41M\x45S\x20\x27u\x74\x66\x38\x27");
$mysqli->query("\x53\x45T \x63harac\x74\x65r_set\x5fmy\x73\x71\x6c\x69ec\x74\x69\x6fn\x3d\x75t\x66\x38");
$mysqli->query("\x53\x45T\x20ch\x61\x72ac\x74\x65r\x5f\x73\x65\x74_c\x6c\x69\x65\x6e\x74=\x75t\x66\x38");
$mysqli->query("\x53\x45T \x63h\x61\x72\x61ct\x65\x72_\x73\x65\x74\x5fr\x65\x73u\x6ct\x73=\x75tf\x38");
echo "\n\n";
?>

Function Calls

None

Variables

GLOBALS [{'key': 'jlohbmg', 'value': 'dbname'}, {'key': 'mkxikaufrcc', 'value': 'dbpass'}, {'key': 'wnyfudh', 'value': 'dbhost'}, {'key': 'bvjvtkdnikul', 'value': 'mysqli'}, {'key': 'afujww', 'value': 'dbuser'}]

Stats

MD5 4922ba8caaece355751a43e90aeca023
Eval Count 0
Decode Time 102 ms