Linux unitednationsplay.com 3.10.0-1160.45.1.el7.x86_64 #1 SMP Wed Oct 13 17:20:51 UTC 2021 x86_64
nginx/1.20.1
Server IP : 188.130.139.92 & Your IP : 18.221.21.111
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp /
vendor /
symfony /
finder /
Iterator /
Delete
Unzip
Name
Size
Permission
Date
Action
CustomFilterIterator.php
1.48
KB
-rw-r--r--
2018-11-11 09:00
DateRangeFilterIterator.php
1.42
KB
-rw-r--r--
2018-11-11 09:00
DepthRangeFilterIterator.php
1.21
KB
-rw-r--r--
2018-11-11 09:00
ExcludeDirectoryFilterIterator.php
2.41
KB
-rw-r--r--
2018-11-11 09:00
FileTypeFilterIterator.php
1.32
KB
-rw-r--r--
2018-11-11 09:00
FilecontentFilterIterator.php
1.41
KB
-rw-r--r--
2018-11-11 09:00
FilenameFilterIterator.php
1.15
KB
-rw-r--r--
2018-11-11 09:00
MultiplePcreFilterIterator.php
3.15
KB
-rw-r--r--
2018-11-11 09:00
PathFilterIterator.php
1.42
KB
-rw-r--r--
2018-11-11 09:00
RecursiveDirectoryIterator.php
4
KB
-rw-r--r--
2018-11-11 09:00
SizeRangeFilterIterator.php
1.38
KB
-rw-r--r--
2018-11-11 09:00
SortableIterator.php
3.39
KB
-rw-r--r--
2018-11-11 09:00
Save
Rename
<?php /* * This file is part of the Symfony package. * * (c) Fabien Potencier <fabien@symfony.com> * * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ namespace Symfony\Component\Finder\Iterator; /** * MultiplePcreFilterIterator filters files using patterns (regexps, globs or strings). * * @author Fabien Potencier <fabien@symfony.com> */ abstract class MultiplePcreFilterIterator extends \FilterIterator { protected $matchRegexps = array(); protected $noMatchRegexps = array(); /** * @param \Iterator $iterator The Iterator to filter * @param array $matchPatterns An array of patterns that need to match * @param array $noMatchPatterns An array of patterns that need to not match */ public function __construct(\Iterator $iterator, array $matchPatterns, array $noMatchPatterns) { foreach ($matchPatterns as $pattern) { $this->matchRegexps[] = $this->toRegex($pattern); } foreach ($noMatchPatterns as $pattern) { $this->noMatchRegexps[] = $this->toRegex($pattern); } parent::__construct($iterator); } /** * Checks whether the string is accepted by the regex filters. * * If there is no regexps defined in the class, this method will accept the string. * Such case can be handled by child classes before calling the method if they want to * apply a different behavior. * * @param string $string The string to be matched against filters * * @return bool */ protected function isAccepted($string) { // should at least not match one rule to exclude foreach ($this->noMatchRegexps as $regex) { if (preg_match($regex, $string)) { return false; } } // should at least match one rule if ($this->matchRegexps) { foreach ($this->matchRegexps as $regex) { if (preg_match($regex, $string)) { return true; } } return false; } // If there is no match rules, the file is accepted return true; } /** * Checks whether the string is a regex. * * @param string $str * * @return bool Whether the given string is a regex */ protected function isRegex($str) { if (preg_match('/^(.{3,}?)[imsxuADU]*$/', $str, $m)) { $start = substr($m[1], 0, 1); $end = substr($m[1], -1); if ($start === $end) { return !preg_match('/[*?[:alnum:] \\\\]/', $start); } foreach (array(array('{', '}'), array('(', ')'), array('[', ']'), array('<', '>')) as $delimiters) { if ($start === $delimiters[0] && $end === $delimiters[1]) { return true; } } } return false; } /** * Converts string into regexp. * * @param string $str Pattern * * @return string regexp corresponding to a given string */ abstract protected function toRegex($str); }