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 | : 18.216.141.244
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 /
http-foundation /
[ HOME SHELL ]
Name
Size
Permission
Action
Exception
[ DIR ]
drwxr-xr-x
File
[ DIR ]
drwxr-xr-x
RateLimiter
[ DIR ]
drwxr-xr-x
Session
[ DIR ]
drwxr-xr-x
Test
[ DIR ]
drwxr-xr-x
AcceptHeader.php
3.55
KB
-rw-r--r--
AcceptHeaderItem.php
3.33
KB
-rw-r--r--
BinaryFileResponse.php
12.2
KB
-rw-r--r--
CHANGELOG.md
14.5
KB
-rw-r--r--
Cookie.php
11.38
KB
-rw-r--r--
ExpressionRequestMatcher.php
1.32
KB
-rw-r--r--
FileBag.php
3.86
KB
-rw-r--r--
HeaderBag.php
7.23
KB
-rw-r--r--
HeaderUtils.php
9.23
KB
-rw-r--r--
InputBag.php
4
KB
-rw-r--r--
IpUtils.php
5.44
KB
-rw-r--r--
JsonResponse.php
7.41
KB
-rw-r--r--
LICENSE
1.04
KB
-rw-r--r--
ParameterBag.php
5.89
KB
-rw-r--r--
README.md
531
B
-rw-r--r--
RedirectResponse.php
3
KB
-rw-r--r--
Request.php
66.78
KB
-rw-r--r--
RequestMatcher.php
4.64
KB
-rw-r--r--
RequestMatcherInterface.php
687
B
-rw-r--r--
RequestStack.php
2.31
KB
-rw-r--r--
Response.php
36.38
KB
-rw-r--r--
ResponseHeaderBag.php
7.84
KB
-rw-r--r--
ServerBag.php
3.91
KB
-rw-r--r--
StreamedResponse.php
3.06
KB
-rw-r--r--
UrlHelper.php
3.03
KB
-rw-r--r--
composer.json
1.1
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : AcceptHeaderItem.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\HttpFoundation; /** * Represents an Accept-* header item. * * @author Jean-François Simon <contact@jfsimon.fr> */ class AcceptHeaderItem { private $value; private $quality = 1.0; private $index = 0; private $attributes = []; public function __construct(string $value, array $attributes = []) { $this->value = $value; foreach ($attributes as $name => $value) { $this->setAttribute($name, $value); } } /** * Builds an AcceptHeaderInstance instance from a string. * * @return self */ public static function fromString(?string $itemValue) { $parts = HeaderUtils::split($itemValue ?? '', ';='); $part = array_shift($parts); $attributes = HeaderUtils::combine($parts); return new self($part[0], $attributes); } /** * Returns header value's string representation. * * @return string */ public function __toString() { $string = $this->value.($this->quality < 1 ? ';q='.$this->quality : ''); if (\count($this->attributes) > 0) { $string .= '; '.HeaderUtils::toString($this->attributes, ';'); } return $string; } /** * Set the item value. * * @return $this */ public function setValue(string $value) { $this->value = $value; return $this; } /** * Returns the item value. * * @return string */ public function getValue() { return $this->value; } /** * Set the item quality. * * @return $this */ public function setQuality(float $quality) { $this->quality = $quality; return $this; } /** * Returns the item quality. * * @return float */ public function getQuality() { return $this->quality; } /** * Set the item index. * * @return $this */ public function setIndex(int $index) { $this->index = $index; return $this; } /** * Returns the item index. * * @return int */ public function getIndex() { return $this->index; } /** * Tests if an attribute exists. * * @return bool */ public function hasAttribute(string $name) { return isset($this->attributes[$name]); } /** * Returns an attribute by its name. * * @param mixed $default * * @return mixed */ public function getAttribute(string $name, $default = null) { return $this->attributes[$name] ?? $default; } /** * Returns all attributes. * * @return array */ public function getAttributes() { return $this->attributes; } /** * Set an attribute. * * @return $this */ public function setAttribute(string $name, string $value) { if ('q' === $name) { $this->quality = (float) $value; } else { $this->attributes[$name] = $value; } return $this; } }
Close