!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:\xampp\xampp\htdocs\PEV\   drwxrwxrwx
Free 8.81 GB of 239.26 GB (3.68%)
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:     borrar1.php (6.65 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
    // Configura la información de tu cuenta
    $dbhost='localhost';
    $dbusername='root';
    $dbuserpass='';
    $dbname='pev';
    session_start(); 

 
    // Conexión a la base de datos
    $conexion = mysql_connect ($dbhost, $dbusername, $dbuserpass);
    mysql_select_db($dbname,$conexion) or die('Cannot select database');

    

    if (isset($_SESSION['s_username'])) {
    //echo "".$_SESSION['s_username']."";
    }else{
    echo "Tu no estas autentificado dirígete al administrador ";
    echo $_SESSION['s_username'];
    }
    ?> 
<?
//echo "$id...$emp_id...$registro...$radicado...$fecha_rad...$direccion_ele...$localidad...$ct...$fecha_ct";

    

if($consultar)
{
if($id != ""){
$sql_id= " id = '$id'";
}
if($emp_id != ""){
$sqlemp_id= " and emp_id  = '$emp_id'";
}
if($registro != ""){
$sqlregistro= " and registro  = '$registro'";
}
if($radicado != ""){
$sqlradicado= " and radicado  = '$radicado'";
}
if($fecha_rad != ""){
$sqlfecha_rad= " and fecha_rad = '$fecha_rad'";
}
if($direccion_ele != ""){
$sqldireccion_ele= " and direccion_ele = '$direccion_ele'";
}
if($localidad != ""){
$sqllocalidad= " and localidad = '$localidad'";
}
if($ct != ""){
$sqlct= " and ct = '$ct'";
}
if($fecha_ct != ""){
$sqlfecha_ct= " and fecha_ct  = '$fecha_ct'";
}


//echo "$cod_id";
$sqlt = "select id,emp_id,registro,radicado,fecha_rad,direccion_ele,localidad,ct,fecha_ct from concepto_tecnico where 1=1"; 
$sql=$sqlt.$sql_id.$sqlemp_id.$sqlregistro.$sqlradicado.$sqlfecha_rad.$sqldireccion_ele.$sqllocalidad.$sqlct.$sqlfecha_ct;

//echo "$sqlt";
//echo "$sql";    
    //cod_id='$cod_id'";
    $cursor = mysql_query( $sql, $conexion );
$num_rows = mysql_num_rows($cursor);
echo " <font color='#FFFFFF' face='Arial, Helvetica, sans-serif'><BR>                         $num_rows Registros encontrados \n <BR></font>"; 


?>   
<html>
<head>
<title>Consulta-Pev</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>

<body background="imagenes/107.gif">

<TABLE borderColor=#ffffff cellSpacing=0 cellPadding=0 width=779 
      bgColor=#ebeef3 border=1 align="center">
  <TBODY>
    <TR> 
      <TD vAlign=center align=middle width=76 height=35><div align="center"><strong><FONT face=Arial 
            size=2>Registro</FONT></strong></div></TD>
      <TD vAlign=center align=middle width=101 height=35><div align="center"><strong><FONT face=Arial 
            size=2>Radicado&nbsp;</FONT></strong></div></TD>
      <TD vAlign=center align=middle width=81 height=35><div align="center"><strong><FONT face=Arial 
            size=2>Fecha Rad 
          <? $fecha_rad=$FECHAINICONSULTAPROCESO ?>
          </FONT></strong></div></TD>
      <TD vAlign=center align=middle width=153 height=35><div align="center"><strong><FONT face=Arial 
            size=2> Direccion Elemento</FONT></strong></div></TD>
      <TD vAlign=center align=middle width=66 height=35><strong><FONT face=Arial 
            size=2>Localidad</FONT></strong></TD>
      <TD vAlign=center align=middle width=107 height=35><div align="center"><strong><FONT face=Arial 
            size=2>Empresa&nbsp;</FONT></strong></div></TD>
      <TD vAlign=center align=middle width=66 height=35><div align="center"><strong><font size="2" face="Arial">C.T</font></strong></div></TD>
      <TD vAlign=center align=middle width=111 height=35><div align="center"><strong><FONT face=Arial 
            size=2>Fecha C.T 
          <? $fecha_ct=$FECHAFINCONSULTAPROCESO ?>
          </FONT></strong></div></TD>
    </TR>
</TABLE>    

<? 
  
  while( $row = mysql_fetch_array( $cursor ) ){
    $id = $row["id"];              
    $emp_id = $row["emp_id"];
    $registro = $row["registro"];      
    $radicado = $row["radicado"];              
    $fecha_rad = $row["fecha_rad"];                              
    $direccion_ele = $row["direccion_ele"];                                  
    $localidad = $row["localidad"];                              
    $ct  = $row["ct"];                              
    $fecha_ct = $row["fecha_ct"];                            
    
    if($registro == ""){
    $registro = "&nbsp";
    }
     if($radicado == ""){
     $radicado = "&nbsp";
     }
     if($fecha_rad == ""){
     $fecha_rad = "&nbsp";
     }
     if($direccion_ele == ""){
     $direccion_ele = "&nbsp";
     }
     if($localidad == ""){
     $localidad = "&nbsp";
     }
     if($emp_id == ""){
     $emp_id = "&nbsp";
     }
     if($ct == ""){
     $ct = "&nbsp";
     }
     if($fecha_ct == ""){
     $registro = "&nbsp";
     }
     
    
//echo "<h3> ..hola..$cod_id  ......$cod_inventario...$referencia...$marca...$modelo...$color...$tipo...$nom_maq...$potencia...$no_motor...$combustible...$tipo_f...$estado...$tipo_imp...$nom_imp...$tip_suelo...$ancho...$peso...$caracteristicas...$usuario...$imagen...</h3> "; 
?>
<TABLE borderColor=#ffffff cellSpacing=0 cellPadding=0 width=779 border=1 align="center">
  <TBODY>
    
    <TR> 
      <TD vAlign=center align=middle width=76 height=35><div align="left"><FONT face=Arial 
            size=2 color="#FFFFFF"><? echo"$registro"; ?></FONT></div></TD>
      <TD vAlign=center align=middle width=101 height=35><div align="left"><FONT face=Arial 
            size=2 color="#FFFFFF"><? echo"$radicado"; ?>&nbsp;</FONT></div></TD>
      <TD vAlign=center align=middle width=81 height=35><div align="left"><FONT face=Arial 
            size=2 color="#FFFFFF"><? echo"$fecha_rad"; ?></FONT></div></TD>
      <TD vAlign=center align=middle width=153 height=35><div align="left"><FONT face=Arial 
            size=2 color="#FFFFFF"><? echo"$direccion_ele"; ?>&nbsp;</FONT></div></TD>
      <TD vAlign=center align=middle width=66 height=35><div align="left"><FONT face=Arial 
            size=2 color="#FFFFFF"><? echo"$localidad"; ?></FONT></div></TD>
      <TD vAlign=center align=middle width=107 height=35><div align="left"><FONT face=Arial 
            size=2 color="#FFFFFF"><? $sql= "select nombre_emp from empresa where id = '$emp_id'"; 
                      $res=mysql_query($sql,$conexion);
                    while ( $myrow=mysql_fetch_array($res)){
                      $nombre_emp=$myrow["nombre_emp"];
                      }
            
            echo"$nombre_emp"; ?>&nbsp;</FONT></div></TD>
      <TD vAlign=center align=middle width=66 height=35 bgcolor="#FFFFFF"><div align="center"><FONT face=Arial 
            size=2 color="#FFFFFF"><a href="dla.php?ct_id=<? echo"$ct"; ?>&nombre_emp=<? echo"$nombre_emp"; ?>&localidad=<? echo"$localidad"; ?>"><? echo"$ct"; ?></a></FONT></div></TD>
      <TD vAlign=center align=middle width=111 height=35><div align="center"><FONT face=Arial 
            size=2 color="#FFFFFF"><? echo"$fecha_ct"; ?>&nbsp;</FONT></div></TD>
    </TR>
 <? } } ?>
  </TBODY>

</TABLE>

</body>
</html>

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