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.117.132.79
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp-test /
vendor /
ringcentral /
psr7 /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
AppendStream.php
5.39
KB
-rw-r--r--
2018-01-15 21:00
BufferStream.php
2.98
KB
-rw-r--r--
2018-01-15 21:00
CachingStream.php
4.1
KB
-rw-r--r--
2018-01-15 21:00
DroppingStream.php
1.06
KB
-rw-r--r--
2018-01-15 21:00
FnStream.php
4.05
KB
-rw-r--r--
2018-01-15 21:00
InflateStream.php
977
B
-rw-r--r--
2018-01-15 21:00
LazyOpenStream.php
911
B
-rw-r--r--
2018-01-15 21:00
LimitStream.php
4.12
KB
-rw-r--r--
2018-01-15 21:00
MessageTrait.php
4
KB
-rw-r--r--
2018-01-15 21:00
MultipartStream.php
4.53
KB
-rw-r--r--
2018-01-15 21:00
NoSeekStream.php
424
B
-rw-r--r--
2018-01-15 21:00
PumpStream.php
3.94
KB
-rw-r--r--
2018-01-15 21:00
Request.php
3.57
KB
-rw-r--r--
2018-01-15 21:00
Response.php
3.74
KB
-rw-r--r--
2018-01-15 21:00
ServerRequest.php
2.77
KB
-rw-r--r--
2018-01-15 21:00
Stream.php
6.31
KB
-rw-r--r--
2018-01-15 21:00
StreamDecoratorTrait.php
2.98
KB
-rw-r--r--
2018-01-15 21:00
StreamWrapper.php
2.76
KB
-rw-r--r--
2018-01-15 21:00
Uri.php
15.23
KB
-rw-r--r--
2018-01-15 21:00
functions.php
23.64
KB
-rw-r--r--
2018-01-15 21:00
functions_include.php
157
B
-rw-r--r--
2018-01-15 21:00
Save
Rename
<?php namespace RingCentral\Psr7; use InvalidArgumentException; use Psr\Http\Message\RequestInterface; use Psr\Http\Message\StreamInterface; use Psr\Http\Message\UriInterface; /** * PSR-7 request implementation. */ class Request extends MessageTrait implements RequestInterface { /** @var string */ private $method; /** @var null|string */ private $requestTarget; /** @var null|UriInterface */ private $uri; /** * @param null|string $method HTTP method for the request. * @param null|string|UriInterface $uri URI for the request. * @param array $headers Headers for the message. * @param string|resource|StreamInterface $body Message body. * @param string $protocolVersion HTTP protocol version. * * @throws InvalidArgumentException for an invalid URI */ public function __construct( $method, $uri, array $headers = array(), $body = null, $protocolVersion = '1.1' ) { if (is_string($uri)) { $uri = new Uri($uri); } elseif (!($uri instanceof UriInterface)) { throw new \InvalidArgumentException( 'URI must be a string or Psr\Http\Message\UriInterface' ); } $this->method = strtoupper($method); $this->uri = $uri; $this->setHeaders($headers); $this->protocol = $protocolVersion; $host = $uri->getHost(); if ($host && !$this->hasHeader('Host')) { $this->updateHostFromUri($host); } if ($body) { $this->stream = stream_for($body); } } public function getRequestTarget() { if ($this->requestTarget !== null) { return $this->requestTarget; } $target = $this->uri->getPath(); if ($target == null) { $target = '/'; } if ($this->uri->getQuery()) { $target .= '?' . $this->uri->getQuery(); } return $target; } public function withRequestTarget($requestTarget) { if (preg_match('#\s#', $requestTarget)) { throw new InvalidArgumentException( 'Invalid request target provided; cannot contain whitespace' ); } $new = clone $this; $new->requestTarget = $requestTarget; return $new; } public function getMethod() { return $this->method; } public function withMethod($method) { $new = clone $this; $new->method = strtoupper($method); return $new; } public function getUri() { return $this->uri; } public function withUri(UriInterface $uri, $preserveHost = false) { if ($uri === $this->uri) { return $this; } $new = clone $this; $new->uri = $uri; if (!$preserveHost) { if ($host = $uri->getHost()) { $new->updateHostFromUri($host); } } return $new; } public function withHeader($header, $value) { /** @var Request $newInstance */ $newInstance = parent::withHeader($header, $value); return $newInstance; } private function updateHostFromUri($host) { // Ensure Host is the first header. // See: http://tools.ietf.org/html/rfc7230#section-5.4 if ($port = $this->uri->getPort()) { $host .= ':' . $port; } $this->headerLines = array('Host' => array($host)) + $this->headerLines; $this->headers = array('host' => array($host)) + $this->headers; } }