!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\   drwxrwxrwx
Free 7.96 GB of 239.26 GB (3.33%)
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:     class_indice_tbl.php (2.67 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
class indice_tbl {  
       
    function 
indice_tbl($patron$link$imagen$fuente$size$tab)
    {
        
        
$this->PATRON $patron;
        
$this->LINK $link;
        
$this->IMAGEN_NIVEL_1 $imagen;
        
$this->FUENTE $fuente;
        
$this->SIZE $size;
        
        
// 1. Operaciones sobre el patron
        
            // 1.1 Si el patron es de un solo digito que le asigne un punto
            
$largo_patron strlen($this->PATRON);
            if (
$largo_patron >= 5) {
                
                
// 1.2 Calcular el siguiente nivel
                
$largo_patron_next $largo_patron 2;
                
                
// 1.3 Query constante
                
$seleccion "categoria_tema_id, categoria_tema_desc, categoria_id";
                
$desde "contenido_categoria";
                
$cuando "(categoria_estado = 0 and categoria_tema_id like '" $this->PATRON "%' and length(categoria_tema_id)=$largo_patron_next) order by categoria_tema_id";
                
$numero_campos 3;
                
$numero_paginacion 0;
        
                
// 1.3.1 Definir Query Real (encuentra los resultados deseados)
                
$query "select " $seleccion " from " $desde " where " $cuando;
                
$select = new Select($query$numero_campos$inicio ,$numero_paginacion);
        
                
// 1.3.2 Extrae los resultados en un arreglo de dos dimensiones
                
$resultados $select->RESULTADO;
        
                
// 1.4 Definir Variables que quiero imprimir, las cuales se deben sustituir por las que esten en $texto
                
$variables[0] = "(tema_id)";
                
$variables[1] = "(tema_desc)";
                
$variables[2] = "(carpeta)";
                
                
// 1.5 Uso $texto para imprimir cualquier formato y sustituyo los nombres de variables por aquellos dados en los nonmbres de variables
                // del numeral 3
        
                
$c_t 0;
                for (
$i 0$i $select->NUMERO_REGISTROS$i++) {

                    
// 1.5.1 Buscar coincidencia en la categoria para destacarla
                    
if ($resultados[$i][0] == $patron) {
                        
$destacado_inicio "<b>";
                        
$destacado_fin "</b>";
                    }else{
                        
$destacado_inicio "";
                        
$destacado_fin "";
                    }
                    
                    
// 1.5.2 Formato de índice con tabla
                    
$tab 0;
                    if (
$tab != 0) {
                        if  (
$c_t == 0) {
                            echo 
"<tr>";
                        }
                    }
                    
                    
$texto "<td><img src=\"$this->IMAGEN_NIVEL_1\"> <a href=\"$this->LINK?patron=(tema_id)\"><font size=\"$this->SIZE\" face=\"$this->FUENTE\">$destacado_inicio(tema_desc)$destacado_fin</font></a>$a->CONTROL </td>";
                    
$resultados_1[0][0] = $resultados[$i][0];
                    
$resultados_1[0][1] = $resultados[$i][1];
                    
$resultados_1[0][2] = $resultados[$i][2];
                    
                    
$pagina = new listar(1$texto$resultados_1$variables);
                    if (
$tab != 0) {
                        if  (
$c_t == 2) {
                            
$c_t 0;
                            echo 
"</tr>";
                        }else{
                            
$c_t++;
                        }
                    }
                }
                            
        }
            
    }
    
}
?>

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