!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:     ruby.php (9.64 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*************************************************************************************
 * ruby.php
 * --------
 * Author: Moises Deniz
 * Copyright: (c) 2007 Moises Deniz
 * Release Version: 1.0.7.19
 * Date Started: 2007/03/21
 *
 * Ruby language file for GeSHi
 *
 *************************************************************************************
 *
 *   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' => 'Ruby',
    
'COMMENT_SINGLE' => array(=> "#"),
    
'COMMENT_MULTI' => array("=begin" => "=end"),
    
'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
    
'QUOTEMARKS' => array('"''`','\''),
    
'ESCAPE_CHAR' => '\\',
    
'KEYWORDS' => array(
        
=> array(
                
'alias''and''begin''break''case''class',
                
'def''defined''do''else''elsif''end',
                
'ensure''for''if''in''module''while',
                
'next''not''or''redo''rescue''yield',
                
'retry''super''then''undef''unless',
                
'until''when''BEGIN''END''include'
            
),
        
=> array(
                
'__FILE__''__LINE__''false''nil''self''true'
                
'return'
            
),
        
=> array(
                
'Array''Float''Integer''String''at_exit',
                
'autoload''binding''caller''catch''chop''chop!',
                
'chomp''chomp!''eval''exec''exit''exit!''fail',
                
'fork''format''gets''global_variables''gsub''gsub!',
                
'iterator?''lambda''load''local_variables''loop'
                
'open''p''print''printf''proc''putc''puts'
                
'raise''rand''readline''readlines''require''select'
                
'sleep''split''sprintf''srand''sub''sub!''syscall',
                
'system''trace_var''trap''untrace_var'
            
),
        
=> array(
                
'Abbrev''ArgumentError''Base64''Benchmark'
                
'Benchmark::Tms''Bignum''Binding''CGI''CGI::Cookie'
                
'CGI::HtmlExtension''CGI::QueryExtension',
                
'CGI::Session''CGI::Session::FileStore'
                
'CGI::Session::MemoryStore''Class''Comparable''Complex'
                
'ConditionVariable''Continuation''Data',
                
'Date''DateTime''Delegator''Dir''EOFError''ERB'
                
'ERB::Util''Enumerable''Enumerable::Enumerator''Errno'
                
'Exception''FalseClass''File',
                
'File::Constants''File::Stat''FileTest''FileUtils'
                
'FileUtils::DryRun''FileUtils::NoWrite'
                
'FileUtils::StreamUtils_''FileUtils::Verbose''Find',
                
'Fixnum''FloatDomainError''Forwardable''GC''Generator'
                
'Hash''IO''IOError''Iconv''Iconv::BrokenLibrary'
                
'Iconv::Failure''Iconv::IllegalSequence',
                
'Iconv::InvalidCharacter''Iconv::InvalidEncoding'
                
'Iconv::OutOfRange''IndexError''Interrupt''Kernel'
                
'LoadError''LocalJumpError''Logger''Logger::Application',
                
'Logger::Error''Logger::Formatter''Logger::LogDevice'
                
'Logger::LogDevice::LogDeviceMutex''Logger::Severity'
                
'Logger::ShiftingError''Marshal''MatchData',
                
'Math''Matrix''Method''Module''Mutex''NameError'
                
'NameError::message''NilClass''NoMemoryError'
                
'NoMethodError''NotImplementedError''Numeric''Object',
                
'ObjectSpace''Observable''PStore''PStore::Error'
                
'Pathname''Precision''Proc''Process''Process::GID'
                
'Process::Status''Process::Sys''Process::UID''Queue',
                
'Range''RangeError''Rational''Regexp''RegexpError'
                
'RuntimeError''ScriptError''SecurityError''Set'
                
'Shellwords''Signal''SignalException''SimpleDelegator',
                
'SingleForwardable''Singleton''SingletonClassMethods'
                
'SizedQueue''SortedSet''StandardError''StringIO'
                
'StringScanner''StringScanner::Error''Struct''Symbol',
                
'SyncEnumerator''SyntaxError''SystemCallError'
                
'SystemExit''SystemStackError''Tempfile'
                
'Test::Unit::TestCase''Test::Unit''Test''Thread'
                
'ThreadError''ThreadGroup',
                
'ThreadsWait''Time''TrueClass''TypeError''URI'
                
'URI::BadURIError''URI::Error''URI::Escape''URI::FTP'
                
'URI::Generic''URI::HTTP''URI::HTTPS',
                
'URI::InvalidComponentError''URI::InvalidURIError'
                
'URI::LDAP''URI::MailTo''URI::REGEXP'
                
'URI::REGEXP::PATTERN''UnboundMethod''Vector''YAML'
                
'ZeroDivisionError''Zlib',
                
'Zlib::BufError''Zlib::DataError''Zlib::Deflate'
                
'Zlib::Error''Zlib::GzipFile''Zlib::GzipFile::CRCError'
                
'Zlib::GzipFile::Error''Zlib::GzipFile::LengthError',
                
'Zlib::GzipFile::NoFooter''Zlib::GzipReader'
                
'Zlib::GzipWriter''Zlib::Inflate''Zlib::MemError'
                
'Zlib::NeedDict''Zlib::StreamEnd''Zlib::StreamError'
                
'Zlib::VersionError',
                
'Zlib::ZStream',
                
'Enumerable',
                
'HTML::Selector''HashWithIndifferentAccess''Inflector'
                
'Inflector::Inflections''Mime''Mime::Type'
                
'OCI8AutoRecover''Symbol''TimeZone''XmlSimple'
            
),
        ),
    
'SYMBOLS' => array(
        
'('')''['']''{''}''%''&''*''|''/''<''>',
        
'+''-''=&gt;''=>''<<'
        
),
    
'CASE_SENSITIVE' => array(
        
GESHI_COMMENTS => false,
        
=> false,
        
=> false,
        
=> false,
        
=> true,
        ),
    
'STYLES' => array(
        
'KEYWORDS' => array(
            
=> 'color:#9966CC; font-weight:bold;',
            
=> 'color:#0000FF; font-weight:bold;',
            
=> 'color:#CC0066; font-weight:bold;',
            
=> 'color:#CC00FF; font-weight:bold;',
            ),
        
'COMMENTS' => array(
            
=> 'color:#008000; font-style:italic;',
                    
'MULTI' => 'color:#000080; font-style:italic;'
            
),
        
'ESCAPE_CHAR' => array(
            
=> 'color:#000099;'
            
),
        
'BRACKETS' => array(
            
=> 'color:#006600; font-weight:bold;'
            
),
        
'STRINGS' => array(
            
=> 'color:#996600;'
            
),
        
'NUMBERS' => array(
            
=> 'color:#006666;'
            
),
        
'METHODS' => array(
            
=> 'color:#9900CC;'
            
),
        
'SYMBOLS' => array(
            
=> 'color:#006600; font-weight:bold;'
            
),
        
'REGEXPS' => array(
            
=> 'color:#ff6633; font-weight:bold;',
            
=> 'color:#0066ff; font-weight:bold;',
            
=> 'color:#6666ff; font-weight:bold;',
            
=> 'color:#ff3333; font-weight:bold;'
            
),
        
'SCRIPT' => array(
            
=> '',
            
=> '',
            
=> '',
            )
        ),
    
'URLS' => array(
        
=> '',
        
=> '',
        
=> ''
        
),
    
'OOLANG' => true,
    
'OBJECT_SPLITTERS' => array(
        
=> '.'
        
),
    
'REGEXPS' => array(
        
=> array(
            
GESHI_SEARCH => "([[:space:]])(\\$[a-zA-Z_][a-zA-Z0-9_]*)",
            
GESHI_REPLACE => '\\2',
            
GESHI_MODIFIERS => '',
            
GESHI_BEFORE => '\\1',
            
GESHI_AFTER => ''
            
),
        
=> array(
            
GESHI_SEARCH => "([[:space:]])(@[a-zA-Z_][a-zA-Z0-9_]*)",
            
GESHI_REPLACE => '\\2',
            
GESHI_MODIFIERS => '',
            
GESHI_BEFORE => '\\1',
            
GESHI_AFTER => ''
            
),
        
=> "([A-Z][a-zA-Z0-9_]*::)+[A-Z][a-zA-Z0-9_]*",
        
=> array(
            
GESHI_SEARCH => "([[:space:]]|\[|\()(:[a-zA-Z_][a-zA-Z0-9_]*)",
            
GESHI_REPLACE => '\\2',
            
GESHI_MODIFIERS => '',
            
GESHI_BEFORE => '\\1',
            
GESHI_AFTER => ''
            
)
        ),
    
'STRICT_MODE_APPLIES' => GESHI_MAYBE,
    
'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.0159 ]--