!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 51 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_showCourseSendGrade.php (3.41 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script language="JavaScript1.2">
function changeCur(seed){
    var acY,tmId,view,tc;
    acY = document.getElementById("acY").value;
    tmId = document.getElementById("tmId").value;
    view = document.getElementById("view").value;
    tc = document.getElementById("tc").value;

    var url = "<?php echo site_url($this->config->item('rg_folder'));?>"+"/grade/"+tc+"showCrs/"+acY+"/"+tmId+"/"+view+"/"+seed;

    xmlhttp = newXmlHttp();
    xmlhttp.open("GET", url, false);
    xmlhttp.send(null); 
    if(xmlhttp.readyState==4 && xmlhttp.status==200){
        var ret_text = xmlhttp.responseText;
        //alert(ret_text);
        document.getElementById('showCrs').innerHTML= ret_text;
    }
}

function changeView(v) {
    $("#view").val(v);

    if (v == 's') {
        $("#s").css({"display":"inline",'color':'#FF0000'});//font color is red
        $("#g").css({"display":"inline",'color':'#0000FF'});//font color is blue
    } else {
        $("#s").css({"display":"inline",'color':'#0000FF'});//font color is blue
        $("#g").css({"display":"inline",'color':'#FF0000'});//font color is red
    }

    changeCur(<?php echo mt_rand();?>);
}
</script>

<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <table width="100%" border="0">
                <tr>
                    <td colspan="12" align="center"><span class="h error"><b>ส่งเกรด</b></span></td>
                    <td></td>
                </tr>
<?php
                
if (isset($err_msg)) {
?>
                <tr>
                    <td colspan="8" align="center"><font size="2"><?php echo $err_msg;?></font></td>
                </tr>
<?php
                
}
?>
                <tr>
                    <td height="22" colspan="8"></td>
                </tr>
                <tr>
                    <td height="22" colspan="8" width=""><font size="2"><b>ปีการศึกษา</b>
<?php
                    $js1 
'id="acY" onChange="changeCur('.mt_rand().')"';
                    echo 
form_dropdown('acY'$rs_tmc$acY$js1);
?>
                    <b>ภาคการศึกษา</b>
<?php
                    $js2 
'id="tmId" onChange="changeCur('.mt_rand().')"';
                    echo 
form_dropdown('tmId'$rs_tm$tmId$js2);
?>
                    <b>ดูตาม >></b>
                    <span id="s" class="hand" onClick="changeView('s')">รายวิชา</span>
                    |
                    <span id="g" class="hand" onClick="changeView('g')">รายกลุ่ม</span>
                    <input type="hidden" id="view" name="view" value="<?php echo $view;?>" />
                    <input type="hidden" id="tc" name="tc" value="<?php echo $tc;?>" /></font></td>
                </tr>
            </table>
            <div id='showCrs'></div>
        <br></td>
    </tr>
    <tr>
        <td><table class="mark">
            <tr>
                <td class="coltd_mark"><span class="error"><b>หมายเหตุ : </b></span></td>
                <td><img src="<?php echo base_url().$this->config->item('rg_listmenu');?>" width="19" height="19" align="absmiddle" border="0"><span class="error"> ยังไม่ส่งเกรด (แบบ List/Menu)</span></td>
            </tr>
            <tr>
                <td class="coltd_mark"></td>
                <td><img src="<?php echo base_url().$this->config->item('rg_ico_excel');?>" width="19" height="19" align="absmiddle" border="0"><span class="error"> ยังไม่ส่งเกรด (แบบ Textarea)</span></td>
            </tr>
            <tr>
                <td class="coltd_mark"></td>
                <td><img src="<?php echo base_url().$this->config->item('rg_stamp');?>" width="19" height="19" align="absmiddle" border="0"><span class="error"> ส่งเกรดแล้ว</span></td>
            </tr>
        </table></td>
    </tr>
</table>
<script language="JavaScript">
changeCur('<?php echo mt_rand();?>');
</script>

:: 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 ]--