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.15.147.225
Domains :
Cant Read [ /etc/named.conf ]
User : web
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
home /
www /
wb /
vendor /
maennchen /
zipstream-php /
src /
Delete
Unzip
Name
Size
Permission
Date
Action
Exception
[ DIR ]
drwxrwxr-x
2022-11-25 18:57
Option
[ DIR ]
drwxrwxr-x
2022-11-25 18:57
Bigint.php
3.51
KB
-rw-rw-r--
2022-11-25 18:57
DeflateStream.php
1.54
KB
-rw-rw-r--
2022-11-25 18:57
Exception.php
148
B
-rw-rw-r--
2022-11-25 18:57
File.php
14.24
KB
-rw-rw-r--
2022-11-25 18:57
Stream.php
7.22
KB
-rw-rw-r--
2022-11-25 18:57
ZipStream.php
18.69
KB
-rw-rw-r--
2022-11-25 18:57
Save
Rename
<?php declare(strict_types=1); namespace ZipStream; class DeflateStream extends Stream { protected $filter; /** * @var Option\File */ protected $options; /** * Rewind stream * * @return void */ public function rewind(): void { // deflate filter needs to be removed before rewind if ($this->filter) { $this->removeDeflateFilter(); $this->seek(0); $this->addDeflateFilter($this->options); } else { rewind($this->stream); } } /** * Remove the deflate filter * * @return void */ public function removeDeflateFilter(): void { if (!$this->filter) { return; } stream_filter_remove($this->filter); $this->filter = null; } /** * Add a deflate filter * * @param Option\File $options * @return void */ public function addDeflateFilter(Option\File $options): void { $this->options = $options; // parameter 4 for stream_filter_append expects array // so we convert the option object in an array $optionsArr = [ 'comment' => $options->getComment(), 'method' => $options->getMethod(), 'deflateLevel' => $options->getDeflateLevel(), 'time' => $options->getTime(), ]; $this->filter = stream_filter_append( $this->stream, 'zlib.deflate', STREAM_FILTER_READ, $optionsArr ); } }