!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:\copia nuevo\htdocs\BLA\admin\normativa\   drwxrwxrwx
Free 1.14 GB of 239.26 GB (0.48%)
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:     modificar 1.php (11.19 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php include("../../conex.php");
    

  if( 
$_POST['consulta'] ){
    
    
$sql "select * from normatividad where id ='$_POST[id]'";
    
$cursor mysql_query$sql$conexion );
    if( 
$row mysql_fetch_array$cursor ) ){
    
$norma $row["norma"];
    
$resuelve $row["resuelve"];                            
    
$ano $row["ano"];
    
$sector $row["sector"];
    
$vinculo $row["vinculo"];
    
$publicacion $row["publicacion"];
    }
    }
    
     if( 
$_POST['modifica'] ){
    
$sql "update normatividad set         id='$_POST[id]',norma='$_POST[norma]',ano='$_POST[ano]',resuelve='$_POST[resuelve]',sector='$_POST[sector]',vinculo='$_POST[vinculo]',publicacion='$_POST[publicacion]' where id = '$_POST[id]'"

    if(
mysql_query($sql,$conexion)){
    echo 
"<script language='JavaScript' type='text/javascript'>
    alert('Registro modificado correctamente') </script>"
;
}
    else 
    echo 
"<script language='JavaScript' type='text/javascript'>
    alert('Error al modificar registro') </script>"
;
    
}    
    
?>
    
