!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/zt-tsou.org.ua/smarty/internals/   drwxr-xr-x
Free 106.79 GB of 200.55 GB (53.25%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     core.process_cached_inserts.php (2.41 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Smarty plugin
 * @package Smarty
 * @subpackage plugins
 */

/**
 * Replace cached inserts with the actual results
 *
 * @param string $results
 * @return string
 */
function smarty_core_process_cached_inserts($params, &$smarty)
{
    
preg_match_all('!'.$smarty->_smarty_md5.'{insert_cache (.*)}'.$smarty->_smarty_md5.'!Uis',
                   
$params['results'], $match);
    list(
$cached_inserts$insert_args) = $match;

    for (
$i 0$for_max count($cached_inserts); $i $for_max$i++) {
        if (
$smarty->debugging) {
            
$_params = array();
            require_once(
SMARTY_CORE_DIR 'core.get_microtime.php');
            
$debug_start_time smarty_core_get_microtime($_params$smarty);
        }

        
$args unserialize($insert_args[$i]);
        
$name $args['name'];

        if (isset(
$args['script'])) {
            
$_params = array('resource_name' => $smarty->_dequote($args['script']));
            require_once(
SMARTY_CORE_DIR 'core.get_php_resource.php');
            if(!
smarty_core_get_php_resource($_params$smarty)) {
                return 
false;
            }
            
$resource_type $_params['resource_type'];
            
$php_resource $_params['php_resource'];


            if (
$resource_type == 'file') {
                
$smarty->_include($php_resourcetrue);
            } else {
                
$smarty->_eval($php_resource);
            }
        }

        
$function_name $smarty->_plugins['insert'][$name][0];
        if (empty(
$args['assign'])) {
            
$replace $function_name($args$smarty);
        } else {
            
$smarty->assign($args['assign'], $function_name($args$smarty));
            
$replace '';
        }

        
$params['results'] = substr_replace($params['results'], $replacestrpos($params['results'], $cached_inserts[$i]), strlen($cached_inserts[$i]));
        if (
$smarty->debugging) {
            
$_params = array();
            require_once(
SMARTY_CORE_DIR 'core.get_microtime.php');
            
$smarty->_smarty_debug_info[] = array('type'      => 'insert',
                                                
'filename'  => 'insert_'.$name,
                                                
'depth'     => $smarty->_inclusion_depth,
                                                
'exec_time' => smarty_core_get_microtime($_params$smarty) - $debug_start_time);
        }
    }

    return 
$params['results'];
}

/* vim: set expandtab: */

?>

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