!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.01 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_countStdBySst.php (3.06 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php 
    
// create : by sitthichai
    // date : 2014-12-02
?>
<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 colspan="2">
                    <table class="tb_1">
                        <tr>
                            <th rowspan="2"><span>สถานะนักศึกษา</span></td>
                            <th colspan="4"><span>ชั้นปีที่</span></td>
                        </tr>
                        <tr>
                            <th ><span>1</span></td>
                            <th ><span>2</span></td>
                            <th ><span>3</span></td>
                            <th ><span>4</span></td>
                        </tr>
                    <?php    $sumSy1 0;
                            
$sumSy2 0;
                            
$sumSy3 0;
                            
$sumSy4 0;
                            foreach (
$rs->result() as $row) {
                                echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
                                
$sumSy1 += $row->numSy1;
                                
$sumSy2 += $row->numSy2;
                                
$sumSy3 += $row->numSy3;
                                
$sumSy4 += $row->numSy4;
                    
?>
                            <td align="center"><span><?php echo $row->sstName;?></span></td>
                            <td align="center">
                            <span class="hand" onClick="sendPost('stdSstId',{sstId:'<?php echo $row->sstId;?>', syId:'1'} ,
                             '<?php echo site_url($this->config->item('rg_folder').'popup/countStdBySst_2');?>', {width:500,height:500})" /><font size="2"><?php echo $row->numSy1;?></font></span>
                             </td>
                             <td align="center">
                            <span class="hand" onClick="sendPost('stdSstId',{sstId:'<?php echo $row->sstId;?>', syId:'2'} ,
                             '<?php echo site_url($this->config->item('rg_folder').'popup/countStdBySst_2');?>', {width:500,height:500})" /><font size="2"><?php echo $row->numSy2;?></font></span>
                             </td>
                             <td align="center">
                            <span class="hand" onClick="sendPost('stdSstId',{sstId:'<?php echo $row->sstId;?>', syId:'3'} ,
                             '<?php echo site_url($this->config->item('rg_folder').'popup/countStdBySst_2');?>', {width:500,height:500})" /><font size="2"><?php echo $row->numSy3;?></font></span>
                             </td>
                             <td align="center">
                            <span class="hand" onClick="sendPost('stdSstId',{sstId:'<?php echo $row->sstId;?>', syId:'4'} ,
                             '<?php echo site_url($this->config->item('rg_folder').'popup/countStdBySst_2');?>', {width:500,height:500})" /><font size="2"><?php echo $row->numSy4;?></font></span>
                             </td>
                        </tr>
                        <?php }    ?>
                        <tr bgcolor="<?php echo $this->config->item('rg_table_end');?>">
                            <td align="center"><b>รวม</b></td>
                            <td align="center"><b><?php echo $sumSy1?></b></td>
                            <td align="center"><b><?php echo $sumSy2?></b></td>
                            <td align="center"><b><?php echo $sumSy3?></b></td>
                            <td align="center"><b><?php echo $sumSy4?></b></td>
                        </tr>
                    </table>
                </td>
                </tr>
            </table>
            </div>
        </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.009 ]--