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.119.131.131
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-foundation /
Delete
Unzip
Name
Size
Permission
Date
Action
Exception
[ DIR ]
drwxrwxr-x
2022-07-20 13:00
File
[ DIR ]
drwxrwxr-x
2022-07-20 13:00
RateLimiter
[ DIR ]
drwxrwxr-x
2022-07-20 13:00
Session
[ DIR ]
drwxrwxr-x
2022-07-20 13:00
Test
[ DIR ]
drwxrwxr-x
2022-07-20 13:00
AcceptHeader.php
3.55
KB
-rw-rw-r--
2022-07-20 13:00
AcceptHeaderItem.php
3.33
KB
-rw-rw-r--
2022-07-20 13:00
BinaryFileResponse.php
13.02
KB
-rw-rw-r--
2022-07-20 13:00
CHANGELOG.md
15.32
KB
-rw-rw-r--
2022-07-20 13:00
Cookie.php
11.35
KB
-rw-rw-r--
2022-07-20 13:00
ExpressionRequestMatcher.php
1.32
KB
-rw-rw-r--
2022-07-20 13:00
FileBag.php
3.83
KB
-rw-rw-r--
2022-07-20 13:00
HeaderBag.php
7.04
KB
-rw-rw-r--
2022-07-20 13:00
HeaderUtils.php
9.12
KB
-rw-rw-r--
2022-07-20 13:00
InputBag.php
4.04
KB
-rw-rw-r--
2022-07-20 13:00
IpUtils.php
6.08
KB
-rw-rw-r--
2022-07-20 13:00
JsonResponse.php
7.41
KB
-rw-rw-r--
2022-07-20 13:00
LICENSE
1.04
KB
-rw-rw-r--
2022-07-20 13:00
ParameterBag.php
5.77
KB
-rw-rw-r--
2022-07-20 13:00
README.md
940
B
-rw-rw-r--
2022-07-20 13:00
RedirectResponse.php
2.99
KB
-rw-rw-r--
2022-07-20 13:00
Request.php
66.25
KB
-rw-rw-r--
2022-07-20 13:00
RequestMatcher.php
4.79
KB
-rw-rw-r--
2022-07-20 13:00
RequestMatcherInterface.php
642
B
-rw-rw-r--
2022-07-20 13:00
RequestStack.php
3.08
KB
-rw-rw-r--
2022-07-20 13:00
Response.php
37.14
KB
-rw-rw-r--
2022-07-20 13:00
ResponseHeaderBag.php
7.77
KB
-rw-rw-r--
2022-07-20 13:00
ServerBag.php
3.92
KB
-rw-rw-r--
2022-07-20 13:00
StreamedResponse.php
3.06
KB
-rw-rw-r--
2022-07-20 13:00
UrlHelper.php
3.02
KB
-rw-rw-r--
2022-07-20 13:00
composer.json
1.11
KB
-rw-rw-r--
2022-07-20 13:00
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\HttpFoundation; /** * ServerBag is a container for HTTP headers from the $_SERVER variable. * * @author Fabien Potencier <fabien@symfony.com> * @author Bulat Shakirzyanov <mallluhuct@gmail.com> * @author Robert Kiss <kepten@gmail.com> */ class ServerBag extends ParameterBag { /** * Gets the HTTP headers. * * @return array */ public function getHeaders() { $headers = []; foreach ($this->parameters as $key => $value) { if (str_starts_with($key, 'HTTP_')) { $headers[substr($key, 5)] = $value; } elseif (\in_array($key, ['CONTENT_TYPE', 'CONTENT_LENGTH', 'CONTENT_MD5'], true)) { $headers[$key] = $value; } } if (isset($this->parameters['PHP_AUTH_USER'])) { $headers['PHP_AUTH_USER'] = $this->parameters['PHP_AUTH_USER']; $headers['PHP_AUTH_PW'] = $this->parameters['PHP_AUTH_PW'] ?? ''; } else { /* * php-cgi under Apache does not pass HTTP Basic user/pass to PHP by default * For this workaround to work, add these lines to your .htaccess file: * RewriteCond %{HTTP:Authorization} .+ * RewriteRule ^ - [E=HTTP_AUTHORIZATION:%0] * * A sample .htaccess file: * RewriteEngine On * RewriteCond %{HTTP:Authorization} .+ * RewriteRule ^ - [E=HTTP_AUTHORIZATION:%0] * RewriteCond %{REQUEST_FILENAME} !-f * RewriteRule ^(.*)$ app.php [QSA,L] */ $authorizationHeader = null; if (isset($this->parameters['HTTP_AUTHORIZATION'])) { $authorizationHeader = $this->parameters['HTTP_AUTHORIZATION']; } elseif (isset($this->parameters['REDIRECT_HTTP_AUTHORIZATION'])) { $authorizationHeader = $this->parameters['REDIRECT_HTTP_AUTHORIZATION']; } if (null !== $authorizationHeader) { if (0 === stripos($authorizationHeader, 'basic ')) { // Decode AUTHORIZATION header into PHP_AUTH_USER and PHP_AUTH_PW when authorization header is basic $exploded = explode(':', base64_decode(substr($authorizationHeader, 6)), 2); if (2 == \count($exploded)) { [$headers['PHP_AUTH_USER'], $headers['PHP_AUTH_PW']] = $exploded; } } elseif (empty($this->parameters['PHP_AUTH_DIGEST']) && (0 === stripos($authorizationHeader, 'digest '))) { // In some circumstances PHP_AUTH_DIGEST needs to be set $headers['PHP_AUTH_DIGEST'] = $authorizationHeader; $this->parameters['PHP_AUTH_DIGEST'] = $authorizationHeader; } elseif (0 === stripos($authorizationHeader, 'bearer ')) { /* * XXX: Since there is no PHP_AUTH_BEARER in PHP predefined variables, * I'll just set $headers['AUTHORIZATION'] here. * https://php.net/reserved.variables.server */ $headers['AUTHORIZATION'] = $authorizationHeader; } } } if (isset($headers['AUTHORIZATION'])) { return $headers; } // PHP_AUTH_USER/PHP_AUTH_PW if (isset($headers['PHP_AUTH_USER'])) { $headers['AUTHORIZATION'] = 'Basic '.base64_encode($headers['PHP_AUTH_USER'].':'.($headers['PHP_AUTH_PW'] ?? '')); } elseif (isset($headers['PHP_AUTH_DIGEST'])) { $headers['AUTHORIZATION'] = $headers['PHP_AUTH_DIGEST']; } return $headers; } }