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

/usr/share/php/Composer/XdebugHandler/   drwxr-xr-x
Free 28.6 GB of 117.98 GB (24.24%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Self remove    Logout    


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

/*
 * This file is part of composer/xdebug-handler.
 *
 * (c) Composer <https://github.com/composer>
 *
 * For the full copyright and license information, please view
 * the LICENSE file that was distributed with this source code.
 */

namespace Composer\XdebugHandler;

/**
 * @author John Stevenson <john-stevenson@blueyonder.co.uk>
 *
 * @phpstan-type restartData array{tmpIni: string, scannedInis: bool, scanDir: false|string, phprc: false|string, inis: string[], skipped: string}
 */
class PhpConfig
{
    
/**
     * Use the original PHP configuration
     *
     * @return string[] Empty array of PHP cli options
     */
    
public function useOriginal()
    {
        
$this->getDataAndReset();
        return array();
    }

    
/**
     * Use standard restart settings
     *
     * @return string[] PHP cli options
     */
    
public function useStandard()
    {
        
$data $this->getDataAndReset();
        if (
$data !== null) {
            return array(
'-n''-c'$data['tmpIni']);
        }

        return array();
    }

    
/**
     * Use environment variables to persist settings
     *
     * @return string[] Empty array of PHP cli options
     */
    
public function usePersistent()
    {
        
$data $this->getDataAndReset();
        if (
$data !== null) {
            
$this->updateEnv('PHPRC'$data['tmpIni']);
            
$this->updateEnv('PHP_INI_SCAN_DIR''');
        }

        return array();
    }

    
/**
     * Returns restart data if available and resets the environment
     *
     * @return array|null
     * @phpstan-return restartData|null
     */
    
private function getDataAndReset()
    {
        
$data XdebugHandler::getRestartSettings();
        if (
$data !== null) {
            
$this->updateEnv('PHPRC'$data['phprc']);
            
$this->updateEnv('PHP_INI_SCAN_DIR'$data['scanDir']);
        }

        return 
$data;
    }

    
/**
     * Updates a restart settings value in the environment
     *
     * @param string $name
     * @param string|false $value
     *
     * @return void
     */
    
private function updateEnv($name$value)
    {
        
Process::setEnv($namefalse !== $value $value null);
    }
}

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