Find this useful? Enter your email to receive occasional updates for securing PHP code.

Signing you up...

Thank you for signing up!

PHP Decode

--TEST-- bzip2.decompress (with convert.base64-decode) --EXTENSIONS-- bz2 --FILE-- <?php $..

Decoded Output download

--TEST--
bzip2.decompress (with convert.base64-decode)
--EXTENSIONS--
bz2
--FILE--
<?php
$text = 'QlpoNDFBWSZTWRN6QG0AAAoVgECFACA395UgIABIintI1N6mpowIQ0E1MTTAQGYTNcRyMZm5kgW3ib7hVboE7Tmqj3ToGZ5G3q1ZauD2G58hibSck8KS95EEAbx1Cn+LuSKcKEgJvSA2gA==';

$fp = fopen('php://stdout', 'w');
stream_filter_append($fp, 'convert.base64-decode', STREAM_FILTER_WRITE);
stream_filter_append($fp, 'bzip2.decompress', STREAM_FILTER_WRITE);
fwrite($fp, $text);
fclose($fp);

?>
--EXPECT--
I am the very model of a modern major general, I've information vegetable, animal, and mineral.

Did this file decode correctly?

Original Code

--TEST--
bzip2.decompress (with convert.base64-decode)
--EXTENSIONS--
bz2
--FILE--
<?php
$text = 'QlpoNDFBWSZTWRN6QG0AAAoVgECFACA395UgIABIintI1N6mpowIQ0E1MTTAQGYTNcRyMZm5kgW3ib7hVboE7Tmqj3ToGZ5G3q1ZauD2G58hibSck8KS95EEAbx1Cn+LuSKcKEgJvSA2gA==';

$fp = fopen('php://stdout', 'w');
stream_filter_append($fp, 'convert.base64-decode', STREAM_FILTER_WRITE);
stream_filter_append($fp, 'bzip2.decompress', STREAM_FILTER_WRITE);
fwrite($fp, $text);
fclose($fp);

?>
--EXPECT--
I am the very model of a modern major general, I've information vegetable, animal, and mineral.

Function Calls

fopen 1

Variables

$fp True
$text QlpoNDFBWSZTWRN6QG0AAAoVgECFACA395UgIABIintI1N6mpowIQ0E1MTTA..

Stats

MD5 84d99a49eaf631bf3c2febfde3b8ca2a
Eval Count 0
Decode Time 93 ms