!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_checkRegistDetails11111.php (5.97 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script language="JavaScript1.2">
//function changeTm(seed) {
//    var acY = document.getElementById('rgAcY').value;
//    var stdId = document.getElementById('stdId').value;
//
//    if(document.getElementById('rgAcY').value=='') {
//        changeOption(seed);
//    }
//
//    var url = "<?php echo site_url().$this->config->item('rg_folder')?>"+"checkregis/changeTm/"+acY+"/"+stdId+"/"+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('tm').innerHTML= ret_text;
//    }
//}
//
//function changeOption(seed){
//    var acY = document.getElementById('rgAcY').value;
//    var stdId = document.getElementById('stdId').value;
//    if(document.getElementById('rgTmId')==null) {
//        var tmId = 0;
//    } else {
//        var tmId = document.getElementById('rgTmId').value;
//    }
//
//    var url = "<?php echo site_url().$this->config->item('rg_folder')?>"+"checkregis/showRd/"+stdId+"/"+acY+"/"+tmId+"/"+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;
//    }
//}
</script>
<?php
$row_std 
= isset($qu_std) ? $qu_std->row() : NULL;
$row_tm = isset($qu_tm) ? $qu_tm->row() : NULL;
?>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
    <tr>
        <td>
            <div align="center">
            <?php echo form_open($this->config->item("rg_folder")."checkregis/checkRegistDetails", array("name" => "myform""id" => "myform"));?>
            <table width="100%" align="center" border="0" cellpadding="0" cellspacing="1">
                <tr>
                    <td><font size="2"><b>รหัสนักศึกษา</b></font>
                    <input type="text" id="stdCode" name="stdCode" size="10" maxlength="10" />
                    <input type="submit" id="search" name="search" value="ค้นหา" /></td>
                </tr>
<?php
                
if (isset($qu_std) && $qu_std->num_rows()) {
?>
                <tr>
                    <td height="22"></td>
                </tr>
                <tr>
                    <td><table width="100%" border="0" cellspacing="1" cellpadding="1">
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td width="15%" height="22"><font size="2"><b>รหัสนักศึกษา</b></font></td>
                            <td width="35%"><font size="2"><?php echo setValue('stdCode',$row_std);?></font>
                            <input type="hidden" name="stdId" id="stdId" value="<?php echo setValue('stdId',$row_std);?>" /></td>
                            <td width="15%"><font size="2"><b>ชื่อ-นามสกุล</b></font></td>
                            <td width="35%"><font size="2"><?php echo setValue('pfName',$row_std).setValue('stdName',$row_std).' '.setValue('stdSurname',$row_std);?></font></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td height="22"><font size="2"><b>หลักสูตร</b></font></td>
                            <td><font size="2"><?php echo setValue('curName',$row_std);?></font>
                            <input type="hidden" name="curId" id="curId" value="<?php echo setValue('curId',$row_std);?>"></td>
                            <td><font size="2"><b>ชั้นปี</b></font></td>
                            <td><font size="2"><?php echo setValue('syCode',$row_std);?></font>
                            <input type="hidden" name="syId" id="syId" value="<?php echo setValue('syId',$row_std);?>" size="1"></td>
                        </tr>
                        <tr bgcolor="<?php echo $tr_color_even;?>">
                            <td height="22"><font size="2"><b>ปีการศึกษา</b></font></td>
                            <td><font size="2"><?php echo $acY;?></font></td>
                            <td><font size="2"><b>ภาคการศึกษา</b></font></td>
                            <td><font size="2"><?php echo setValue('tmCode',$row_tm);?></font>
                            <input type="hidden" name="tmId" id="tmId" value="<?php echo setValue('tmId',$row_tm);?>" /></td>
                        </tr>
                    </table></td>
                </tr>
                <tr>
                    <td height="22"></td>
                </tr>
                <tr>
                    <td height="22"><font size="2" color="<?php echo $font_color_err;?>"><b>ปีการศึกษา</b>
<?php 
                    
//$js1 = 'id="rgAcY" onChange="changeTm('.mt_rand().')"';
                    //echo form_dropdown('rgAcY', $rs_rgAcY, set_value('rgAcY',$acY), $js1);
                    
$js "id=\"rgAcY\" onChange=\"sendPost('hidform', {'rgAcY':this.value})\"";
                    echo 
form_dropdown('rgAcY'$rs_rgAcY''$js);
?>
                    <b>ภาคการศึกษา</b></font>
                    <span id='tm'>
<?php 
                    $js1 
'id="rdTmId" onChange="changetm('.mt_rand().')"';
                    echo 
form_dropdown('rgTmId'$rs_rgTmIdset_value('rgTmId',$tmId));
?>                
                    </span></td>
                </tr>
                <tr>
                    <td><div id='showCrs'></div></td>
                </tr>
<?php    
                
}

                if (isset(
$err_msg)) {
?>
                <tr>
                    <td align="center"><font size="2" color="<?php echo $this->config->item('rg_font_color_err');?>"><?php echo $err_msg;?></font></td>
                </tr>
<?php
                
}
?>
            </table><?php echo form_close();?></div>
        </td>
    </tr>
    <tr>
        <td><table width="100%">
            <tr>
                <td width="10%"><font size="2" color="<?php echo $font_color_err;?>"><b>หมายเหตุ : </b></font></td>
                <td width="90%"><font size="2" color="<?php echo $font_color_err;?>">N = ปกติ, N* = ถอนรายวิชาที่ลงทะเบียนก่อนช่วงเพิ่ม-ถอน</font></td>
            </tr>
            <tr>
                <td></td>
                <td><font size="2" color="<?php echo $font_color_err;?>">A = เพิ่ม, A* = ถอนรายวิชาที่ลงทะเบียนในช่วงเพิ่ม-ถอน</font></td>
            </tr>
            <tr>
                <td></td>
                <td><font size="2" color="<?php echo $font_color_err;?>">C = ถอนรายวิชาเนื่องจากรักษาสภาพ, T = รายวิชาเทียบเท่า/เทียบโอน</font></td>
            </tr>
        </table></td>
    </tr>
</table>
<script language="JavaScript">
//changeOption('<?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.0067 ]--