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


Viewing file:     v_showRegisFee.php (3.59 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$rowCur 
= (isset($qu_cur) && $qu_cur!=NULL) ? $qu_cur->row() : NULL;
$rowSy = (isset($qu_sy) && $qu_sy!=NULL) ? $qu_sy->row() : NULL;
$rowTm = (isset($qu_tm) && $qu_tm!=NULL) ? $qu_tm->row() : NULL;
?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <div align="center">
            <table class="szone">
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td class="coltd_szone">หลักสูตร</td>
                    <td width="80%"><font size="2" ><?php echo setValue("curName",$rowCur);?></font></td>
                </tr>
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td class="coltd_szone">ปีการศึกษาที่รับเข้า</td>
                    <td><font size="2" ><?php echo $adY;?></font></td>
                </tr>
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td class="coltd_szone">ชั้นปีที่</td>
                    <td><font size="2" ><?php echo setValue("syCode",$rowSy);?></font></td>
                </tr>
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td class="coltd_szone">ปีการศึกษา</td>
                    <td><font size="2" ><?php echo $acY;?></font></td>
                </tr>
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td class="coltd_szone">ภาคการศึกษา</td>
                    <td><font size="2" ><?php echo setValue("tmCode",$rowTm);?></font></td>
                </tr>
                <tr>
                    <td colspan="2"><br /></td>
                </tr>
                <tr>
                    <td colspan="2">
                    <table class="headCol">
                        <tr>
                            <th class="stdCodeCol">รหัสนักศึกษา</th>
                            <th>ชื่อ-นามสกุลนักศึกษา</th>
                            <th>จำนวนเงิน</th>
                            <th>ค้างชำระ</th>
                            <th>ค่าปรับ</th>
                        </tr>
<?php
            $i 
0;
            if(isset(
$arr) && $arr!=NULL) {
                foreach(
$arr as $key => $value) {
                    echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <td align="center"><?php echo $arr[$key]['std']->stdCode;?></td>
                            <td class="indent">
                            <span class="hand" onClick="sendPost(
                            'hidform',
                            {'stdId':<?php echo $arr[$key]['std']->stdId;?>,
                             'acY':<?php echo $acY;?>,
                             'syId':<?php echo setValue('syId',$rowSy);?>,
                             'tmId':<?php echo setValue('tmId',$rowTm);?>},
                             '<?php echo site_url($this->config->item('rg_folder').'popup/showDetailRegisFee');?>',
                             {})" /><?php echo $arr[$key]['std']->prefixName.$arr[$key]['std']->stdName.' '.$arr[$key]['std']->stdSurname;?></span></td>
                            <td width="10%" align="right"><?php echo number_format($arr[$key]['sumTotalAmt'],2);?></td>
                            <td width="10%" align="right"><?php echo number_format($arr[$key]['sumBalance'],2);?></td>
                            <td width="10%" align="right"><?php echo number_format($arr[$key]['sumLateFine'],2);?></td>
                        </tr>
<?php
                    $i
++;
                }
            }
?>
                        <tr bgcolor="<?php echo $table_color_even;?>">    
                            <td colspan="2" align="right">รวม</td>
                            <td align="right"><?php echo number_format($sumTt,2);?></td>
                            <td align="right"><?php echo number_format($sumBl,2);?></td>
                            <td align="right"><?php echo number_format($sumLf,2);?></td>
                        </tr>
                    </table></td>
                </tr>
                <tr>
                    <td colspan="2"><br>
                    <input type="button" name="back" value="ย้อนกลับ" onClick="window.history.back()"></td>
                </tr>
            </table></div>
        <br><span class="error"><b>หมายเหตุ : </b>ใช้เมาส์คลิกที่ชื่อนักศึกษาเพื่อดูรายละเอียดของค่าใช้จ่าย</span></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.0115 ]--