!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_addStudentActivity.php (4.38 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")."student/std_processAddAc", array("name" => "myform""id" => "myform"));?>
            <table width="100%" align="center" cellpadding="0" cellspacing="1" border="0">
                <tr>
                    <td align="center"><span class="h error">บันทึก/แก้ไขข้อมูลการทำกิจกรรมรายหลักสูตร</span></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td><table class="szone">
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">ชื่อกิจกรรม/โครงการ</td>
                            <td colspan="3"><?php echo set_value('sacName',$sacName);?>
                            <input type="hidden" name="sacName" id="sacName" value='<?php echo set_value('sacName',$sacName);?>' /></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">วันที่เข้าร่วม</td>
                            <td>
                            <?php echo fullDate2(splitDateDb2(set_value('sacFrDate')));?> - 
                            <?php echo fullDate2(splitDateDb2(set_value('sacToDate')));?>
                            <input type="hidden" name="sacFrDate" id="sacFrDate" value="<?php echo splitDateDb2(set_value('sacFrDate'));?>" />
                            <input type="hidden" name="sacToDate" id="sacToDate" value="<?php echo splitDateDb2(set_value('sacToDate'));?>" /></font></td>
                            <td class="coltd_szone2">ภาค/ปีการศึกษา/ชั้นปีที่เข้าร่วม</td>
                            <td><?php echo set_value('sacTmId').'/'.set_value('sacAcY').'/'.set_value('sacSyId');?></font>
                            <input type="hidden" name="sacAcY" id="sacAcY" value="<?php echo set_value('sacAcY');?>" />
                            <input type="hidden" name="sacSyId" id="sacSyId" value="<?php echo set_value('sacSyId');?>" />
                            <input type="hidden" name="sacTmId" id="sacTmId" value="<?php echo set_value('sacTmId');?>" /></td>
                        </tr>
                    </table></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td><table class="headCol">

<?php
        $i 
0;
        if(isset(
$arr) && $arr!=NULL) {
            foreach(
$arr as $key => $value) {
?>
                        <tr bgcolor="<?php echo $this->config->item('rg_head_tb_headCol');?>">
                            <td colspan="3" height="22" class="indent"><b>หลักสูตร<?php echo $arr[$key]['curName'];?></b>
                            <input type="hidden" name="curId<?php $i;?>" id="curId<?php echo $i;?>" value="<?php echo $arr[$key]['curId'];?>" /></td>
                        </tr>
                        <tr>
                            <th class="seqCol">เลือก</th>
                            <th class="stdCodeCol">รหัสนักศึกษา</th>
                            <th>ชื่อ-สกุลนักศึกษา</th>
                        </tr>
<?php
                
foreach($arr[$key]['std']->result() as $rowStd) {
                        echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";

?>
                            <td align="center" height="22"><input type="checkbox" name="order<?php echo $i;?>" value="Y" <?php echo $arr[$key][$i]['sac']=='checked' '';?> />
                            <input type="hidden" name="stdId<?php echo $i;?>" value="<?php echo $rowStd->stdId;?>" /></td>
                            <td align="center"><?php echo $rowStd->stdCode;?></font></td>
                            <td class="indent"><?php echo $rowStd->prefixName.$rowStd->stdName.' '.$rowStd->stdSurname;?></font></td>
                        </tr>
<?php
                    $i
++;
                }
            }
        } else {
?>
                         <tr>
                            <td colspan="3" align="center" height="22"><span class="error">** ไม่ปรากฏรายการนักศึกษาในหลักสูตร **</span></td>
                        </tr>
<?php
        
}
?>
                    </table></td>
                </tr>
                <tr>
                    <td><input type="button" name="chkAll" value="เลือกทั้งหมด" onClick="doCheckAll(this.form, true);" <?php if($i==0) { echo 'disabled';}?>>
                    <input type="reset" name="cancelAll" value="ยกเลิกทั้งหมด" onClick="doCheckAll(this.form, false);" <?php if($i==1) { echo 'disabled';}?>></td>
                </tr>
                <tr>
                    <td align="center"><input type="submit" name="add" value="บันทึก" <?php if($i==0) {echo 'disabled';}?>>
                    <input type="reset" name="clear" value="เคลียร์ข้อมูล">
                    <input type="hidden" name="cnt" id="cnt" value="<?php echo $i;?>"></td>
                </tr>
            </table><?php echo form_close();?></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.0083 ]--