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.188.96.1
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
symfony /
http-kernel /
Delete
Unzip
Name
Size
Permission
Date
Action
Attribute
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
Bundle
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
CacheClearer
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
CacheWarmer
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
Config
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
Controller
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
ControllerMetadata
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
DataCollector
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
Debug
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
DependencyInjection
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
Event
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
EventListener
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
Exception
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
Fragment
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
HttpCache
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
Log
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
Profiler
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
Resources
[ DIR ]
drwxrwxr-x
2022-07-29 12:30
CHANGELOG.md
16.6
KB
-rw-rw-r--
2022-07-29 12:30
HttpClientKernel.php
3.82
KB
-rw-rw-r--
2022-07-29 12:30
HttpKernel.php
9.84
KB
-rw-rw-r--
2022-07-29 12:30
HttpKernelBrowser.php
5.88
KB
-rw-rw-r--
2022-07-29 12:30
HttpKernelInterface.php
1.45
KB
-rw-rw-r--
2022-07-29 12:30
Kernel.php
28.78
KB
-rw-rw-r--
2022-07-29 12:30
KernelEvents.php
4.04
KB
-rw-rw-r--
2022-07-29 12:30
KernelInterface.php
3.8
KB
-rw-rw-r--
2022-07-29 12:30
LICENSE
1.04
KB
-rw-rw-r--
2022-07-29 12:30
README.md
1.2
KB
-rw-rw-r--
2022-07-29 12:30
RebootableInterface.php
787
B
-rw-rw-r--
2022-07-29 12:30
TerminableInterface.php
910
B
-rw-rw-r--
2022-07-29 12:30
UriSigner.php
3.1
KB
-rw-rw-r--
2022-07-29 12:30
composer.json
2.57
KB
-rw-rw-r--
2022-07-29 12:30
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\HttpKernel; use Symfony\Component\HttpFoundation\Request; /** * Signs URIs. * * @author Fabien Potencier <fabien@symfony.com> */ class UriSigner { private $secret; private $parameter; /** * @param string $secret A secret * @param string $parameter Query string parameter to use */ public function __construct(string $secret, string $parameter = '_hash') { $this->secret = $secret; $this->parameter = $parameter; } /** * Signs a URI. * * The given URI is signed by adding the query string parameter * which value depends on the URI and the secret. * * @return string */ public function sign(string $uri) { $url = parse_url($uri); if (isset($url['query'])) { parse_str($url['query'], $params); } else { $params = []; } $uri = $this->buildUrl($url, $params); $params[$this->parameter] = $this->computeHash($uri); return $this->buildUrl($url, $params); } /** * Checks that a URI contains the correct hash. * * @return bool */ public function check(string $uri) { $url = parse_url($uri); if (isset($url['query'])) { parse_str($url['query'], $params); } else { $params = []; } if (empty($params[$this->parameter])) { return false; } $hash = $params[$this->parameter]; unset($params[$this->parameter]); return hash_equals($this->computeHash($this->buildUrl($url, $params)), $hash); } public function checkRequest(Request $request): bool { $qs = ($qs = $request->server->get('QUERY_STRING')) ? '?'.$qs : ''; // we cannot use $request->getUri() here as we want to work with the original URI (no query string reordering) return $this->check($request->getSchemeAndHttpHost().$request->getBaseUrl().$request->getPathInfo().$qs); } private function computeHash(string $uri): string { return base64_encode(hash_hmac('sha256', $uri, $this->secret, true)); } private function buildUrl(array $url, array $params = []): string { ksort($params, \SORT_STRING); $url['query'] = http_build_query($params, '', '&'); $scheme = isset($url['scheme']) ? $url['scheme'].'://' : ''; $host = $url['host'] ?? ''; $port = isset($url['port']) ? ':'.$url['port'] : ''; $user = $url['user'] ?? ''; $pass = isset($url['pass']) ? ':'.$url['pass'] : ''; $pass = ($user || $pass) ? "$pass@" : ''; $path = $url['path'] ?? ''; $query = isset($url['query']) && $url['query'] ? '?'.$url['query'] : ''; $fragment = isset($url['fragment']) ? '#'.$url['fragment'] : ''; return $scheme.$user.$pass.$host.$port.$path.$query.$fragment; } }