!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 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:     editNameDetail.php (4.13 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "template.php";
showHeader();
include_once 
"../class/clsAssessForm.php";
include_once 
"../class/clsConnection.php";
?>
<meta http-equiv="Content-Type" content="text/html; charset=TIS-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">

<form name="FormEditNameAss" method=post action="processAssForm.php">
<?php 
echo "<br>";
echo 
"<table  width=90%  align=\"center\">";
echo 
"<tr><td>";
echo 
"<fieldset>";

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

$oAF = new AssessForm($oCA);
$oAF->SearchByKey($assid);
$oAF->GetRecord();
?>
<input type="hidden" name="method" value="edit">
<input type="hidden" name="page" value="<?=$page?>">
<input type="hidden" name="assid" value="<?=$assid?>">
<input type="hidden" name="confirmUse" value="<?=$oAF->confirmUse?>">

  <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">
  แก้ไขข้อมูลแบบประเมิน </font></legend><br><br>
  <table width="75%" border="0" align="center">
    <tr> 
      <td><div align="center">
          <table width="486" border="0" align="center">
            <tr> 
              <td height="25" colspan="2" align="center" bgcolor="<?php echo $GLOBALS["COLOR_BG_TD_4"];?>"><strong>แก้ไขชื่อแบบประเมิน คำชี้แจง และรายละเอียด</strong></td>
            </tr>
            <tr> 
              <td colspan="2">&nbsp;</td>
            </tr>
            <tr> 
              <td width="147" height="92" class="colinput1"><div align="justify">&nbsp;ชื่อแบบประเมินตามรายงาน 
                  <font size="2" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>">*</font><br>&nbsp;(ผู้สร้างแบบประเมินเป็นผู้เห็น)</div></td>
              <td width="329"><textarea name="maintopic" cols="50" rows="4"><?=$oAF->maintopic;?></textarea> 
              </td>
            </tr>
            <tr>
              <td class="colinput1">&nbsp;ชื่อแบบประเมินสำหรับผู้ตอบ <font size="2" color="<?php echo $GLOBALS['COLOR_FONT_3'];?>">*</font><br>&nbsp;(ผู้ตอบแบบประเมินเป็นผู้เห็น)</td>
              <td><textarea name="nameAss" cols="50" rows="4"><?=$oAF->nameAss;?></textarea></td>
            </tr>
            <tr> 
              <td class="colinput1">&nbsp;คำชี้แจง <font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>">*</font></td>
              <td><textarea name="explains" cols="50" rows="4"><?=$oAF->explains;?></textarea></td>
            </tr>
            <tr> 
              <td class="colinput1">&nbsp;รายละเอียด</td>
              <td><textarea name="detailAss" cols="50" rows="4"><?=$oAF->detailAss;?></textarea></td>
            </tr>
            <tr> 
              <td colspan="2"><br> <div align="center"> </div></td>
            </tr>
            <tr> 
              <td colspan="2"><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 = 'showListAss.php'">
                </div></td>
            </tr>
          </table>
          <br>
        </div></td>
    </tr>
    <tr> 
      <td>&nbsp;</td>
    </tr>
  </table><br>
  </fieldset>
  <tr>
  <td><br><font size="2" color="<?php echo $GLOBALS["COLOR_FONT_3"];?>"><b>หมายเหตุ : </b>* หมายถึง ต้องกรอกข้อมูลให้สมบูรณ์</font></td>
  </tr>
  </td> </tr> </table> 
</form>
<? showFooter(); ?>

<script language="javascript">
function checkFormat(){
    if(document.FormEditNameAss.nameAss.value==""){
        alert("กรุณากรอกชื่อทางการแบบประเมิน ");
        document.FormEditNameAss.nameAss.focus();
        return false;
    }    else if(document.FormEditNameAss.maintopic.value==""){
        alert("กรุณากรอกชื่อทั่วไปแบบประเมิน ");
        document.FormEditNameAss.maintopic.focus();
        return false;
    }    else if(document.FormEditNameAss.explains.value==""){
        alert("กรุณากรอกคำชี้แจง ");
        document.FormEditNameAss.explains.focus();
        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.0099 ]--