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


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

class ci_login extends toba_testing_pers_ci
{
    protected 
$s__datos;
    
    
/**
     * Guarda el id del item original así se hace una redirección una vez logueado
     */
    
function ini__operacion()
    {
        
//--- Si el usuario pidio originalmente algún item distinto al de login, se fuerza como item de inicio de sesión
        
$item_original toba::memoria()->get_item_solicitado_original();
        
$item_actual toba::memoria()->get_item_solicitado();
        if (isset(
$item_original) && isset($item_actual) &&
                
$item_actual[1] != $item_original[1]) {
            
toba::proyecto()->set_parametro('item_inicio_sesion'$item_original[1]);
        }        
    }    
    
    function 
post_eventos()
    {
        if (isset(
$this->s__datos['usuario']) ) {
            if (!isset(
$this->s__datos['clave'])) {
                
$this->s__datos['clave'] = null;
            }            
            try {
                
toba::manejador_sesiones()->login($this->s__datos['usuario'], $this->s__datos['clave']);
            } catch ( 
toba_error_autenticacion $e ) {
                
toba::notificacion()->agregar$e->getMessage() );
            }
        }
    }

    function 
conf()
    {
        if ( ! 
toba::proyecto()->get_parametro('validacion_debug') ) {
            
$this->pantalla()->eliminar_dep('seleccion_usuario');
        }
    }    
    
    
//-------------------------------------------------------------------
    //--- DEPENDENCIAS
    //-------------------------------------------------------------------

    //---- datos -------------------------------------------------------

    
function evt__datos__modificacion($datos)
    {
        
$this->s__datos $datos;
    }

    function 
conf__datos()
    {
        if (isset(
$this->s__datos)) {
            if (isset(
$this->s__datos['clave'])) {
                unset(
$this->s__datos['clave']);
            }
            return 
$this->s__datos;    
        }
    }

    
//---- seleccion_usuario -------------------------------------------------------

    
function evt__seleccion_usuario__seleccion($seleccion)
    {
        
$this->s__datos['usuario'] = $seleccion['usuario'];
        
$this->s__datos['clave'] = null;
    }

    function 
conf__seleccion_usuario()
    {
        return 
toba::instancia()->get_lista_usuarios();
    }
    
    
//-------------------------------------------------------------------
}
?>

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