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 : 3.140.248.104
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
unp_probe /
vendor /
ringcentral /
psr7 /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
AppendStream.php
5.39
KB
-rw-r--r--
2018-05-29 20:21
BufferStream.php
2.98
KB
-rw-r--r--
2018-05-29 20:21
CachingStream.php
4.1
KB
-rw-r--r--
2018-05-29 20:21
DroppingStream.php
1.06
KB
-rw-r--r--
2018-05-29 20:21
FnStream.php
4.05
KB
-rw-r--r--
2018-05-29 20:21
InflateStream.php
977
B
-rw-r--r--
2018-05-29 20:21
LazyOpenStream.php
911
B
-rw-r--r--
2018-05-29 20:21
LimitStream.php
4.12
KB
-rw-r--r--
2018-05-29 20:21
MessageTrait.php
4
KB
-rw-r--r--
2018-05-29 20:21
MultipartStream.php
4.53
KB
-rw-r--r--
2018-05-29 20:21
NoSeekStream.php
424
B
-rw-r--r--
2018-05-29 20:21
PumpStream.php
3.94
KB
-rw-r--r--
2018-05-29 20:21
Request.php
3.57
KB
-rw-r--r--
2018-05-29 20:21
Response.php
3.74
KB
-rw-r--r--
2018-05-29 20:21
ServerRequest.php
2.77
KB
-rw-r--r--
2018-05-29 20:21
Stream.php
6.31
KB
-rw-r--r--
2018-05-29 20:21
StreamDecoratorTrait.php
2.98
KB
-rw-r--r--
2018-05-29 20:21
StreamWrapper.php
2.76
KB
-rw-r--r--
2018-05-29 20:21
Uri.php
15.23
KB
-rw-r--r--
2018-05-29 20:21
functions.php
23.85
KB
-rw-r--r--
2018-05-29 20:21
functions_include.php
157
B
-rw-r--r--
2018-05-29 20:21
Save
Rename
<?php namespace RingCentral\Psr7; use Psr\Http\Message\StreamInterface; /** * Provides a read only stream that pumps data from a PHP callable. * * When invoking the provided callable, the PumpStream will pass the amount of * data requested to read to the callable. The callable can choose to ignore * this value and return fewer or more bytes than requested. Any extra data * returned by the provided callable is buffered internally until drained using * the read() function of the PumpStream. The provided callable MUST return * false when there is no more data to read. */ class PumpStream implements StreamInterface { /** @var callable */ private $source; /** @var int */ private $size; /** @var int */ private $tellPos = 0; /** @var array */ private $metadata; /** @var BufferStream */ private $buffer; /** * @param callable $source Source of the stream data. The callable MAY * accept an integer argument used to control the * amount of data to return. The callable MUST * return a string when called, or false on error * or EOF. * @param array $options Stream options: * - metadata: Hash of metadata to use with stream. * - size: Size of the stream, if known. */ public function __construct($source, array $options = array()) { $this->source = $source; $this->size = isset($options['size']) ? $options['size'] : null; $this->metadata = isset($options['metadata']) ? $options['metadata'] : array(); $this->buffer = new BufferStream(); } public function __toString() { try { return copy_to_string($this); } catch (\Exception $e) { return ''; } } public function close() { $this->detach(); } public function detach() { $this->tellPos = false; $this->source = null; } public function getSize() { return $this->size; } public function tell() { return $this->tellPos; } public function eof() { return !$this->source; } public function isSeekable() { return false; } public function rewind() { $this->seek(0); } public function seek($offset, $whence = SEEK_SET) { throw new \RuntimeException('Cannot seek a PumpStream'); } public function isWritable() { return false; } public function write($string) { throw new \RuntimeException('Cannot write to a PumpStream'); } public function isReadable() { return true; } public function read($length) { $data = $this->buffer->read($length); $readLen = strlen($data); $this->tellPos += $readLen; $remaining = $length - $readLen; if ($remaining) { $this->pump($remaining); $data .= $this->buffer->read($remaining); $this->tellPos += strlen($data) - $readLen; } return $data; } public function getContents() { $result = ''; while (!$this->eof()) { $result .= $this->read(1000000); } return $result; } public function getMetadata($key = null) { if (!$key) { return $this->metadata; } return isset($this->metadata[$key]) ? $this->metadata[$key] : null; } private function pump($length) { if ($this->source) { do { $data = call_user_func($this->source, $length); if ($data === false || $data === null) { $this->source = null; return; } $this->buffer->write($data); $length -= strlen($data); } while ($length > 0); } } }