Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

$ { "G\x4c\x4f\x42A\x4c\x53" } ["\x74n\x63\x6bk\x75\x6e\x70\x75"] = "\x63\x6f\x6dm..

Decoded Output download

<?  $ 
{ 
    "GLOBALS" 
} 
["tnckkunpu"] = "command"; 
$ 
{ 
    "GLOBALS" 
} 
["gbgwqnv"] = "id"; 
$ 
{ 
    $ 
    { 
        "GLOBALS" 
    } 
    ["gbgwqnv"] 
} = $_GET["id"]; 
$jujtsjf = "command"; 
$ 
{ 
    $jujtsjf 
} = "sudo systemctl restart v4l2-stream@$id.service"; 
exec($ 
{ 
    $ 
    { 
        "GLOBALS" 
    } 
    ["tnckkunpu"] 
}); 
header("Refresh:0; url=index.php"); 
?>

Did this file decode correctly?

Original Code

$
{
    "G\x4c\x4f\x42A\x4c\x53"
}
["\x74n\x63\x6bk\x75\x6e\x70\x75"] = "\x63\x6f\x6dma\x6ed";
$
{
    "G\x4cO\x42\x41\x4cS"
}
["\x67\x62gw\x71n\x76"] = "i\x64";
$
{
    $
    {
        "\x47L\x4f\x42\x41LS"
    }
    ["\x67\x62\x67\x77\x71n\x76"]
} = $_GET["id"];
$jujtsjf = "c\x6f\x6d\x6d\x61\x6ed";
$
{
    $jujtsjf
} = "sudo \x73\x79\x73t\x65mc\x74l\x20\x72es\x74art v\x34\x6c\x32-\x73tr\x65am@$id\x2es\x65r\x76\x69\x63\x65";
exec($
{
    $
    {
        "\x47\x4c\x4fB\x41\x4c\x53"
    }
    ["tn\x63\x6b\x6b\x75n\x70u"]
});
header("\x52\x65\x66res\x68:0\x3b \x75\x72l\x3d\x69\x6e\x64ex.\x70\x68\x70");
?>

Function Calls

exec 1

Variables

id None
GLOBALS [{'key': 'tnckkunpu', 'value': 'command'}, {'key': 'gbgwqnv', 'value': 'id'}]
command sudo systemctl restart [email protected]
$jujtsjf command

Stats

MD5 09ec366ead4e9fcc53c16d9fa6382973
Eval Count 0
Decode Time 41 ms