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: Phar::webPhar, open compiled file fails --EXTENSIONS-- phar --INI-- phar.re..

Decoded Output download

--TEST--
Phar: Phar::webPhar, open compiled file fails
--EXTENSIONS--
phar
--INI--
phar.readonly=1
--FILE--
<?php
try {
Phar::webPhar('oopsiedaisy.phar', '/index.php');
} catch (Exception $e) {
echo $e->getMessage() . "
";
}
__HALT_COMPILER();
?>
--EXPECTF--
internal corruption of phar "%swebphar_compilefail.php" (truncated manifest at manifest length)

Did this file decode correctly?

Original Code

--TEST--
Phar: Phar::webPhar, open compiled file fails
--EXTENSIONS--
phar
--INI--
phar.readonly=1
--FILE--
<?php
try {
Phar::webPhar('oopsiedaisy.phar', '/index.php');
} catch (Exception $e) {
echo $e->getMessage() . "\n";
}
__HALT_COMPILER();
?>
--EXPECTF--
internal corruption of phar "%swebphar_compilefail.php" (truncated manifest at manifest length)

Function Calls

None

Variables

None

Stats

MD5 0f23505c9c70ccc6bfe5252cc45b89e0
Eval Count 0
Decode Time 86 ms