Linux ns1.utparral.edu.mx 6.8.0-79-generic #79~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 15 16:54:53 UTC 2 x86_64
Apache/2.4.58 (Unix) OpenSSL/1.1.1w PHP/8.2.12 mod_perl/2.0.12 Perl/v5.34.1
: 10.10.1.9 | : 10.10.1.254
Cant Read [ /etc/named.conf ]
daemon
Terminal
AUTO ROOT
Adminer
Backdoor Destroyer
Linux Exploit
Lock Shell
Lock File
Create User
README
+ Create Folder
+ Create File
/
opt /
lampp /
phpmyadmin /
vendor /
slim /
psr7 /
src /
[ HOME SHELL ]
Name
Size
Permission
Action
Factory
[ DIR ]
drwxr-xr-x
Interfaces
[ DIR ]
drwxr-xr-x
Cookies.php
5.27
KB
-rw-r--r--
Environment.php
1.51
KB
-rw-r--r--
Header.php
1.9
KB
-rw-r--r--
Headers.php
8.68
KB
-rw-r--r--
Message.php
3.8
KB
-rw-r--r--
NonBufferedBody.php
2.45
KB
-rw-r--r--
Request.php
8.38
KB
-rw-r--r--
Response.php
8.5
KB
-rw-r--r--
Stream.php
8.98
KB
-rw-r--r--
UploadedFile.php
8.34
KB
-rw-r--r--
Uri.php
11.22
KB
-rw-r--r--
Delete
Unzip
Zip
${this.title}
Close
Code Editor : NonBufferedBody.php
<?php /** * Slim Framework (https://slimframework.com) * * @license https://github.com/slimphp/Slim-Psr7/blob/master/LICENSE.md (MIT License) */ declare(strict_types=1); namespace Slim\Psr7; use Psr\Http\Message\StreamInterface; use RuntimeException; use function flush; use function ob_get_clean; use function ob_get_level; use function strlen; use const SEEK_SET; class NonBufferedBody implements StreamInterface { /** * {@inheritdoc} */ public function __toString(): string { return ''; } /** * {@inheritdoc} */ public function close(): void { throw new RuntimeException('A NonBufferedBody is not closable.'); } /** * {@inheritdoc} */ public function detach() { return null; } /** * {@inheritdoc} */ public function getSize(): ?int { return null; } /** * {@inheritdoc} */ public function tell(): int { return 0; } /** * {@inheritdoc} */ public function eof(): bool { return true; } /** * {@inheritdoc} */ public function isSeekable(): bool { return false; } /** * {@inheritdoc} */ public function seek($offset, $whence = SEEK_SET): void { throw new RuntimeException('A NonBufferedBody is not seekable.'); } /** * {@inheritdoc} */ public function rewind(): void { throw new RuntimeException('A NonBufferedBody is not rewindable.'); } /** * {@inheritdoc} */ public function isWritable(): bool { return true; } /** * {@inheritdoc} */ public function write($string): int { $buffered = ''; while (0 < ob_get_level()) { $buffered = ob_get_clean() . $buffered; } echo $buffered . $string; flush(); return strlen($string) + strlen($buffered); } /** * {@inheritdoc} */ public function isReadable(): bool { return false; } /** * {@inheritdoc} */ public function read($length): string { throw new RuntimeException('A NonBufferedBody is not readable.'); } /** * {@inheritdoc} */ public function getContents(): string { return ''; } /** * {@inheritdoc} */ public function getMetadata($key = null): ?array { return null; } }
Close