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


Viewing file:     AddTeacher.php (3.62 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php

include("../include/FunctionDB.php");
include(
"../include/Function.php");

 
ConnectDB();
 
$sql ="SELECT * FROM research_tb   WHERE  Research_code='$Research_code'";
  
$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="../css/default.css" rel="stylesheet" type="text/css" />
<script language="javascript" src="../js/utilities.js"></script>
<script language="JavaScript" type="text/JavaScript">
function browse()
{
    pc.Filetex.src = pc.Filetex.value;
}
</script>
<table width="426" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td width="426" height="163"><br>
          <fieldset>
            <form action="InsertTeacherSave.php" method="post" enctype="multipart/form-data" name="pc" id="pc">
              <table width="94%" border="0" align="center" cellpadding="0" cellspacing="0" bgcolor="#CCCCCC" style="border:0px solid gray;">
                <tr bgcolor="#BFD0E6">
                  <td height="24" colspan="3" bgcolor="#FFFFFF"><div align="center" class="style1"><font color="#000000" face="Tahoma"><strong>เพิ่มข้อมูล ผู้ร่วมทำผลงาน</strong></font></div></td>
                </tr>
                <tr bordercolor="#99CCFF" bgcolor="#86ade2">
                  <td align="right" bgcolor="#FFFFFF">ชื่อผู้ร่วมทำผลงาน</td>
                  <td bgcolor="#FFFFFF">&nbsp;</td>
                  <td bgcolor="#FFFFFF"><font size="2" face="Tahoma"><strong><font color="#003366" size="2" face="Tahoma">
                    <select name="Teacher_code" id="Teacher_code">
                      <option value=""></option>
                      <?php
                  $sql1 
" SELECT *, prefixName as First_name FROM personal_tb LEFT JOIN prefix ON personal_tb.First_name = prefix.prefixId ORDER BY  Teacher_name  ASC ";
                  
$result1 mysql_query($sql1);
                  while( 
$rs4 mysql_fetch_array($result1) ) {
                
?>
                      <option value="<?=$rs4['Teacher_code'];?><?php if( $rs4['Teacher_code']==$rs1->name1 ) echo 'selected';?>>
                        <?=$rs4['Teacher_name'];?>
                        &nbsp;
                        <?=$rs4['Teacher_lastname'];?>
                      </option>
                      <?php
                
# while
                  
mysql_free_result($result1);
              
?>
                  </select>
                  </font></strong></font></td>
                </tr>
                <tr bgcolor="#eeeeee">
                  <td width="27%" height="20" align="right" bordercolor="#CCCCCC" bgcolor="#FFFFFF">ตำแหน่งการร่วมทำผลงาน</td>
                  <td width="3%" bordercolor="#FFFFCC" bgcolor="#FFFFFF">&nbsp;</td>
                  <td width="70%" bordercolor="#FFFFCC" bgcolor="#FFFFFF"  ><input type="radio" name="R_position" value="หัวหน้า"  />
                    หัวหน้า
                      <input type="radio" name="R_position" value="ผู้ร่วม" checked  />
                    ผู้ร่วม</td>
                </tr>
                <tr bgcolor="#BFD0E6">
                  <td height="28" colspan="3" align="center" bgcolor="#FFFFFF">&nbsp;</td>
                </tr>
                <tr bgcolor="#BFD0E6">
                  <td height="28" colspan="3" align="center" bgcolor="#FFFFFF">
                    <input type="submit" name="Submit" value=" บันทึกข้อมูล" class="button" style="cursor:pointer"/>&nbsp;
                    <input type="reset" value=" เคลียร์ข้อมูล" class="button" style="cursor:pointer"/>
                    <input type="button" value="ปิดหน้าต่าง" onclick="javascript:parent.close();" class="CURSOR-HAND" />
                    <input name="Research_code" type="hidden" id="Recode" value="<? echo $rs[Research_code]?>" />
                  </td>
                </tr>
              </table>
            </form>
              
            </label>
        </fieldset>
        
    </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.0066 ]--