Linux server1.hosting4iran.com 4.18.0-553.89.1.el8_10.x86_64 #1 SMP Mon Dec 8 03:53:08 EST 2025 x86_64
LiteSpeed
Server IP : 185.208.174.156 & Your IP : 216.73.216.218
Domains : 282 Domain
User : satitravel
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
opt /
cpanel /
ea-wappspector /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Command
[ DIR ]
drwxr-xr-x
2025-12-21 17:03
Helper
[ DIR ]
drwxr-xr-x
2025-12-21 17:03
MatchResult
[ DIR ]
drwxr-xr-x
2025-12-21 17:03
Matchers
[ DIR ]
drwxr-xr-x
2025-12-21 17:03
DIContainer.php
384
B
-rw-r--r--
2025-10-29 19:57
FileSystemFactory.php
364
B
-rw-r--r--
2025-10-29 19:57
Wappspector.php
1.01
KB
-rw-r--r--
2025-10-29 19:57
container.php
1.83
KB
-rw-r--r--
2025-10-29 19:57
Save
Rename
<?php namespace Plesk\Wappspector; use Plesk\Wappspector\Matchers\MatcherInterface; use Plesk\Wappspector\MatchResult\EmptyMatchResult; use Plesk\Wappspector\MatchResult\MatchResultInterface; use Throwable; final class Wappspector { /** * @param callable $fsFactory */ public function __construct(private $fsFactory, private array $matchers) { } /** * @return MatchResultInterface[] * @throws Throwable */ public function run(string $path, string $basePath = '/', int $matchersLimit = 0): iterable { $fs = ($this->fsFactory)($basePath); $result = []; /** @var MatcherInterface $matcher */ foreach ($this->matchers as $matcher) { if (($match = $matcher->match($fs, $path)) instanceof EmptyMatchResult) { continue; } $result[] = $match; if ($matchersLimit > 0 && count($result) >= $matchersLimit) { break; } } return $result; } }