!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 10.11 GB of 239.26 GB (4.22%)
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.php (1.59 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

include ("conex.php");

//echo $_GET['ordenar'];
$menu = $_GET['menu'];
if ($_GET['menu'] == '')
	{
	$menu = '';	
	}
if ($_GET['menu'] != '')
	{
	$menu = " AND SECTOR = '$_GET[menu]'";	
	}	
		

if ($_GET['ordenar'] == 'mas')
	{
	$order = ' order by ano DESC, norma DESC';		
	}
	
if ($_GET['ordenar'] == 'menos')
	{
	$order = ' order by ano ASC, norma ASC';	
	}
if ($_GET['ordenar'] == '')
	{
	$order = '';	
	}
	
	
$criterio = "$menu$order";	

$menu=ucfirst(strtolower($_GET['menu']));
$sql=mysql_query("SELECT `id` , `norma` , `ano` , `resuelve` , `sector` , `vinculo` , `publicacion` FROM `normatividad` WHERE `publicacion` = 's' $criterio ",$con);


//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)){

$cont=$cont+1;

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

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




echo "
<tr $class>
		<th  scope='row'>$cont</th>
		<td>$row[norma]</td>
		<td>$row[resuelve]</td>
		<td>$row[sector]</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.0156 ]--