!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)

C:\dmz\php\pear\PhpDocumentor\phpDocumentor\Smarty-2.6.0\libs\core\   drwxrwxrwx
Free 3.26 GB of 39.52 GB (8.25%)
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:     core.write_compiled_resource.php (1.18 KB)      -rw-rw-rw-
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
 * @param integer $resource_timestamp
 * @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_DIR 'core' DIRECTORY_SEPARATOR 'core.write_file.php');
    
smarty_core_write_file($_params$smarty);
    
touch($params['compile_path'], $params['resource_timestamp']);
    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. 1.0 pre-release build #13 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0156 ]--