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


Viewing file:     pagebody.php (4.13 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php 
include_once("global.php");    
include_once(
"../class/clsConnection.php");
include_once(
"../class/clsDB.php");
include_once(
"clsUser.php");
session_start();
ob_start();
if (
session_is_registered("oU")) {
    
$oU->Lang = ($lang=="") ? "th" $GLOBALS['sysLang'];        //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;
    
$oU->GetRightsByMenu();        
}else {
    
$sessionID session_id();
    if (
$oU->SessionID<>$sessionID){
        if (
$refFromLogoutPage==""){
            
//echo "<meta http-equiv='refresh' content='0; URL=../".$GLOBALS['sysUmPath']."/logout.php'>";
            
header("Location: logout.php");
            exit();
        }
    }
}
include_once(
"../class/clsTable.php");
include_once(
"../class/clsForm.php");
//============================================================================

function pageHeader(){
    global 
$oU;
    echo 
"<html>\n";
    echo 
"<head>\n";
    echo 
"<title>O]O</title>\n";
    echo 
"<meta http-equiv=\"Content-Type\" content=\"text/html;charset=TIS-620\">\n";
    echo 
"<link rel=\"stylesheet\" type=\"text/css\" href=\"".$GLOBALS["sysUmPath"]."/css/format.css\">\n";
    echo 
"<script language=\"javascript\" src=\"".$GLOBALS["sysUmPath"]."/js/fns.js\"> </script>\n";
    echo 
"<script type=\"text/javascript\" src=\"".$GLOBALS["sysUmPath"]."/jscookmenu/JSCookMenu.js\"></script>\n";
    echo 
"<link type=\"text/css\" href=\"".$GLOBALS["sysUmPath"]."/jscookmenu/ThemeOffice/theme.css\" rel=\"stylesheet\" />\n";
    echo 
"<script type=\"text/javascript\" src=\"".$GLOBALS["sysUmPath"]."/jscookmenu/ThemeOffice/theme.js\"></script>\n";
    echo 
"<script type=\"text/javascript\" src=\"".$GLOBALS["sysUmPath"]."/js/ssm.js\"></script>\n";
    echo 
"<script type=\"text/javascript\" src=\"".$GLOBALS["sysUmPath"]."/js/ssmItems.js\"></script>\n";
    echo 
"<script language=\"javascript\" src=\"js/calendarDateInput2.js\"></script>\n";
    echo 
"</head>\n";
    echo 
"<!-- " $GLOBALS['sysUmPath'] . "-->\n";
    echo 
"<body>\n";
    echo 
"<table border=\"0\" cellpadding=\"0\" cellspacing=\"1\" width=\"777\" bgcolor=\"#CCCCCC\" align=\"center\" >\n";
    
//==Banner at top.===========================
    
echo "<tr height=65>";
    echo 
"<td  background=images/ums.png></td></tr>\n";
    
//==menu================================
    
echo "<tr bgcolor=\"#ffffff\" background=".$GLOBALS["sysUmPath"]."/images/bgmenu.jpg\">\n"
        echo 
"<td>\n";    
        
//include  $GLOBALS["sysUmPath"]."/menu.php?UsID=".$oU->userID."&StID=".$oU->StID."&"."GpID=".$oU->GpID."&WgID=".$oU->WgID;
        
$UsID=$oU->userID;
        
$StID=$oU->StID;
        
$GpID=$oU->GpID;
        
$WgID=$oU->WgID;
        include(
"menu.php");
        echo 
"</td></tr>\n";
    
//==user info=============================
    
echo "<tr bgcolor=\"#ffffff\">\n";
        echo 
"<td>\n";    
        echo 
"<table cellpadding=0 cellspacing=0 width=100%>\n";
            echo 
"<tr>\n";
            echo 
"<td></td>\n";
            echo 
"<td align=right>".
                    
"วันที่ &nbsp;".$GLOBALS["sysDate"]."&nbsp;".
                    
"&nbsp;<img src=".$GLOBALS["sysUmPath"]."/images/bullet_r.gif>&nbsp;&nbsp;".
                    
$oU->userName."&nbsp;<img src=".$GLOBALS["sysUmPath"]."/images/seperater.jpg>&nbsp;".
                    
"<a href=\"../"$GLOBALS["APPNAME"]."/logout.php\">";
                    if (
$oU->userLogin=="")
                        echo 
"";
                    else 
                        echo 
"ออกจากระบบ";
                    echo 
"&nbsp;</a> </td></tr>\n";
        echo 
"</table>\n";
        echo 
"</td></tr>\n";
    
//============================================================================
    //start working in this td
    //============================================================================
    
echo "<tr bgcolor=ffffff height=400>\n";
        echo 
"<td valign=top>\n";        
}
////////////////////////////////////////////
function pageFooter(){
    echo 
"</td>\n";
    echo 
"</tr>\n"
    echo 
"<tr bgcolor=\"#666699\">\n";
    echo 
"<td align=center><font color=#ffffff>Programmed by <a href=mailto:wittawas@buu.ac.th>Wittawas Puntumchinda</a><br>
    Department of Computer Scince<br>Faculty of Science, Burapha University<br>2005.</td>\n"
;
    echo 
"</tr>\n";
    echo 
"</table>\n";
    echo 
"</body>\n";
    echo 
"</html>\n";
    
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 ::
 
[ 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.013 ]--