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-- Phar: corrupted zip (no end of zip record) --EXTENSIONS-- phar --FILE-- <?php try..
Decoded Output download
--TEST--
Phar: corrupted zip (no end of zip record)
--EXTENSIONS--
phar
--FILE--
<?php
try {
new PharData(__DIR__ . '/files/nozipend.zip');
} catch (Exception $e) {
echo $e->getMessage() . "
";
}
?>
--EXPECTF--
phar error: end of central directory not found in zip-based phar "%snozipend.zip"
Did this file decode correctly?
Original Code
--TEST--
Phar: corrupted zip (no end of zip record)
--EXTENSIONS--
phar
--FILE--
<?php
try {
new PharData(__DIR__ . '/files/nozipend.zip');
} catch (Exception $e) {
echo $e->getMessage() . "\n";
}
?>
--EXPECTF--
phar error: end of central directory not found in zip-based phar "%snozipend.zip"
Function Calls
None |
Stats
MD5 | 99299ff28d6322f6cca437ec1def575d |
Eval Count | 0 |
Decode Time | 86 ms |