!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/application/views/eregis-13022565/   drwxrwxrwx
Free 50.99 GB of 127.8 GB (39.9%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     v_g_showSchedule.php (6.17 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_cfg 
= (isset($qu_cfg) && $qu_cfg!=NULL) ? $qu_cfg->row() : NULL;
$row_sd = isset($qu_sd) ? $qu_sd->row() : NULL;
?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <div align="center">
            <table width="100%" align="center" border="0" cellpadding="0" cellspacing="1">
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td align="center"><span class="h error">ปฏิทินการศึกษา</span></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td><table class="szone">
                        <tr>
                            <td><span><b>ปีการศึกษา</b></span>
<?php
                            $js 
"id=\"acY\" onChange=\"sendPost('hidform', {'acY':this.value,'tmId':".$tmId."}, '".site_url($this->config->item('rg_folder').'general/showSd')."')\"";
                            echo 
form_dropdown('acY'$rs_tmc$acY$js);
?>
                            <span>&nbsp;<b>ภาคการศึกษา</b></span>
<?php
                            $js 
"id=\"tmId\" onChange=\"sendPost('hidform', {'acY':".$acY.",'tmId':this.value}, '".site_url($this->config->item('rg_folder').'general/showSd')."')\"";
                            echo 
form_dropdown('tmId'$rs_tm$tmId$js);
?>
                            </td>
                        </tr>
                    </table></td>
                </tr>
                <tr>
                    <td><table class="headCol">
                        <tr bgcolor="<?php echo $this->config->item('rg_head_tb_headCol');?>">
                            <td height="25px" align="center"><span class="fontT"><b>คำอธิบาย/ชื่อกิจกรรม</b></span></td>
                            <td width="250px" align="center"><span class="fontT"><b>วันที่เริ่มต้น</b></span></td>
                            <td width="250px" align="center"><span class="fontT"><b>วันที่สิ้นสุด</b></span></td>
                        </tr>
<?php
                        
echo "<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>

                            <td class="indent"><span>วันเปิดภาคการศึกษา</span></td>
                            <td align="center"><span><?php echo getval('sdSDate'$row_sd) ? fullDate(splitDateDb2(getval('sdSDate'$row_sd))) : '-';?></span></td>
                            <td align="center">-</td>
                        </tr>
<?php
                        
echo "<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>

                            <td class="indent"><span>ช่วงลงทะเบียนเรียน</span></td>
                            <td align="center"><span><?php echo getval('sdRegSDate'$row_sd) ? fullDate(splitDateDb2(getval('sdRegSDate'$row_sd))) : '-';?></span></td>
                            <td align="center"><span><?php echo getval('sdRegEDate'$row_sd) ? fullDate(splitDateDb2(getval('sdRegEDate'$row_sd))) : '-';?></span></td>
                        </tr>
<?php
                        
echo "<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>

                            <td class="indent"><span>ช่วงเพิ่ม-ถอนรายวิชา</span></td>
                            <td align="center"><span><?php echo getval('sdAddWithdrawSDate'$row_sd) ? fullDate(splitDateDb2(getval('sdAddWithdrawSDate'$row_sd))) : '-';?></span></td>
                            <td align="center"><span><?php echo getval('sdAddWithdrawEDate'$row_sd) ? fullDate(splitDateDb2(getval('sdAddWithdrawEDate'$row_sd))) : '-';?></span></td>
                        </tr>
<?php
                        
echo "<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>

                            <td class="indent"><span>ช่วงชำระค่าลงทะเบียนเรียน</span></td>
                            <td align="center"><span><?php echo getval('sdPaySDate'$row_sd) ? fullDate(splitDateDb2(getval('sdPaySDate'$row_sd))) : '-';?></span></td>
                            <td align="center"><span><?php echo getval('sdPayEDate'$row_sd) ? fullDate(splitDateDb2(getval('sdPayEDate'$row_sd))) : '-';?></span></td>
                        </tr>
<?php
                        
echo "<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>

                            <td class="indent"><span>ช่วงสอบกลางภาค</span></td>
                            <td align="center"><span><?php echo getval('sdMidExamSDate'$row_sd) ? fullDate(splitDateDb2(getval('sdMidExamSDate'$row_sd))) : '-';?></span></td>
                            <td align="center"><span><?php echo getval('sdMidExamEDate'$row_sd) ? fullDate(splitDateDb2(getval('sdMidExamEDate'$row_sd))) : '-';?></span></td>
                        </tr>
<?php
                        
echo "<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>

                            <td class="indent"><span>ช่วงสอบปลายภาค</span></td>
                            <td align="center"><span><?php echo getval('sdFinalExamSDate'$row_sd) ? fullDate(splitDateDb2(getval('sdFinalExamSDate'$row_sd))) : '-';?></span></td>
                            <td align="center"><span><?php echo getval('sdFinalExamEDate'$row_sd) ? fullDate(splitDateDb2(getval('sdFinalExamEDate'$row_sd))) : '-';?></span></td>
                        </tr>
<?php
                        
echo "<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>

                            <td class="indent"><span>ช่วงส่งเกรดนักศึกษา</span></td>
                            <td align="center"><span><?php echo getval('sdFinalExamSDate'$row_sd) ? fullDate(splitDateDb2(getval('sdFinalExamSDate'$row_sd))) : '-';?></span></td>
                            <td align="center"><span><?php echo getval('sdSendGradeEDate'$row_sd) ? fullDate(splitDateDb2(getval('sdSendGradeEDate'$row_sd))) : '-';?></span></td>
                        </tr>
<?php
                        
echo "<tr onmouseover=\"bgColor='".setValue('cfgBgClSwapTr',$row_cfg)."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>

                            <td class="indent"><span>วันปิดภาคการศึกษา</span></td>
                            <td align="center"><span><?php echo getval('sdEDate'$row_sd) ? fullDate(splitDateDb2(getval('sdEDate'$row_sd))) : '-';?></span></td>
                            <td align="center">-</td>
                        </tr>
                    </table><br></td>
                </tr>
            </table></div>
        <br></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 ::
 
[ ok ]

:: Make Dir ::
 
[ ok ]
:: Make File ::
 
[ ok ]

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