!C99Shell v. 1.0 pre-release build #16!

Software: Apache/2.0.54 (Fedora). PHP/5.0.4 

uname -a: Linux mina-info.me 2.6.17-1.2142_FC4smp #1 SMP Tue Jul 11 22:57:02 EDT 2006 i686 

uid=48(apache) gid=48(apache) groups=48(apache)
context=system_u:system_r:httpd_sys_script_t
 

Safe-mode: OFF (not secure)

/usr/lib/python2.4/site-packages/Ft/Server/Server/Ftp/   drwxr-xr-x
Free 3.75 GB of 27.03 GB (13.88%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     __init__.py (1013 B)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
from Ft.Server.Server import FTSERVER_SERVER_NS, Module
import FtpHandler

class FtpModule(Module):

    handlers = {'ftp' : FtpHandler.FtpHandler}

    commands = {
        (FTSERVER_SERVER_NS, 'ExtendedMapping'): 'addExtendedMapping',
        }

    def initialize(self, parser, config):
        config.extenedMapping = {}
        return

    def addExtendedMapping(self, parser, config, name, data, attrs):
        """
        An extended mapping will map an extension to IMT, docdef, or
        resource type
        """
        try:
            ext = attrs[(None, 'ext')]
        except KeyError:
            raise Exception('%s requires ext attribute' % name)

        dd = attrs.get((None, 'doc-def'), None)
        imt = attrs.get((None, 'imt'), None)
        rt = attrs.get((None, 'resource-type'), None)

        if not (dd or imt or rt):
            raise Exception("%s requires one of doc-def, imt or resource-type attributes" % name)

        config.extendedMapping[ext] = (dd,imt,rt)
        return

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

:: Go Dir ::
 
:: Go File ::
 

--[ c99shell v. 1.0 pre-release build #16 powered by Captain Crunch Security Team | http://ccteam.ru | Generation time: 0.0034 ]--