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: tar with link to root directory file from root directory file --EXTENSIONS-..
Decoded Output download
--TEST--
Phar: tar with link to root directory file from root directory file
--EXTENSIONS--
phar
--INI--
phar.require_hash=0
--FILE--
<?php
try {
$p = new PharData(__DIR__ . '/files/tinylink.tar');
} catch (Exception $e) {
echo $e->getMessage() . "
";
}
echo $p['file.txt']->getContent();
echo $p['link.txt']->getContent();
?>
--EXPECT--
hi
hi
Did this file decode correctly?
Original Code
--TEST--
Phar: tar with link to root directory file from root directory file
--EXTENSIONS--
phar
--INI--
phar.require_hash=0
--FILE--
<?php
try {
$p = new PharData(__DIR__ . '/files/tinylink.tar');
} catch (Exception $e) {
echo $e->getMessage() . "\n";
}
echo $p['file.txt']->getContent();
echo $p['link.txt']->getContent();
?>
--EXPECT--
hi
hi
Function Calls
None |
Stats
MD5 | 0fb17bdd6f7bce64e04cecd35ef550fa |
Eval Count | 0 |
Decode Time | 78 ms |