!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 49.64 GB of 127.8 GB (38.84%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     latex.php (6.66 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*************************************************************************************
 * latex.php
 * -----
 * Original Author: efi
 * modified by Matthias Pospiech (mail@matthiaspospiech.de)
 *************************************************************************************
 *
 *   This file is not yet part of GeSHi. (and is not compatible to the 1.1+ branch)
 *
 *   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
 *
 ************************************************************************************/

if (isset($this) && is_a($this'GeSHi')) {
    
$this->set_symbols_highlighting(false);
    
$this->set_numbers_highlighting(false);
}

$language_data = array (
    
'LANG_NAME' => 'LaTeX',
    
'COMMENT_SINGLE' => array(=> '%'),
    
'COMMENT_MULTI' => array(),
    
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
    
'QUOTEMARKS' => array(),
    
'ESCAPE_CHAR' => '',
    
'KEYWORDS' => array(
        ),
    
'SYMBOLS' => array(
        
'.'',','\\',"~""{""}""[""]""$"
        
),
    
'CASE_SENSITIVE' => array(
        
GESHI_COMMENTS => true,
        
=> false,
        
=> false,
        
=> false,
        
=> false,
        ),
    
'STYLES' => array(
        
'KEYWORDS' => array(
            ),
        
'COMMENTS' => array(
            
=> 'color: #808080; font-style: italic;'
            
),
        
'ESCAPE_CHAR' => array(
            ),
        
'BRACKETS' => array(
            ),
        
'STRINGS' => array(
            ),
        
'NUMBERS' => array(
            ),
        
'METHODS' => array(
            ),
        
'SYMBOLS' => array(
            ),
        
'REGEXPS' => array(
            
=> 'color: #00A000; font-weight: bold;',  // Math inner
            
=> 'color: #800000; font-weight: normal;'// \keyword #202020
            
=> 'color: #2222D0; font-weight: normal;'// {...}
            
=> 'color: #2222D0; font-weight: normal;'// [Option]
            
=> 'color: #00A000; font-weight: normal;'// Mathe #CCF020
            
=> 'color: #F00000; font-weight: normal;'// Structure \begin
            
=> 'color: #F00000; font-weight: normal;'// Structure \end
            
=> 'color: #F00000; font-weight: normal;'// Structure: Labels
            //9 => 'color: #F00000; font-weight: normal;',  // Structure
            
10 => 'color: #0000D0; font-weight: bold;',  // Environment
            
11 => 'color: #0000D0; font-weight: bold;',  // Environment
        
),
        
'SCRIPT' => array(
            )
        ),
    
'URLS' => array(
        ),
    
'OOLANG' => false,
    
'OBJECT_SPLITTERS' => array(
        ),
    
'REGEXPS' => array(
        
// Math inner
        
=> array(
            
GESHI_SEARCH => "(\\\\begin\\{)(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|alignat|flalign )(\\})(.*)(\\\\end\\{)(equation|displaymath|eqnarray|subeqnarray|math|multline|gather|align|alignat|flalign)(\\})",
            
GESHI_REPLACE => '\\4',
            
GESHI_MODIFIERS => 's',
            
GESHI_BEFORE => '\1\2\3',
            
GESHI_AFTER => '\5\6\7'
            
),
        
//  \keywords
        
=> array(
            
GESHI_SEARCH => "(\\\\)([a-zA-Z]+)",
            
GESHI_REPLACE => '\1\2',
            
GESHI_MODIFIERS => '',
            
GESHI_BEFORE => '',
            
GESHI_AFTER => ''
            
),
        
// {parameters}
        
=> array(
            
GESHI_SEARCH => "(\\{)(.*)(\\})",
            
GESHI_REPLACE => '\2',
            
GESHI_MODIFIERS => '',
            
GESHI_BEFORE => '\1',
            
GESHI_AFTER => '\3'
            
),
        
// [Option]
        
=> array(
            
GESHI_SEARCH => "(\[)(.+)(\])",
            
GESHI_REPLACE => '\2',
            
GESHI_MODIFIERS => '',
            
GESHI_BEFORE => '\1',
            
GESHI_AFTER => '\3'
            
),
        
// Mathe  mit $ ... $
        
=> array(
            
GESHI_SEARCH => "(\\$)(.+)(\\$)",
            
GESHI_REPLACE => '\1\2\3',
            
GESHI_MODIFIERS => '',
            
GESHI_BEFORE => '',
            
GESHI_AFTER => ''
            
),
        
// Structure begin
        
=> array(
            
GESHI_SEARCH => "(\\\\begin)(?=[^a-zA-Z])",
            
GESHI_REPLACE => '\\1',
            
GESHI_MODIFIERS => '',
            
GESHI_BEFORE => '',
            
GESHI_AFTER => '\\2'
            
),
        
// Structure end
        
=> array(
            
GESHI_SEARCH => "(\\\\end)(?=[^a-zA-Z])",
            
GESHI_REPLACE => '\\1',
            
GESHI_MODIFIERS => '',
            
GESHI_BEFORE => '',
            
GESHI_AFTER => '\\2'
            
),
        
//Structure: Label
        
=> array(
            
GESHI_SEARCH => "(\\\\)(label|pageref|ref|cite)(?=[^a-zA-Z])",
            
GESHI_REPLACE => '\\1\\2',
            
GESHI_MODIFIERS => '',
            
GESHI_BEFORE => '',
            
GESHI_AFTER => '\\3'
            
),
// Structure: sections
/*9 => array(
            GESHI_SEARCH => "(\\\\)(part|chapter|section|subsection|subsubsection|paragraph|subparagraph)(?=[^a-zA-Z])",
            GESHI_REPLACE => '\1\\2',
            GESHI_MODIFIERS => '',
            GESHI_BEFORE => '',
            GESHI_AFTER => '\\3'
            ),*/
// environment begin
10 => array(
            
GESHI_SEARCH => "(\\\\begin)(\\{)(.*)(\\})",
            
GESHI_REPLACE => '\\3',
            
GESHI_MODIFIERS => '',
            
GESHI_BEFORE => '',
            
GESHI_AFTER => ''
            
),
// environment end
11 => array(
            
GESHI_SEARCH => "(\\\\end)(\\{)(.*)(\\})",
            
GESHI_REPLACE => '\\3',
            
GESHI_MODIFIERS => '',
            
GESHI_BEFORE => '',
            
GESHI_AFTER => ''
            
),

// ---------------------------------------------
        
),
    
'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.0112 ]--