!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: nginx/1.23.4. PHP/5.6.40-65+ubuntu20.04.1+deb.sury.org+1 

uname -a: Linux foro-restaurado-2 5.15.0-1040-oracle #46-Ubuntu SMP Fri Jul 14 21:47:21 UTC 2023
aarch64
 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/home/matadin2017/Robles2017/Mailer/   drwxrwxr-x
Free 83.24 GB of 96.73 GB (86.06%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     class.Mensajes.php (3.02 KB)      -rw-rw-r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
####################################################################################
#    class.Mensajes.php
#
#    Realiza envios de mensajes.
#    SMS con cargo al movil de Javier
#    Correos con SMTP de GMail
#
#    Creada por:        Miguel Angel 2014-06-30
#
#    Modificada por:    
#
####################################################################################

class Mensajes
{
var 
$Debug0;
function 
__construct()
    {
    
//No es necesario;
    
}

function 
Prepare($Origen,$Destino,$Titulo,$Cuerpo,$Gestion0,$Autopro0,$DANULL)
    {
    unset(
$this->Data);$this->Data= array();
    if(
$Destino == '')return('Variable $Destino no puede estar vacia');
    if(!
is_array($Destino))return('Variable $Destino ha de ser un array');    
    if(
$Titulo == '')return('Variable $Titulo no puede estar vacia');
    if(
$Cuerpo == '')return('Variable $Cuerpo no puede estar vacia');
    if(
$this->Debug == 1)print_r($Destino);
    
$StringDestinatariosserialize($Destino);
    
    
$this->Data['Destino']= base64_encode($StringDestinatarios);
    
$this->Data['Titulo']= base64_encode($Titulo);
    
$this->Data['Cuerpo']= base64_encode($Cuerpo);
    
$this->Data['Origen']= $Origen;
    
$this->Data['Gestion']= $Gestion;
    
$this->Data['Autopro']= $Autopro;
    if(
$DA != NULL)$this->Data['DA']= base64_encode(serialize($DA));
    }
function 
Send($Tipo)
    {
    switch(
$Tipo)
        {
        case 
'sms':    //$SendURL= 'http://10.59.50.246/sms/EnvioSms.php';
                    
$SendURL'http://81.4.127.184/matadin2017/Robles2017/Mailer/EnvioSmsOLD.php';
                    break;
        case 
'mail':$SendURL'http://10.59.50.246/mailer/MailSara.php';
                    break;
        default:    return(array(
'NOK'));
                    break;
        }
    
$OCurl curl_init();
    
curl_setopt($OCurlCURLOPT_URL,$SendURL);
    
curl_setopt($OCurlCURLOPT_POST,1);
    
curl_setopt($OCurlCURLOPT_POSTFIELDS,$this->Data);
    
curl_setopt($OCurlCURLOPT_RETURNTRANSFER,1);
    if(
$this->Debug == 1)echo "Executing CURL.\n";
    
$Output curl_exec($OCurl);
    
curl_close($OCurl);
    if(
$this->Debug == 1)echo "Closing CURL.\n";
    
//Depuracion de Resultado
    
if($Output == 'NOK')$VarReturn'Peticion no Valida';
    else 
$VarReturnunserialize(base64_decode($Output));
    if(
$this->Debug == 1)
        {
        echo 
"\n******************************************\n";
        echo 
$Output;
        
print_r($VarReturn);
        echo 
"\n******************************************\n";
        }
    return(
$VarReturn);
    }
}
/**/$Destinatarios= array('654976698');
//$TextoAsunto= "Esto es el cuerpo del SMS.\nSegunda linea.\n".date('Y-m-d H:i:s');
//$TextoAsunto.= "\nTe informamos del Número de Incidencia abierta por el Asistente Virtual de Movistar: R8J468";

/**/
$Prueba= new Mensajes();
/**/$Prueba->Prepare('SPV',$Destinatarios,'Prueba envio SMS',$TextoAsunto);
//$ResultEnvio= $Prueba->Send('sms');
//$Titulo= utf8_encode("Título Correo SARA España");
//$TextoAsunto= "Esto es el cuerpo del Correo enviado por Post.<br>".date('Y-m-d H:i:s');
//$Destinatarios= array('[email protected]');
//$Prueba->Prepare('CA',$Destinatarios,$Titulo,$TextoAsunto);
//$ResultEnvio= $Prueba->Send('mail');
//print_r($ResultEnvio);
?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by HackingTool | HackingTool | Generation time: 0.0047 ]--