!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/proyectos/toba_editor/php/utilitarios/testing_unitario/   drwxrwxr-x
Free 14.38 GB of 61.93 GB (23.23%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     casos_consola.php (1.27 KB)      -rwxrwxr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
require_once('lista_casos.php');
include_once(
'nucleo/consola/emular_web.php');
require_once(
toba_dir() . '/php/3ros/simpletest/reporter.php');

$this->registrar_parametros();

$proyecto $this->parametros['-p'];
lista_casos::$proyecto $proyecto;

//Selecciono una categoria
if (isset($this->parametros['-c'])) {
    
$seleccionados lista_casos::get_casos($this->parametros['-c']);
} else {
    
$seleccionados lista_casos::get_casos();
}
    
if (isset(
$this->parametros['-t'])) {
    
//Seleccion de un test particular
    
if (isset($this->parametros['-t'])) {
        
$particular false;
        foreach (
$seleccionados as $caso) {
            if (
$caso['id'] == $this->parametros['-t']) {
                
$particular $caso;
            }
        }
        if (
$particular) {
            
$seleccionados = array($particular);
        } else {
            
$seleccionados = array();
        }
    }    


try {
    
$test = new GroupTest('Casos de TEST');
    foreach (
$seleccionados as $caso) {
        require_once(
$caso['archivo']);
        
$test->addTestCase(new $caso['id']($caso['nombre']));
    }
    
    
//Termina la ejecución con 0 o 1 para que pueda comunicarse con al consola
    
exit ($test->run(new TextReporter()) ? 1);
    
} catch (
Exception $e) {
    if (
method_exists($e'mensaje_consola')) {
        echo 
$e->mensaje_consola();
    } else {
        echo 
$e;
    }
}


?>

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