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.73.229
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 Psr\Http\Message\StreamInterface; /** * Stream that when read returns bytes for a streaming multipart or * multipart/form-data stream. */ class MultipartStream extends StreamDecoratorTrait implements StreamInterface { private $boundary; /** * @param array $elements Array of associative arrays, each containing a * required "name" key mapping to the form field, * name, a required "contents" key mapping to a * StreamInterface/resource/string, an optional * "headers" associative array of custom headers, * and an optional "filename" key mapping to a * string to send as the filename in the part. * @param string $boundary You can optionally provide a specific boundary * * @throws \InvalidArgumentException */ public function __construct(array $elements = array(), $boundary = null) { $this->boundary = $boundary ?: uniqid(); parent::__construct($this->createStream($elements)); } /** * Get the boundary * * @return string */ public function getBoundary() { return $this->boundary; } public function isWritable() { return false; } /** * Get the headers needed before transferring the content of a POST file */ private function getHeaders(array $headers) { $str = ''; foreach ($headers as $key => $value) { $str .= "{$key}: {$value}\r\n"; } return "--{$this->boundary}\r\n" . trim($str) . "\r\n\r\n"; } /** * Create the aggregate stream that will be used to upload the POST data */ protected function createStream(array $elements) { $stream = new AppendStream(); foreach ($elements as $element) { $this->addElement($stream, $element); } // Add the trailing boundary with CRLF $stream->addStream(stream_for("--{$this->boundary}--\r\n")); return $stream; } private function addElement(AppendStream $stream, array $element) { foreach (array('contents', 'name') as $key) { if (!array_key_exists($key, $element)) { throw new \InvalidArgumentException("A '{$key}' key is required"); } } $element['contents'] = stream_for($element['contents']); if (empty($element['filename'])) { $uri = $element['contents']->getMetadata('uri'); if (substr($uri, 0, 6) !== 'php://') { $element['filename'] = $uri; } } list($body, $headers) = $this->createElement( $element['name'], $element['contents'], isset($element['filename']) ? $element['filename'] : null, isset($element['headers']) ? $element['headers'] : array() ); $stream->addStream(stream_for($this->getHeaders($headers))); $stream->addStream($body); $stream->addStream(stream_for("\r\n")); } /** * @return array */ private function createElement($name, $stream, $filename, array $headers) { // Set a default content-disposition header if one was no provided $disposition = $this->getHeader($headers, 'content-disposition'); if (!$disposition) { $headers['Content-Disposition'] = $filename ? sprintf('form-data; name="%s"; filename="%s"', $name, basename($filename)) : "form-data; name=\"{$name}\""; } // Set a default content-length header if one was no provided $length = $this->getHeader($headers, 'content-length'); if (!$length) { if ($length = $stream->getSize()) { $headers['Content-Length'] = (string) $length; } } // Set a default Content-Type if one was not supplied $type = $this->getHeader($headers, 'content-type'); if (!$type && $filename) { if ($type = mimetype_from_filename($filename)) { $headers['Content-Type'] = $type; } } return array($stream, $headers); } private function getHeader(array $headers, $key) { $lowercaseHeader = strtolower($key); foreach ($headers as $k => $v) { if (strtolower($k) === $lowercaseHeader) { return $v; } } return null; } }