!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_infoAm_5.php (5.99 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$row_ha 
= (isset($qu_ha) && $qu_ha!=NULL) ? $qu_ha->row() : NULL;

$receiveDate setValue('receiveDate',$row_ha)!="" setValue('receiveDate',$row_ha) : '';

?>
<table width="100%">
    <tr>
        <td><table class="szone">
        <?php echo form_open($this->config->item("ea_folder")."info_alumni/process_infoAm_5", array("name" => "myform""id" => "myform"));?>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td colspan="4" height="25px" class="indent"><span class="h error">ข้อมูลการได้รับรางวัล</span></td>
            </tr>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="coltd_szone">ชื่อรางวัล ภาษาไทย</td>
                <td colspan="3"><input type="text" name="awardNameT" id="awardNameT" value="<?php echo set_value('awardNameT',setValue('awardNameT',$row_ha));?>" size="50" maxlength="100" />
                <span class="error"> * <?php echo form_error('awardNameT');?></span></td>
            </tr>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="coltd_szone">ชื่อรางวัล ภาษาอังกฤษ</td>
                <td colspan="3"><input type="text" name="awardNameE" id="awardNameE" value="<?php echo set_value('awardNameE',setValue('awardNameE',$row_ha));?>" size="50" maxlength="100" /></td>
            </tr>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="coltd_szone">หน่วยงานที่ให้รางวัล</td>
                <td><input type="text" name="awardCompany" id="awardCompany" value="<?php echo set_value('awardCompany',setValue('awardCompany',$row_ha));?>" size="30" maxlength="100" />
                <span class="error"> * <?php echo form_error('awardCompany');?></span></td>
                <td class="coltd_szone">วันที่ได้รับรางวัล</td>
                <td><script>DateInput('receiveDate', true, 'DD/MM/YYYY', "<?php echo (set_value('receiveDate')) ? set_value('receiveDate') : (setValue('receiveDate',$row_ha) ? splitDateDb2(setValue('receiveDate',$row_ha),'/') : getNowDateFw2());?>")</script></td>
            </tr>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="coltd_szone">ประเภทรางวัล</td>
                <td>
<?php
                
echo form_dropdown('typeAwardId'$rs_taset_value('typeAwardId'setValue('typeAwardId'$row_ha)));
?>
                <span class="error"> *<?php echo form_error('typeAwardId');?></span></td>
                <td class="coltd_szone">ระดับการได้รับรางวัล</td>
                <td>
<?php
                
echo form_dropdown('levelAwardId'$rs_levAwset_value('levelAwardId'setValue('levelAwardId'$row_ha)));
?>
                <span class="error"> *<?php echo form_error('levelAwardId');?></span></td>
            </tr>
            <!-- <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="coltd_szone">เอกสารประกอบ</td>
                <td colspan="3"></td>
            </tr> -->
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td colspan="4" align="center">
                <input type="submit" name="add" id="add" value="บันทึก" />
                <input type="reset" name="clear" id="clear" value="เคลียร์ข้อมูล" />
                <input type="hidden" name="tab" id="tab" value="<?php echo $tab;?>" />
                <input type="hidden" name="alumniId" id="alumniId" value="<?php echo $alumniId;?>" />
                <input type="hidden" name="seqId" id="seqId" value="<?php echo setValue('seqId',$row_ha);?>" />
                <input type="hidden" name="ha_alumniId" id="ha_alumniId" value="<?php echo setValue('alumniId',$row_ha);?>" /></td>
            </tr>
        <?php echo form_close();?></table></td>
    </tr>
    <tr>
        <td><br /></td>
    </tr>
    <tr>
        <td><table class="headCol">
            <tr bgcolor="<?php echo $this->config->item('table_c_even');?>">
                <th class="seqCol">ลำดับที่</th>
                <th>ชื่อรางวัล</th>
                <th>หน่วยงานที่ให้รางวัล</th>
                <th>ประเภทรางวัล</th>
                <th>ระดับการได้รับรางวัล</th>
                <th class="domAmtCol">วันที่ได้รับรางวัล</th>
                <th class="editCol">แก้ไข</th>
                <th class="deleteCol">ลบ</th>
            </tr>
<?php
    $i 
0;
    if(isset(
$rs_ha) && $rs_ha->num_rows()) {
        foreach(
$rs_ha->result() as $row_ha) {
            echo 
"<tr onmouseover=\"bgColor='".$this->config->item('tr_c_even')."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
                <td align="center"><?php echo $i+1;?></td>
                <td class="indent"><?php echo $row_ha->awardNameT;?></td>
                <td class="indent"><?php echo $row_ha->awardCompany;?></td>
                <td class="indent"><?php echo $row_ha->typeAwardNameT;?></td>
                <td class="indent"><?php echo $row_ha->levelAwardNameT;?></td>
                <td class="indent"><?php echo abbreDate2($row_ha->receiveDate);?></td>
                <td align="center"><img class="hand" src="<?php echo base_url().$this->config->item('rg_edit');?>" align="absmiddle" border="0" 
                onClick="sendPost('hidform',
                {'alumniId':<?php echo $row_ha->alumniId;?>,
                 'tab':<?php echo $tab;?>,
                 'seqId':<?php echo $row_ha->seqId;?>},
                 '<?php echo site_url($this->config->item('ea_folder').'info_alumni/main_infoAm');?>')" /></td>
                <td align="center"><img class="hand" src="<?php echo base_url().$this->config->item('rg_delete');?>" align="absmiddle" border="0" 
                onClick="sendPost('hidform',
                {'alumniId':<?php echo $row_ha->alumniId;?>,
                 'tab':<?php echo $tab;?>,
                 'seqId':<?php echo $row_ha->seqId;?>},
                 '<?php echo site_url($this->config->item('ea_folder').'info_alumni/process_deleteInfoAm_5');?>')" /></td>
            </tr>
<?php
            $i
++;
        }
    } else {
?>
            <tr>
                <td align="center" colspan="8"><span class="error">** ไม่ปรากฏรายการในฐานข้อมูล **</span></td>
            </tr>
<?php
    
}
?>
        </table></td>
    </tr>
    <tr>
        <td align="right">รวม <?php echo $i;?> รายการ</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.018 ]--