!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/ealumni/   drwxr-xr-x
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_report003_search.php (6.19 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<SCRIPT language=JavaScript type="text/JavaScript">
function checkType() {
    if(document.myform.type[0].checked) {
        document.myform.programAlumniId.disabled = false;
        document.myform.graduateY.disabled = false;
        document.myform.stdCode.disabled = true;
    }
    else if(document.myform.type[1].checked) {
        document.myform.programAlumniId.disabled = true;
        document.myform.graduateY.disabled = true;
        document.myform.stdCode.disabled = false;
    }
}
</SCRIPT>
<?php
$type 
= (isset($type)) ? $type "";
?>
<table width="100%">
    <tr>
        <td align="center"><span class="h error">รายงานแสดงการได้รับรางวัลของศิษย์เก่า</span></td>
    </tr>
    <tr>
        <td><br /></td>
    </tr>
    <tr>
        <td><table class="szone"><?php echo form_open($this->config->item("ea_folder")."report/report003_show", array("name" => "myform""id" => "myform"));?>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td colspan="2"><fieldset>
                    <table class="szone">
                        <tr>
                            <td class="coltd_szone">
                            <input type="radio" name="type" id="type" value="C" checked onClick="return checkType()" <?php echo ((set_value('type')=='C')? 'checked': ((set_value('type')=='A') ? '' 'checked'));?>/>
                            <label for="type"><b>รายหลักสูตร</b></label></td>
                        </tr>
                        <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                            <td class="coltd_szone2">หลักสูตรตามระบบทะเบียนศิษย์เก่า</td>
                            <td>
<?php
                            $disabled 
= ($type=="A") ? "disabled" "";
                            
$js_programAlumniId 'id="programAlumniId"'.$disabled;
                            echo 
form_dropdown('programAlumniId'$rs_paset_value('programAlumniId'), $js_programAlumniId);
?>
                            <span class="error"> *<?php echo form_error('programAlumniId');?></span></td>
                        </tr>
                        <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                            <td class="coltd_szone2">ปีการศึกษาที่จบ</td>
                            <td><input type="text" name="graduateY" id="graduateY" value="<?php echo isset($acY) ? set_value('graduateY',$acY) : set_value('graduateY');?>" class="required-int" size="5" maxlength="4" <?php echo ($type=="A") ? "disabled" "";?> />
                            <span class="error"> *<?php echo form_error('graduateY');?></span></td>
                        </tr>
                    </table>
                </fieldset></td>
            </tr>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td colspan="2"><fieldset>
                    <table class="szone">
                        <tr>
                            <td class="coltd_szone">
                            <input type="radio" name="type" id="type" value="A" onClick="return checkType()" <?php echo ((set_value('type')=='A') ? 'checked' '');?> />
                            <label for="type">รายนักศึกษา</label></b></font></td>
                        </tr>
                        <tr>
                            <td class="coltd_szone2">รหัสนักศึกษา</td>
                            <td><input type="text" name="stdCode" id="stdCode" value="<?php echo set_value('stdCode');?><?php echo (set_value('stdCode')=="" || $type=="C") ? "disabled" "";?> class="required-int" size="11" maxlength="10" />
                            <span class="error"> *<?php echo form_error('stdCode');?></span></td>
                        </tr>
                    </table>
                </fieldset></td>
            </tr>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="coltd_szone" colspan="2"><br /></td>
            </tr>
<!--            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td width="215px" class="indent"><b>ประเภทรางวัล</b></td>
                <td>
 --><?php
                
//echo form_dropdown('typeAward', $rs_ta, set_value('typeAward'));
?>
<!--                 <span class="error"><?php echo form_error('typeAward');?></span></td>
            </tr>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="indent"><b>ระดับการได้รับรางวัล</b></td>
                <td>
 --><?php
                
//echo form_dropdown('levelAward', $rs_la, set_value('levelAward'));
?>
<!--                 <span class="error"><?php echo form_error('levelAward');?></span></td>
            </tr> -->
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="coltd_szone">ช่วงเวลาที่ได้รับรางวัล</td>
                <td>
                <input type="text" name="year1" id="year1" value="<?php echo set_value('year1');?>" size="5" maxlength="4" class="required-int" /> - 
                <input type="text" name="year2" id="year2" value="<?php echo set_value('year2');?>" size="5" maxlength="4" class="required-int" />
                <br />ระบุเป็นปี พ.ศ.
                <span class="error"><?php echo form_error('year1') ? form_error('year1') : form_error('year2');?></span></td>
            </tr>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td colspan="2" align="center">
                <input type="submit" name="search" id="search" value="ค้นหา" />
                </td>
            </tr>
        <?php echo form_close();?></table></td>
    </tr>
    <tr>
        <td><br /></td>
    </tr>
<?php
if(isset($hw) && count($hw)) {
?>
    <tr>
        <td><table class="headCol">
            <tr bgcolor="<?php echo $this->config->item('table_c_even');?>">
                <th colspan="2">แสดงการได้รับรางวัลของศิษย์เก่า</th>
            </tr>
<?php
    
foreach($hw as $key => $val) {
        foreach(
$val as $key_2 => $val_2) {
            if(
$val_2['level']!="") {
?>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="indent" colspan="2"><b><?php echo $val_2['level'];?></b></td>
            </tr>
<?php
            
}

            echo 
"<tr onmouseover=\"bgColor='".$this->config->item('tr_c_even')."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                <td class="indentPm"><?php echo $val_2['typeaward'];?></td>
                <td align="center"><b><span class="hand" onClick="sendPost('hidform', <?php echo $val_2['url'];?>, '<?php echo site_url($this->config->item('ea_folder').'report/report003_ex');?>')" /><?php echo $val_2['count'];?></span></b></td>
            </tr>
<?php
        
}
    }
?>
            <!-- <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="indent"><b>รวม</b></td>
                <td align="center"><b>-</b></td>
            </tr> -->
        </table></td>
    </tr>
<?php
}
?>
</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.0061 ]--