!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/proyectos/toba_editor/php/   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:     ef_popup_utileria_php.php (2.35 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

/**
 * Icono de utileria que se le agrega a un ef_popup para poder abrir/ver un codigo php
 */
class ef_popup_utileria_php implements toba_ef_icono_utileria
{
    protected 
$vinculo;
    protected 
$es_abrir;
    protected 
$id_vinculo;
    private 
$_sin_archivo false;

    function 
__construct($es_abrir$registrar_inmediatamente=true)
    {
        
$this->es_abrir $es_abrir;
        
$this->vinculo = new toba_vinculo('toba_editor'30000014);
        
$this->vinculo->set_celda_memoria('php');
        if (
$this->es_abrir) {
            
$this->vinculo->set_servicio('ejecutar');
            
$this->vinculo->set_ajax(true);
        }
        if (
$registrar_inmediatamente) {
            
$this->id_vinculo toba::vinculador()->registrar_vinculo($this->vinculo);
        }
    }

    function 
agregar_parametros($parametros)
    {
        foreach (
$parametros as $clave => $valor) {
                
$this->vinculo->agregar_parametro($clave$valor);
        }
    }

    function 
cambiar_item($item=30000014)
    {
        
$this->vinculo->set_item('toba_editor'$item);
    }

    function 
invocar_sin_archivo($sin_archivo)
    {
        
$this->_sin_archivo $sin_archivo;
    }

    function 
registrar()
    {
        
$this->id_vinculo toba::vinculador()->registrar_vinculo($this->vinculo);
    }

    function 
get_html(toba_ef $ef)
    {
        
$objeto_js $ef->objeto_js();
        if (
$this->es_abrir) {
            
$img toba_recurso::imagen_proyecto('reflexion/abrir.gif'true);
        } else {
            
$img toba_recurso::imagen_toba('nucleo/php.gif'true);
        }
        if (! 
$this->_sin_archivo) {
            
$salida "<a href='#' onclick=\"if ($objeto_js.get_estado() == ''){return;}
                                            vinculador.agregar_parametros(
{$this->id_vinculo}, {archivo: $objeto_js.get_estado()});
                                            vinculador.invocar(
{$this->id_vinculo})\">$img</a>";
        } else {
            if (! 
$ef->tiene_estado()) {
                
$img toba_recurso::imagen_toba('nucleo/extender.gif'true);                                
                
$objeto_js $ef->controlador()->get_id_objeto_js();            //Imita el metodo de modificacion de vinculos usado por los eis
                
$nombre 'modificar_vinculo__ef_'$ef->get_id();                //de otro modo se hace imposible agregarle parametros en runtime
                
$codigo " if (!existe_funcion($objeto_js, '$nombre')){return;}
                            
$objeto_js.$nombre({$this->id_vinculo});
                            vinculador.invocar(
{$this->id_vinculo});";
                               
                
$salida "<a href='#' onclick=\"$codigo\">$img</a>";
            } else {                
                
$salida "<a href='#' onclick=\"vinculador.invocar({$this->id_vinculo})\">$img</a>";
            }            
        }
        return 
$salida;
    }
}

?>

:: 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: 2.0964 ]--