!c99Shell v. 1.0 pre-release build #16!

Software: Apache/2.2.3 (CentOS). PHP/5.1.6 

uname -a: Linux mx-ll-110-164-51-230.static.3bb.co.th 2.6.18-194.el5PAE #1 SMP Fri Apr 2 15:37:44
EDT 2010 i686
 

uid=48(apache) gid=48(apache) groups=48(apache) 

Safe-mode: OFF (not secure)

/var/www/html/alumni/inc/geshi/geshi/   drwxr-xr-x
Free 50.92 GB of 127.8 GB (39.84%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     smarty.php (6.04 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*************************************************************************************
 * smarty.php
 * ----------
 * Author: Alan Juden (alan@judenware.org)
 * Copyright: (c) 2004 Alan Juden, Nigel McNie (http://qbnz.com/highlighter/)
 * Release Version: 1.0.7.19
 * Date Started: 2004/07/10
 *
 * Smarty template language file for GeSHi.
 *
 * CHANGES
 * -------
 * 2004/11/27 (1.0.0)
 *  -  Initial Release
 *
 * TODO
 * ----
 *
 *************************************************************************************
 *
 *     This file is part of GeSHi.
 *
 *   GeSHi is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   GeSHi is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with GeSHi; if not, write to the Free Software
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 ************************************************************************************/

$language_data = array (
    
'LANG_NAME' => 'Smarty',
    
'COMMENT_SINGLE' => array(),
    
'COMMENT_MULTI' => array('{*' => '*}'),
    
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
    
'QUOTEMARKS' => array("'"'"'),
    
'ESCAPE_CHAR' => '\\',
    
'KEYWORDS' => array(
        
=> array(
            
'$smarty''now''const''capture''config''section''foreach''template''version''ldelim''rdelim',
            
'config_load''foreachelse''include''include_php''insert''if''elseif''else''php',
            
'sectionelse''clear_all_cache''clear_cache''is_cached',
            ),
        
=> array(
            
'capitalize''count_characters''cat''count_paragraphs''count_sentences''count_words''date_format',
            
'default''escape''indent''lower''nl2br''regex_replace''replace''spacify''string_format',
            
'strip''strip_tags''truncate''upper''wordwrap'
            
),
        
=> array(
            
'assign''counter''cycle''debug''eval''fetch''html_checkboxes''html_image''html_options',
            
'html_radios''html_select_date''html_select_time''html_table''math''mailto''popup_init',
            
'popup''textformat'
            
),
        
=> array(
            
'$template_dir''$compile_dir''$config_dir''$plugins_dir''$debugging''$debug_tpl',
            
'$debugging_ctrl''$autoload_filters''$compile_check''$force_compile''$caching''$cache_dir',
            
'$cache_lifetime''$cache_handler_func''$cache_modified_check''$config_overwrite',
            
'$config_booleanize''$config_read_hidden''$config_fix_newlines''$default_template_handler_func',
            
'$php_handling''$security''$secure_dir''$security_settings''$trusted_dir''$left_delimiter',
            
'$right_delimiter''$compiler_class''$request_vars_order''$request_use_auto_globals',
            
'$error_reporting''$compile_id''$use_sub_dirs''$default_modifiers''$default_resource_type'
            
),
        
=> array(
            
'append''append_by_ref''assign''assign_by_ref''clear_all_assign''clear_all_cache',
            
'clear_assign''clear_cache''clear_compiled_tpl''clear_config''config_load''display',
            
'fetch''get_config_vars''get_registered_object''get_template_vars''is_cached',
            
'load_filter''register_block''register_compiler_function''register_function',
            
'register_modifier''register_object''register_outputfilter''register_postfilter',
            
'register_prefilter''register_resource''trigger_error''template_exists''unregister_block',
            
'unregister_compiler_function''unregister_function''unregister_modifier''unregister_object',
            
'unregister_outputfilter''unregister_postfilter''unregister_prefilter''unregister_resource'
            
),
        
=> array(
            
'name''assign''file''scope''global''key''once''script',
            
'loop''start''step''max''show''values''value''from''item'
            
),
        
=> array(
            
'eq''neq''ne''lte''gte''ge''le''not''mod'
            
),
        ),
    
'SYMBOLS' => array(
        
'/''=''==''!=''>''<''>=''<=''!''%'
        
),
    
'CASE_SENSITIVE' => array(
        
GESHI_COMMENTS => false,
        
=> false,
        
=> false,
        
=> false,
        
=> false,
        
=> false,
        
=> false,
        
=> false,
        ),
    
'STYLES' => array(
        
'KEYWORDS' => array(
            
=> 'color: #0600FF;',        //Functions
            
=> 'color: #008000;',        //Modifiers
            
=> 'color: #0600FF;',        //Custom Functions
            
=> 'color: #804040;',        //Variables
            
=> 'color: #008000;',        //Methods
            
=> 'color: #6A0A0A;',        //Attributes
            
=> 'color: #D36900;'        //Text-based symbols
            
),
        
'COMMENTS' => array(
            
'MULTI' => 'color: #008080; font-style: italic;'
            
),
        
'ESCAPE_CHAR' => array(
            
=> 'color: #000099; font-weight: bold;'
            
),
        
'BRACKETS' => array(
            
=> 'color: #D36900;'
            
),
        
'STRINGS' => array(
            
=> 'color: #ff0000;'
            
),
        
'NUMBERS' => array(
            
=> 'color: #cc66cc;'
            
),
        
'METHODS' => array(
            
=> 'color: #006600;'
            
),
        
'SYMBOLS' => array(
            
=> 'color: #D36900;'
            
),
        
'SCRIPT' => array(
            
=> ''
            
),
        
'REGEXPS' => array(
            )
        ),
    
'URLS' => array(
        
=> 'http://smarty.php.net/{FNAME}',
        
=> 'http://smarty.php.net/{FNAME}',
        
=> 'http://smarty.php.net/{FNAME}',
        
=> 'http://smarty.php.net/{FNAME}',
        
=> 'http://smarty.php.net/{FNAME}',
        
=> '',
        
=> 'http://smarty.php.net/{FNAME}'
        
),
    
'OOLANG' => true,
    
'OBJECT_SPLITTERS' => array(
        
=> '.'
        
),
    
'REGEXPS' => array(
        ),
    
'STRICT_MODE_APPLIES' => GESHI_ALWAYS,
    
'SCRIPT_DELIMITERS' => array(
        
=> array(
            
'{' => '}'
            
)
    ),
    
'HIGHLIGHT_STRICT_BLOCK' => array(
        
=> true
        
)
);

?>

:: Command execute ::

Enter:
 
Select:
 

:: Shadow's tricks :D ::

Useful Commands
 
Warning. Kernel may be alerted using higher levels
Kernel Info:

:: Preddy's tricks :D ::

Php Safe-Mode Bypass (Read Files)

File:

eg: /etc/passwd

Php Safe-Mode Bypass (List Directories):

Dir:

eg: /etc/

:: Search ::
  - regexp 

:: Upload ::
 
[ ok ]

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

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

--[ c999shell v. 1.0 pre-release build #16 Modded by Shadow & Preddy | RootShell Security Group | r57 c99 shell | Generation time: 0.0178 ]--