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


Viewing file:     v_create_package.php (3.76 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
<script type="text/javascript">
function changeOption() {
    if($('#system_select').val() == "0") {
        sysId = 0;
    } else {
        sysId = $('#system_select').val();
    }
    //alert(sysId);
    /*var url_system = "<?php echo site_url().$this->config->item("ver_folder");?>"+"uploadversion/show_syspath/"+sysId;
    $.get(url_system, function(data) {
      $('#syspath').html(data);
    });*/
    
    if($('#type_select').val() == "0") {
        new_path = '';
    } else {
        new_path = $('#type_select').val();
    }
    $('#new_path').text(new_path);
    
    /*var url_lastversion = "<?php echo site_url().$this->config->item("ver_folder");?>"+"uploadversion/show_lastversion/"+sysId;
    $.get(url_lastversion, function(data) {
      $('#lastversion').html(data);
    });
    var url_nowversion = "<?php echo site_url().$this->config->item("ver_folder");?>"+"uploadversion/show_nowversion/"+sysId;
    $.get(url_nowversion, function(data) {
      $('#nowversion').html(data);
    });*/
}
/*function uploadFiles(){
    if ( $("#system_select").val() == 0 )
    {
      alert('กรุณาเลือกชื่อระบบ');
      return false;
    }
    else if ( $(".MultiFile").html() == null )
    {
      alert('กรุณาเลือกไฟล์');
      return false;
    }
    else
    {
      return true;
    }
}*/
function show_inputfile(){
    $('up_file').show();
}
$(document).ready(function() {
    
    /*$('#example').dataTable( {
        "bJQueryUI": true,
        "sPaginationType": "full_numbers",
        "bProcessing": true,
        "bServerSide": true,
        "sAjaxSource": "<?php echo site_url().$this->config->item("ver_folder").'uploadversion/show_all_data'?>",
        "aaSorting": [[0,'asc']],
        "aoColumns": [ 
            { "sName": "ful_file_id" },
            { "sName": "ful_upl_date" },
            { "sName": "ful_upl_time" },
            { "sName": "ful_filename2" },
            { "sName": "ful_fileflag" },
            { "sName": "ful_path" },
            { "sName": "ful_detail" },
        ],
        "fnServerData": function ( sSource, aoData, fnCallback ) {
            $.ajax( {
                "dataType": 'json', 
                "type": "POST", 
                "url": sSource, 
                "data": aoData, 
                "success": fnCallback
            } );
        }
    } );
    $('#multi').MultiFile({ 
        STRING: {
            remove: '<img src="<?php echo base_url();?>/images/delete.gif" border="0" height="16" width="16" alt="x"/>'
        },
        max: 5,
        accept: 'php|html|css|js|gif|jpg|png|bmp|swf'
    }); */
    
    
} );

</script>
<div>สร้างแพ็คเกจ</div>
<p>&nbsp;</p>
<table border="0" cellspacing="0" cellpadding="0" align="center">
<form id="create_pkg" name="create_pkg" action="<?php echo site_url().$this->config->item("ver_folder");?>uploadversion/create_package" method="post" enctype="multipart/form-data">
    <tr> 
        <td align="left" width="200" height="30">วันที่อัพโหลด / เวอร์ชันแพ็คเกจ</td>
        <td width="404" align="left">
            <?php echo getNowDateTh();?> 
            <input type="hidden" id="uploadDate" name="uploadDate" value="<?php echo getNowDateTh();?>">
        </td>
    </tr>
    <tr> 
        <td align="left" height="30">ชื่อระบบ</td>
        <td align="left"> 
            <select id="system_select" name="system_select" onchange="changeOption();">
                <option value="0" selected="selected">- เลือกระบบ -</option>
                <?php foreach($sys_gp->result() as $row){ ?>
                    <option value="<?php echo $row->sg_sys_id?>"><?php echo $row->sys_th_name?></option>
                <?php ?>
            </select>
        </td>
    </tr>
    <tr>
        <td align="left" height="30">รายละเอียดการเปลี่ยนแปลง</td>
        <td><textarea id="detail" name="detail" cols="38" rows="4"></textarea></td>
    </tr>
    <tr>
        <td colspan="2" align="center">
            <input type="submit" id="submit" name="submit" value="สร้างแพ็คเกจ">
            <input type="reset" id="clear" name="clear" value="เคลียร์ข้อมูล">
        </td>
    </tr>
</form>
</table>
<p>&nbsp;</p>

:: 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 ::
 
[ Read-Only ]

:: Make Dir ::
 
[ Read-Only ]
:: Make File ::
 
[ Read-Only ]

:: 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.0128 ]--