!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/ealumni/   drwxr-xr-x
Free 51 GB of 127.8 GB (39.9%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     v_rptRis005.php (4.48 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<? if(isset($typeShow)){
    
header('Content-type: application/xls');
    
header('Content-Disposition: attachment; filename="testing.xls"');
}
?>
<?php 
$rowCur 
= (isset($qu_cur) && $qu_cur!=NULL) ? $qu_cur->row() : NULL;
?>
<table width="95%" align="center" border="0">
<? if(!isset($typeShow)){?>
    <tr valign="top">
        <td align="left" nowrap="nowrap"><input type="button" value="กลับ" onclick="history.back()"/></td>
        <td align="left" nowrap="nowrap">
        <? if(!isset($errMs)){ 
        
$attributes = array('target' => '_blank');
        echo 
form_open($this->config->item("ea_folder")."rpt_ea/rptRis005Export",$attributes);?>        
        <input type="submit" name="exportB" id="exportB" value="ส่งออกเป็น PDF"/>
        <input type="submit"  name="exportB" id="exportB" value="ส่งออกเป็น Excel"/>
        <input type="hidden" name="curId" id="curId" value="<?php echo $rowCur->curId;?>" />
        <input type="hidden" name="graduateYear" id="graduateYear" value="<?php echo $graduateYear;?>" />
        <?=form_close(); }?>
    </td></tr>
    <tr><td colspan="3" align="left"><hr/></td></tr>
<? }
    if(!isset(
$errMs)){
?>
    <tr>
        <td colspan="3"  align="right" valign="top"><font size="2"><b>RIS005</b></font></td>
    </tr>
    <tr valign="top">
        <td align="center" colspan="3"><hr color="#000000" noshade><br></td>
    </tr>
    <tr>
        <td colspan="3" height="22" align="center"><font size="3"><b>รายงานแสดงการติดตามการทำงานของศิษย์เก่าที่ไม่ได้อัพเดทข้อมูล </b></font></td>
    </tr>
    <tr>
        <td colspan="3" height="22" align="center"><font size="2"><b>หลักสูตร</b> <?=$rowCur->curName?>
    </tr>
    <tr>
        <td colspan="3" height="22" align="center"><font size="2"><b>ปีที่จบการศึกษา</b> <?php echo $graduateYear?></font></td>
    </tr>
    <tr>
        <td colspan="3" height="22"></td>
    </tr>
    <tr>
        <td colspan="3"><table width="70%" border="1" cellspacing="0" cellpadding="2" bordercolor="#000000" style="border-collapse: collapse" align="center">
            <tr>
                <td height="22" align="center"><font size="2"><b>ที่</b></font></td>
                <td align="center"><font size="2"><b>รหัสนักศึษา</b></font></td>
                <td align="center"><font size="2"><b>ชื่อ-นามสกุล</b></font></td>
                <td align="center"><font size="2"><b>ข้อมูลส่วนตัว</b></font></th>
                <td align="center"><font size="2"><b>ที่อยู่</b></font></th>
                <td align="center"><font size="2"><b>การทำงาน</b></font></th>
                <td align="center"><font size="2"><b>การได้รับรางวัล</b></font></th>
                <td align="center"><font size="2"><b>การเรียนต่อ</b></font></th>
            </tr>
<?php
            $i 
0;
            if(isset(
$rs_am) && $rs_am->num_rows()) {
                foreach(
$rs_am->result() as $row_am) {
?>
            <tr>
                <td height="22" align="center"><font size="2"><?php echo $i+1;?></font></td>
                <td height="22" align="center"><font size="2"><?php echo $row_am->studentCode;?></font></td>
                <td class="indent"><font size="2"><?=$row_am->prefixName.$row_am->studentName."  ".$row_am->studentSurname;;?></font></td>
                <td width="10%" align="center"><img src="<?php echo base_url()."images/".$this->config->item("ea_folder")."picture/check1.png";?>" /></td>
                <td width="10%" align="center"><img src="<?php echo base_url()."images/".$this->config->item("ea_folder")."picture/check1.png";?>" /></td>
                <td width="10%" align="center"><img src="<?php echo base_url()."images/".$this->config->item("ea_folder")."picture/check1.png";?>" /></td>
                <td width="10%" align="center"><img src="<?php echo base_url()."images/".$this->config->item("ea_folder")."picture/check1.png";?>" /></td>
                <td width="10%" align="center"><img src="<?php echo base_url()."images/".$this->config->item("ea_folder")."picture/check1.png";?>" /></td>            

            </tr>
<?php
                $i
++;
            }
        }
?>
        </table></td>
    </tr>
    <tr valign="bottom">
        <td align="center" colspan="3" height="88"><hr color="#000000" noshade></td>
    </tr>
    <tr valign="top">
        <td colspan="2"><font size="2">วันที่พิมพ์ : <?php echo date('d-m-y h:m');?></font></td>
        <td align="right"><font size="2">หน้า 1/1</font></td>            
    </tr>
<? }else{?>
    <tr valign="top">
        <td colspan="3" align="center"><font size="3" color="<?=$font_color_err;?>"><b>ระบุเงื่อนไขในการค้นหาไม่ครบถ้วน</b></font></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.0122 ]--