!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\BLA\boletinlegal\   drwxrwxrwx
Free 1.23 GB of 239.26 GB (0.51%)
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:     consulta_cerros.php (1.73 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php 

include ("conex.php");


/*
echo $_GET['tipo'];

echo $_GET['sector'];
echo $_GET['ano'];
echo $_GET['resuelve'];
*/
if($_GET['tipo'] != ""){
$sqltipo" and norma like '%$_GET[tipo]%'";
}
if(
$_GET['sector'] != ""){
$sqlsector" and sector  = '$_GET[sector]'";
}
if(
$_GET['ano'] != ""){
$sqlano" and ano  = '$_GET[ano]'";
}
if(
$_GET['resuelve'] != ""){
$sqlresuelve" and resuelve like '%$_GET[resuelve]%'";
}

$order " order by ano desc ";    

$sqlt "SELECT `id` , `norma` , `ano` , `resuelve` , `sector` , `vinculo` , `publicacion` FROM `normatividad` WHERE `publicacion` = 's' "

$sqldef=$sqlt.$sqltipo.$sqlno.$sqlsector.$sqlano.$sqlresuelve.$order;
//echo "$sqldef";

$sql=mysql_query($sqldef,$con);

$num_rows mysql_num_rows($sql);


//muestra los datos consultados
echo "<table>
    <caption>
    <h5>
$menu</h5></caption>
    <thead>
    <tr class='odd'>

        <th scope='col' abbr='Home'><h5><span></span>No.</h5></th>
        <th scope='col' abbr='Home'><h5><span></span>Norma</h5></th>
        <th scope='col' abbr='Home'><h5><span></span>Título</h5></th>
        <th scope='col' abbr='Home'><h5><span></span>Sector</h5></th>
        <th scope='col' abbr='Home'><h5><span></span>Enlace</h5></th>
        

    </tr>    
    </thead>
    <tfoot>"
;
while(
$row mysql_fetch_array($sql)){
$menu=ucfirst(strtolower($row['sector']));

$cont=$cont+1;

if (
$cont == 0)
$class"class='odd'";

if (
$cont == 1)
$class"";




echo 
"
<tr 
$class>
        <th  scope='row'>
$cont</th>
        <td>
$row[norma]</td>
        <td>
$row[resuelve]</td>
        <td>
$menu</td>
        <td><A href='
$row[vinculo]' target=_blank><img src='images/docs.png' width='32' height='35' border='0' align='absmiddle'/></a></td>
        
        "
;
        
}
?>

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