!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:     ocaml.php (6.78 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*************************************************************************************
 * ocaml.php
 * ----------
 * Author: Flaie (fireflaie@gmail.com)
 * Copyright: (c) 2005 Flaie, Nigel McNie (http://qbnz.com/highlighter)
 * Release Version: 1.0.7.19
 * Date Started: 2005/08/27
 *
 * OCaml (Objective Caml) language file for GeSHi.
 *
 * CHANGES
 * -------
 * 2005/08/27 (1.0.0)
 *   -  First Release
 *
 * TODO (updated 2005/08/27)
 * -------------------------
 *
 *************************************************************************************
 *
 *   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' => 'OCaml',
    
'COMMENT_SINGLE' => array(),
    
'COMMENT_MULTI' => array('(*' => '*)'),
    
'CASE_KEYWORDS' => 0,
    
'QUOTEMARKS' => array('"'),
    
'ESCAPE_CHAR' => "",
    
'KEYWORDS' => array(
       
/* main OCaml keywords */
        
=> array(
            
'and''As''asr''begin''Class''Closed''constraint''do''done''downto''else',
            
'end''exception''external''failwith''false''flush''for''fun''function''functor',
            
'if''in''include''inherit',  'incr''land''let''load''los''lsl''lsr''lxor',
            
'match''method''mod''module''mutable''new''not''of''open''option''or''parser',
            
'private''ref''rec''raise''regexp''sig''struct''stdout''stdin''stderr''then',
            
'to''true''try''type''val''virtual''when''while''with'
            
),
        
/* define names of main librarys, so we can link to it */
        
=> array(
            
'Arg''Arith_status''Array''ArrayLabels''Big_int''Bigarray''Buffer''Callback',
            
'CamlinternalOO''Char''Complex''Condition''Dbm''Digest''Dynlink''Event',
            
'Filename''Format''Gc''Genlex''Graphics''GraphicsX11''Hashtbl''Int32''Int64',
            
'Lazy''Lexing''List''ListLabels''Map''Marshal''MoreLabels''Mutex''Nativeint',
            
'Num''Obj''Oo''Parsing''Pervasives''Printexc''Printf''Queue''Random''Scanf',
            
'Set''Sort''Stack''StdLabels''Str''Stream''String''StringLabels''Sys''Thread',
            
'ThreadUnix''Tk'
           
),
        
/* just link to the Pervasives functions library, cause it's the default opened library when starting OCaml */
        
=> array(
            
'raise''invalid_arg''failwith''compare''min''max''succ''pred''mod''abs'
            
'max_int''min_int''sqrt''exp''log''log10''cos''sin''tan''acos''asin'
            
'atan''atan2''cosh''sinh''tanh''ceil''floor''abs_float''mod_float''frexp',
            
'ldexp''modf''float''float_of_int''truncate''int_of_float''infinity''nan',
            
'max_float''min_float''epsilon_float''classify_float''int_of_char''char_of_int'
            
'ignore''string_of_bool''bool_of_string''string_of_int''int_of_string'
            
'string_of_float''float_of_string''fst''snd''stdin''stdout''stderr''print_char',
            
'print_string''print_int''print_float''print_endline''print_newline''prerr_char',
            
'prerr_string''prerr_int''prerr_float''prerr_endline''prerr_newline''read_line',
            
'read_int''read_float''open_out''open_out_bin''open_out_gen''flush''flush_all',
            
'output_char''output_string''output''output_byte''output_binary_int''output_value',
            
'seek_out''pos_out',  'out_channel_length''close_out''close_out_noerr''set_binary_mode_out',
            
'open_in''open_in_bin''open_in_gen''input_char''input_line''input''really_input',
            
'input_byte''input_binary_int''input_value''seek_in''pos_in''in_channel_length',
            
'close_in''close_in_noerr''set_binary_mode_in''incr''decr''string_of_format',
            
'format_of_string''exit''at_exit' 
           
),
        
/* here Pervasives Types */
        
=> array (
           
'fpclass''in_channel''out_channel''open_flag''Sys_error''ref''format'
           
),
        
/* finally Pervasives Exceptions */
        
=> array (
            
'Exit''Invalid_Argument''Failure''Division_by_zero'
           
)
        ),
    
/* highlighting symbols is really important in OCaml */
    
'SYMBOLS' => array(
            
';''!'':''.''=''%''^''*''-''/''+'
            
'>''<''('')''['']''&''|''#'"'"
            
), 
    
'CASE_SENSITIVE' => array(
        
GESHI_COMMENTS => true,
        
=> false,
        
=> true/* functions name are case seinsitive */
        
=> true/* types name too */
        
=> true  /* finally exceptions too */
        
),
    
'STYLES' => array(
        
'KEYWORDS' => array(
            
=> 'color: #06c; font-weight: bold;' /* nice blue */
            
),
        
'COMMENTS' => array(
            
'MULTI' => 'color: #5d478b; font-style: italic;' /* light purple */
            
),
        
'ESCAPE_CHAR' => array(
            ),
        
'BRACKETS' => array(
            
=> 'color: #6c6;'
            
),
        
'STRINGS' => array(
            
=> 'color: #3cb371;' /* nice green */
            
),
        
'NUMBERS' => array(
            
=> 'color: #c6c;' /* pink */
            
),
        
'METHODS' => array(
            
=> 'color: #060;' /* dark green */
            
),
        
'REGEXPS' => array(
            ),
        
'SYMBOLS' => array( 
            
=> 'color: #a52a2a;' /* maroon */
            
),
        
'SCRIPT' => array(
            )
        ),
    
'URLS' => array(
       
/* some of keywords are Pervasives functions (land, lxor, asr, ...) */
        
=> '',
        
/* link to the wanted library */
        
=> 'http://caml.inria.fr/pub/docs/manual-ocaml/libref/{FNAME}.html'
        
/* link to Pervasives functions */
        
=> 'http://caml.inria.fr/pub/docs/manual-ocaml/libref/Pervasives.html#VAL{FNAME}'
        
/* link to Pervasives type */
        
=> 'http://caml.inria.fr/pub/docs/manual-ocaml/libref/Pervasives.html#TYPE{FNAME}',
        
/* link to Pervasives exceptions */
        
=> 'http://caml.inria.fr/pub/docs/manual-ocaml/libref/Pervasives.html#EXCEPTION{FNAME}'
        
),
    
'OOLANG' => true,
    
'OBJECT_SPLITTERS' => array(
        
=> '.'
        
),
    
'REGEXPS' => array(
        ),
    
'STRICT_MODE_APPLIES' => GESHI_NEVER,
    
'SCRIPT_DELIMITERS' => array(
        ),
    
'HIGHLIGHT_STRICT_BLOCK' => array(
        )
);

?>

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