!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\clases_herramientas\   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:     class_categorias.php (4.63 KB)      -rw-rw-rw-
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
class padre {
            
// 1. Usada para la extracción de la secuencia de adición de la categoria
            
            
function padre($categoria_id_padre
            {
                   
$this->CATEGORIA_P $categoria_id_padre;
                   
                
// 1.1 Consulta de la categoria máxima
                
                
if ($this->CATEGORIA_P == 0) {
                
                    
$cuando "length(categoria_tema_id)<=3";
                    
$control = new select_v1(0"categoria_id, categoria_tema_id""contenido_categoria"$cuando20"""""");
                    
                    if (
$control->NUMERO_REGISTROS == 0
                    {
                            
$this->CATEGORIA_LAST "01.";
                    }else{
                            for (
$i 0$i $control->NUMERO_REGISTROS$i++) {
                                 
$next[$i] = substr($control->RESULTADOS[$i][1], 0,((strlen($control->RESULTADOS[$i][1])) - 1));
                             }
                            
$next max($next);
                            
$next++;
                            if (
strlen($next) == 1) {
                                
$next "0" $next;
                            }
                            
$this->CATEGORIA_LAST $next ".";
                    }                
                
                }else{  
                
                    
$largo_categoria = (strlen($this->CATEGORIA_P)) + 2;
                    
$cuando "categoria_tema_id like '" $this->CATEGORIA_P "%' and length(categoria_tema_id)=" $largo_categoria;
                    
$control = new select_v1(0"categoria_id, categoria_tema_id""contenido_categoria"$cuando20"""""");
                       
                    if (
$control->NUMERO_REGISTROS != 0) {
                            for (
$i 0$i $control->NUMERO_REGISTROS$i++) {
                                
$next[$i] = substr($control->RESULTADOS[$i][1], (strlen($this->CATEGORIA_P)));
                            }
                            
$next max($next);
                            
$next++;
                            if (
strlen($next) == 1) {
                                
$next "0" $next;
                            }
                            
$this->CATEGORIA_LAST $this->CATEGORIA_P $next;
                            
$this->SUMANDO $next;
                    }else{
                            
$this->CATEGORIA_LAST $this->CATEGORIA_P "01";
                            
$this->SUMANDO 1;
                    }
                }
            }
            
            
}

class 
prevenir {
            
// 1. Usada para la extracción de la secuencia de adición de la categoria
            
            
function prevenir($categoria_tema_id$categoria_id$link
            {
                   
$this->CATEGORIA $categoria_tema_id;
                
$largo_categoria = (strlen($categoria_tema_id) + 2);
                
$cuando "categoria_tema_id like '" $this->CATEGORIA "%' and length(categoria_tema_id)=" $largo_categoria;
                
$control = new select_v1(0"categoria_id""contenido_categoria"$cuando10"""""");
                if (
$control->NUMERO_REGISTROS == 0) {
                    
$this->CONTROL "[<a href=\"$link&categoria_id=$categoria_id&o_categoria_tema_id=$this->CATEGORIA&accion=del_\">x</a>]";
                }else{
                    
$this->CONTROL "";
                }
            }    
}

class 
share {
            
// 1. Usada para la suplantación por el nombre original de la categoria compartida
            
            
function share($categoria_tema_id$categoria_tema_desc
            {
                   
$this->CATEGORIA $categoria_tema_id;
                
$this->N_CATEGORIA $categoria_tema_desc;
                
//echo $this->CATEGORIA;
                //echo $this->N_CATEGORIA;
                
$this->PATRON_S "";
                
                
$largo_categoria = (strlen($categoria_tema_id) + 2);
                
$cuando "categoria_tema_id = '" $this->N_CATEGORIA "'";
                
$control_1 = new select_v1(0"categoria_id, categoria_tema_id, categoria_tema_desc""contenido_categoria"$cuando30"""""");
                if (
$control_1->NUMERO_REGISTROS == 0) {
                    
$this->SHARE_N $this->N_CATEGORIA;
                    
$this->SHARE_N_1 $this->N_CATEGORIA;
                    
$this->SHARE_T $this->CATEGORIA;
                }else{
                    
$this->SHARE_N "(S) " $control_1->RESULTADOS[0][2];
                    
$this->SHARE_N_1 $control_1->RESULTADOS[0][2];
                    
$this->SHARE_T $control_1->RESULTADOS[0][1];
                }
            }    
}

class 
share_menu {
            
// 1. Usada para construir menús si es que la categoria en cuestión es compartida
            
            
function share_menu($categoria_tema_id
            {
                   
$this->CATEGORIA $categoria_tema_id;
                
$this->SHARE 0;
                
                
$cuando "categoria_tema_id = '" $this->CATEGORIA "'";
                
$control_1 = new select_v1(0"categoria_id, categoria_tema_id, categoria_tema_desc""contenido_categoria"$cuando30"""""");
                
$this->N_CATEGORIA $control_1->RESULTADOS[0][2];
                
                
$cuando "categoria_tema_id = '" $this->N_CATEGORIA "'";
                
$control_1 = new select_v1(0"categoria_id, categoria_tema_id, categoria_tema_desc""contenido_categoria"$cuando30"""""");
                if (
$control_1->NUMERO_REGISTROS == 0) {
                    
$this->SHARE_N $this->N_CATEGORIA;
                    
$this->SHARE_N_1 $this->N_CATEGORIA;
                    
$this->SHARE_T $this->CATEGORIA;
                }else{
                    
$this->SHARE 1;
                    
$this->SHARE_L strlen($control_1->RESULTADOS[0][1]);
                    
$this->SHARE_N "(S) " $control_1->RESULTADOS[0][2];
                    
$this->SHARE_N_1 $control_1->RESULTADOS[0][2];
                    
$this->SHARE_T $control_1->RESULTADOS[0][1];
                }
            }    
}        
?>

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