<html><head>
<title>Modulo Administraci&oacute;n</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="../index_files/style.css" rel="stylesheet" type="text/css">
<SCRIPT LANGUAGE="JavaScript">
function popup(page) {
window.open(page,'popup','width=800,height=600,toolbar=false,scrollbars=yes,top=0,left=10');
}
</SCRIPT>
</head><body bgcolor="#FCFAE6">
<div>
<div> <img src="../index_files/header.png" width="780" height="228" border="0" usemap="#Map">
<map name="Map"><area shape="poly" coords="678,165" href="#"><area shape="poly" coords="429,87" href="#"></map></div>
<div>

  
<FORM id=form1 name=form1 method=post>
  <TABLE width="645" border=2 style="BORDER-LEFT-COLOR: green; BORDER-BOTTOM-COLOR: green; BORDER-TOP-COLOR: green; BORDER-RIGHT-COLOR: green" align="center">
              <TBODY>
              <TR>
                <TD width="400" style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Verdana">
                  <div>
                    <TABLE>
                      <TBODY>
                        <TR>
                          <TD style="FONT-SIZE: 10pt; COLOR: black; HEIGHT: 18px; BACKGROUND-COLOR: #cccccc"><strong>Formulario de Modificación Normatividad: <span class="Estilo3">Seleccione la norma a modificar y luego oprima el boton consultar, realice la modificacion seguido del boton modificar. </span></strong><span style="FONT-SIZE: 8pt; FONT-FAMILY: Verdana"><strong></strong></span> <BR></TD>
                      </TR>
                        <TR>
                          <TD style="COLOR: white; BACKGROUND-COLOR: #8EE910">
                          </TD></TR>
                        <TR>
                          <TD 
                      style="FONT-SIZE: 12pt; COLOR: red; BACKGROUND-COLOR: gainsboro; TEXT-ALIGN: center"><p><SPAN 
                        style="FONT-SIZE: 10pt">Si usted ya se encuentra en este modulo es porque tiene acceso a el. El ingreso de informaci&oacute;n no autorizado a este modulo est prohibido y puede estar sujeto a acciones civiles y penales.</SPAN> &nbsp;</p>                        </TD>
                      </TR>
                        <TR>
                          <TD 
                      style="FONT-SIZE: 8pt; COLOR: white; BACKGROUND-COLOR: #8EE910">
                            <TABLE>
                              <TBODY>
                                <TR>
                                  <TD style="HEIGHT: 15px" 
                              align=middle><STRONG>Informaci&oacute;n de la Norma </STRONG></TD>
                                  <TD style="HEIGHT: 15px" align=right><A 
                              id=linAyudaNombre 
                              title=""><input name="id" type="hidden" class="iceReadOnly" id="id" style="" onFocus="setFocus(this.id);" onBlur="setFocus('');" onKeyPress="iceSubmit(form,this,event);" value="<?php echo $id?>" size="5" maxlength="5" readonly="readonly">
                                  </A></TD>
                                </TR></TBODY></TABLE></TD></TR>
                        <TR>
                          <TD 
                      style="HEIGHT: 42px; BACKGROUND-COLOR: #ffffff; TEXT-ALIGN: center">
                            <TABLE width="100%">
                              <TBODY>
                                <TR bgcolor="#D4D0C8">
                                  <TD><strong>Nombre de la Norma
                                    
                                  </strong></TD>
                              <TD width="25"><strong>A&ntilde;o</strong></TD>
                              <TD width="183"><strong>Sector</strong></TD>
                              <TD width="280" style="HEIGHT: 15px"><strong>Vinculo</strong>&nbsp;<span class="Estilo4"></span></TD>
                            </TR>
                                <TR bgcolor="#D4D0C8">
                                  <TD><input name="norma" type="text" class="iceReadOnly" id="creTercero:_id219:_id294" style="" onFocus="setFocus(this.id);" onBlur="setFocus('');" onKeyPress="iceSubmit(form,this,event);" value="<?php echo $norma?>" size="25" maxlength="50"><img src="../../images/search.gif" width="20" height="20" border="0" onClick="popup('mostrar.php')"/></TD>
                                  <TD><INPUT 
                              name=ano 
                              id=ano tabIndex=2 value="<?php echo $ano?>" size="4" maxLength=4></TD>
                              <TD><span>
                                <SELECT 
                              id=sector 
                             
                              name=sector>
                                  <option value="<?php echo $sector?>"><?php $sector=ucfirst(strtolower($sector)); echo $sector ?></option>
                                  <option value="publicidad">Publicidad Exterior Visual</option>
                                  <option value="emisiones">Emisiones Atmosfericas</option>
                                  <option value="mineria">Mineria</option>
                                  <option value="vertimientos">Vertimientos</option>
                                  <option value="hidrocarburos">Hidrocarburos</option>
                                  <option value="ruido">Ruido</option>
                                  <option value="pma">PMA</option>
                                  <option value="licencia">Licencia Ambiental</option>
                                  <option value="concesion">Concesión de Aguas</option>
                                  <option value="flora">Flora</option>
                                  <option value="fauna">Fauna</option>
                                  <option value="silvicultura">Silvicultura</option>
                                  <option value="residuos">Residuos</option>
                                  <option value="humedales">Humedales</option>
                                  <option value="salvoconductos">Salvoconductos</option>
                                  <option value="competencia-estructura">Competencia - Estructura</option>
                                  
                                </SELECT>
                              </span></TD>
                              <TD><INPUT
                              name=vinculo 
                              id=vinculo value="<?php echo $vinculo?>" size="50" maxLength=200>
                                <a href="file://///pc-p12-1000380-/Documentos/NORMAS AMBIENTALES/NORMAS AMBIENTALES">*</a></TD>
                            </TR></TBODY></TABLE></TD></TR>
                        <TR>
                          <TD style="COLOR: white; BACKGROUND-COLOR: #8EE910">
                            <TABLE>
                              <TBODY>
                                <TR>
                                  <TD align=middle><STRONG>Informaci&oacute;n que contiene el encabezado</STRONG></TD>
                              <TD align=right><A id=HyperLink3 
                              title="Ayuda ">Ayuda</A></TD></TR></TBODY></TABLE></TD></TR>
                        <TR>
                          <TD style="TEXT-ALIGN: center">
                            <TABLE width="100%">
                              <TBODY>
                                <TR>
                                  <TD 
                            style="HEIGHT: 15px; BACKGROUND-COLOR: activeborder">&nbsp;</TD>
                              </TR>
                                <TR>
                                  <TD height="51" style="WIDTH: 163px"><span class="Estilo2">
                                    <textarea name="resuelve"
                    rows="4"
                    cols="100"
                                     
                    ><?php echo $resuelve?></textarea>
                                  </span></TD>
                              </TR></TBODY></TABLE>                      </TD></TR>
                        <TR>
                          <TD bgcolor="#8EE910" style="COLOR: white; BACKGROUND-COLOR: #8EE910">
                            <TABLE>
                              <TBODY>
                                <TR>
                                  <TD align=middle><STRONG>Publicaci&oacute;n</STRONG></TD>
                        <TD align=right><A id=HyperLink1 
                              title="Diligencie los datos solicitados">Ayuda</A></TD></TR></TBODY></TABLE><strong></strong></TD></TR>
                        <TR>
                          <TD style="TEXT-ALIGN: center">
                            <TABLE width="100%">
                              <TBODY>
                                <TR>
                                  <TD 
                            style="BACKGROUND-COLOR: activeborder"><strong>Publicar?:</strong> 
                                    <INPUT id=rbGenero_0 tabIndex=8 type=radio <?php if ($publicacion == 's') echo "CHECKED"?>
                                value=s name=publicacion>
                                    <LABEL 
                                for=rbGenero_0>Si 
                                    <INPUT id=rbGenero_1 tabIndex=8 type=radio <?php if ($publicacion == 'n') echo "CHECKED"?>
                                value=n name=publicacion>
                                  No</LABEL></TD>
                              <TD
                            style="BACKGROUND-COLOR: activeborder"><span>
                                <input name="consulta" type="submit" id="consulta" value="Consultar" >
                                <input name="modifica" type="submit" id="modifica" value="Modificar" >
                              
                                <input type="button" name="limpiar" value="Limpiar" onClick="location.href='modificar.php'">
                              </span></TD><TD width="115" 
                              colSpan=2 style="BACKGROUND-COLOR: activeborder"><input type="button" name="limpiar2" value="Volver al menu principal" onClick="location.href='../admin.php'"></TD>
                              </TR>
                            </TBODY></TABLE>                                              </TD>
              </TR></TBODY>
                    </TABLE>
    </div></TD></TR></TBODY></TABLE>
</form>     
</div>
</div>
</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 ]--