Linux server165.web-hosting.com 4.18.0-513.18.1.lve.el8.x86_64 #1 SMP Thu Feb 22 12:55:50 UTC 2024 x86_64
LiteSpeed
Server IP : 68.65.122.53 & Your IP : 216.73.217.46
Domains :
Cant Read [ /etc/named.conf ]
User : vacazsti
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-15 08:30
Helper
[ DIR ]
drwxr-xr-x
2026-05-15 08:30
MatchResult
[ DIR ]
drwxr-xr-x
2026-05-15 08:30
Matchers
[ DIR ]
drwxr-xr-x
2026-05-15 08:30
DIContainer.php
384
B
-rw-r--r--
2026-05-14 15:20
FileSystemFactory.php
364
B
-rw-r--r--
2026-05-14 15:20
Wappspector.php
1.01
KB
-rw-r--r--
2026-05-14 15:20
container.php
1.83
KB
-rw-r--r--
2026-05-14 15:20
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; } }