Linux server1.hosting4iran.com 4.18.0-553.123.2.el8_10.x86_64 #1 SMP Thu May 7 15:28:41 EDT 2026 x86_64
LiteSpeed
Server IP : 185.208.174.156 & Your IP : 216.73.217.179
Domains : 326 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
2026-05-20 03:02
Helper
[ DIR ]
drwxr-xr-x
2026-05-20 03:02
MatchResult
[ DIR ]
drwxr-xr-x
2026-05-20 03:02
Matchers
[ DIR ]
drwxr-xr-x
2026-05-20 03:02
DIContainer.php
384
B
-rw-r--r--
2026-05-18 19:25
FileSystemFactory.php
364
B
-rw-r--r--
2026-05-18 19:25
Wappspector.php
1.01
KB
-rw-r--r--
2026-05-18 19:25
container.php
1.86
KB
-rw-r--r--
2026-05-18 19:25
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; } }