!C99Shell v. 2.1 [PHP 8 Update] [02.02.2022]!

Software: Apache/2.4.53 (Unix) OpenSSL/1.1.1o PHP/7.4.29 mod_perl/2.0.12 Perl/v5.34.1. PHP/7.4.29 

uname -a: Linux vps-2738122-x 4.15.0-213-generic #224-Ubuntu SMP Mon Jun 19 13:30:12 UTC 2023 x86_64 

uid=1(daemon) gid=1(daemon) grupos=1(daemon) 

Safe-mode: OFF (not secure)

/opt/apex_led/php/vendor/siu/arai-cli/src/SIU/AraiCli/Console/   drwxrwxr-x
Free 15.58 GB of 61.93 GB (25.16%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     Application.php (3.03 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * Created by IntelliJ IDEA.
 * User: ablanco
 * Date: 23/06/15
 * Time: 14:57.
 */
namespace SIU\AraiCli\Console;

use 
SIU\AraiCli\IO\ConsoleIO;
use 
SIU\AraiCli\IO\IOInterface;
use 
Symfony\Component\Console\Application as BaseApplication;
use 
Symfony\Component\Console\Formatter\OutputFormatter;
use 
Symfony\Component\Console\Formatter\OutputFormatterStyle;
use 
Symfony\Component\Console\Input\InputInterface;
use 
Symfony\Component\Console\Input\InputOption;
use 
Symfony\Component\Console\Output\ConsoleOutput;
use 
Symfony\Component\Console\Output\OutputInterface;
use 
Symfony\Component\Debug\Debug;

class 
Application extends BaseApplication
{
    
/**
     * @var IOInterface
     */
    
protected $io;

    
/**
     * @return IOInterface
     */
    
public function getIO()
    {
        return 
$this->io;
    }

    
/**
     * {@inheritdoc}
     */
    
public function run(InputInterface $input nullOutputInterface $output null)
    {
        if (
null === $output) {
            
$styles = array(
                
'highlight' => new OutputFormatterStyle('red'),
                
'warning' => new OutputFormatterStyle('black''yellow'),
            );
            
$formatter = new OutputFormatter(null$styles);
            
$output = new ConsoleOutput(ConsoleOutput::VERBOSITY_NORMALnull$formatter);
        }

        return 
parent::run($input$output);
    }

    
/**
     * {@inheritdoc}
     */
    
public function doRun(InputInterface $inputOutputInterface $output)
    {
        
$this->io = new ConsoleIO($input$output$this->getHelperSet());

        if (
PHP_VERSION_ID 50400) {
            
$this->getIO()->writeError('<warning>Araí Cli oficialmente soporta desde PHP 5.4.0 hacia arriba, probablemente encuentres errores con tu versión de PHP: '.PHP_VERSION.', actualizarse es recomendado. </warning>');
        }

        if (
getenv('ARAICLI_NO_INTERACTION')) {
            
$input->setInteractive(false);
        }

//        $env = $input->getParameterOption(array('--env', '-e'), getenv('ARAICLI_ENV') ?: 'dev');
        
$env getenv('ARAICLI_ENV') ?: 'dev';
        
$debug = !$input->hasParameterOption(array('--no-debug''')) && $env !== 'prod';

        if (
$debug) {
            
Debug::enable(error_reporting());
        }

        if (
$input->hasParameterOption('--profile')) {
            
$startTime microtime(true);
            
$this->io->enableDebugging($startTime);
        }

        
$result parent::doRun($input$output);

        if (isset(
$startTime)) {
            
$this->getIO()->writeError('<info>Uso de memoria: '.round(memory_get_usage() / 1024 10242).'MB (peak: '.round(memory_get_peak_usage() / 1024 10242).'MB), time: '.round(microtime(true) - $startTime2).'s');
        }

        return 
$result;
    }

    
/**
     * {@inheritdoc}
     */
    
protected function getDefaultInputDefinition()
    {
        
$definition parent::getDefaultInputDefinition();
        
$definition->addOption(new InputOption('--profile'nullInputOption::VALUE_NONE'Mostrar tiempos y uso de memoria'));

        return 
$definition;
    }
}

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v. 2.1 [PHP 8 Update] [02.02.2022] maintained byC99Shell Github | Generation time: 0.2962 ]--