!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/eregis/   drwxrwxrwx
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_showDetailSdm.php (2.12 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_std 
= isset($qu_std) ? $qu_std->row() : NULL;
?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td><fieldset>
            <legend align="center"><span class="h" style="color:<?php echo $font_color_err;?>">รายละเอียดข้อมูลการพักหอพัก</span></legend>
            <div align="center"><br><table class="szone">
                <tr>
                    <td class="coltd_szone"><span><b>นักศึกษา</b></span></td>
                    <td><span><?php echo getval('prefixName'$row_std).getval('stdName'$row_std).' '.getval('stdSurname'$row_std);?></span></td>
                </tr>
                <tr>
                    <td colspan="2"><table class="headCol">
                        <tr>
                            <th><span>ภาค/ปีการศึกษา</span></td>
                            <th><span>หอพัก/ห้องพัก</span></td>
                            <th><span>จำนวนเดือน</span></td>
                        </tr>
<?php
                        $num_rows 
0;
                        if (isset(
$rs_sdm) && $rs_sdm->num_rows()) {
                            
$num_rows $rs_sdm->num_rows();

                            foreach (
$rs_sdm->result() as $row_sdm) {
                                echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <td align="center"><span><?php echo $row_sdm->sdmTmId.'/'.$row_sdm->sdmAcY;?></span></td>
                            <td class="indent"><span><?php echo $row_sdm->hwName2.' '.$row_sdm->hwName1;?></span></td>
                            <td align="center"><span><?php echo $row_sdm->sdmNumMonth;?></span></td>
                        </tr>
<?php
                            
                            
}
                        } else {
?>
                        <tr align="center">
                            <td colspan="3"><span style="color:<?php echo $font_color_err;?>">** ไม่ปรากฏรายการในฐานข้อมูล **</span></td>
                        </tr>
<?php
                        
}
?>
                    </table></td>
                </tr>
                <tr align="right">
                    <td colspan="2"><span>รวม <?php echo $num_rows;?> รายการ</span></td>
                </tr>
                <tr align="center">
                    <td colspan="2"><input type="button" name="close" value="ปิดหน้านี้" onClick="window.close()" /></td>
                </tr>
            </table></div>
        </fieldset></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.0062 ]--