!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:     Sub_groupList.php (4.05 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();
$strSQL "SELECT * FROM subject_group_tb ";
$result mysql_query($strSQL); 
$total mysql_num_rows$result );
?> 

<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<link href="./source/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.style1 {font-size: 14px}
-->
</style>
<table width="741" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="741" ><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"> รายชื่อภาค/ฝ่าย</font></legend>
            <label>
  <form id="form1" name="form1" method="post" action="">
    <table width="87%" border="0" align="center" cellpadding="0" cellspacing="1" style="border:0px solid gray">
      <tr bordercolor="#003366" bgcolor="#BCDBEB">
        <td colspan="4" align="center" bgcolor="#FFFFFF"><div align="left"><font size="2" face="Tahoma"><img src="./picture/previous.gif" onclick="window.history.back()"  width="85" height="22" border="0" /></font></div></td>
      </tr>
      <tr bordercolor="#003366" bgcolor="#BCDBEB">
        <td colspan="4" align="center" bgcolor="#FFFFFF"><font color="#003366" face="Tahoma"><span class="style1">&nbsp;<strong>กลุ่มวิชาทั้งหมด</strong></span></font></td>
      </tr>
      <tr bordercolor="#003366" bgcolor="#CCCCCC">
        <td width="41"><div align="center" class="style1"><font color="#003366" face="Tahoma">ลำดับ</font></div></td>
        <td width="97"><div align="center" class="style1"><font color="#003366" face="Tahoma">ชื่อย่อ</font></div></td>
        <td width="274"><div align="center" class="style1"><font color="#003366" face="Tahoma">ชื่อกลุ่มวิชา 
          Eng </font></div></td>
        <td width="320"><div align="center" class="style1"><font color="#003366" face="Tahoma">ชื่อกลุ่มวิชา 
          Thai</font></div></td>
      </tr>
      <?
$i 
1;
 while(
$rs mysql_fetch_array($result))
 {

     if(
$count==0)
     {
?>
      <tr bordercolor="#CCCCCC" bgcolor="#EEEEEE">
        <td align="center" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><?echo $i?></font></td>
        <td align="center" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><?echo $rs[Short_name]?></font></td>
        <td align="center" bgcolor="#FFFFFF"><div align="left"><font size="2" face="Tahoma"><?echo $rs[Eng_name]?></font></div></td>
        <td bgcolor="#FFFFFF"><font size="2" face="Tahoma"><? echo $rs[Thai_name]?></font></td>
      </tr>
      <?
    $count
=1;
     }
else
{
?>
      <tr bordercolor="#FFFFFF" bgcolor="#FFFFFF">
        <td align="center" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><?echo $i?></font></td>
        <td align="center" bgcolor="#FFFFFF"><font size="2" face="Tahoma"><?echo $rs[Short_name]?></font></td>
        <td align="center" bgcolor="#FFFFFF"><div align="left"><font size="2" face="Tahoma"><?echo $rs[Eng_name]?></font></div></td>
        <td bgcolor="#FFFFFF"><font size="2" face="Tahoma"><? echo $rs[Thai_name]?></font></td>
      </tr>
      <?
$count
=0;
}
$i++;
 }    
?>
      <tr bordercolor="#003366" bgcolor="#BCDBEB">
        <td height="22" colspan="4" align="center" bgcolor="#FFFFFF"><div align="center"><span class="style1"><font color="#003366" face="Tahoma">ทั้งหมด</font></span><strong><font color="#FFFFFF" size="2" face="Geneva, Arial, Helvetica, sans-serif"> <? echo $num ?> </font></strong><font color="#FFFFFF" face="Geneva, Arial, Helvetica, sans-serif"><font face="Tahoma"><span class="style1"><font color="#003366">รายการ</font>&nbsp;</span></font></font> </div></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.0066 ]--