Lines Matching refs:phar
2 Bug #65414 Injection (A1) in .phar files magic .phar directory
4 <?php if (!extension_loaded("phar")) die("skip"); ?>
6 phar.readonly = 0
9 $phar = new \Phar(__DIR__ . '/bug65414.phar', 0, 'bug65414.phar');
11 '.phar/injected-1.txt',
12 '/.phar/injected-2.txt',
13 '//.phar/injected-3.txt',
14 '/.phar/',
19 $phar->addFromString($bad, 'this content is injected');
29 unlink(__DIR__ . '/bug65414.phar');
32 .phar/injected-1.txt:Cannot create any files in magic ".phar" directory
33 /.phar/injected-2.txt:Cannot create any files in magic ".phar" directory
34 //.phar/injected-3.txt:Entry //.phar/injected-3.txt does not exist and cannot be created: phar erro…
35 /.phar/:Cannot create any files in magic ".phar" directory