!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/bin/X11/./../../lib/evolution-openldap/../python2.4/site-packages/Ft/Lib/DistExt/   drwxr-xr-x
Free 5.03 GB of 27.03 GB (18.6%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     InstallLib.py (2.73 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
import os
from distutils.command import install_lib

class InstallLib(install_lib.install_lib):

    command_name = 'install_lib'

    user_options = [
        ('force', 'f', "force installation (overwrite existing files)"),
        ('compile', 'c', "compile .py to .pyc [default]"),
        ('no-compile', None, "don't compile .py files"),
        ('optimize=', 'O',
         "also compile with optimization: -O1 for \"python -O\", "
         "-O2 for \"python -OO\", and -O0 to disable [default: -O0]"),
        ('skip-build', None, "skip the build steps"),
        ]

    boolean_options = ['force', 'compile', 'skip-build']
    negative_opt = {'no-compile' : 'compile'}

    def install(self):
        outfiles = []
        if os.path.isdir(self.build_dir):
            self.mkpath(self.install_dir)
            # Unfortunately, each command could have a different
            # build directory.
            pure = self._copy_outputs(self.distribution.has_pure_modules(),
                                      'build_py', 'build_lib')
            outfiles.extend(pure)

            ext = self._copy_outputs(self.distribution.has_ext_modules(),
                                     'build_ext', 'build_lib')
            outfiles.extend(ext)

            idl = self._copy_outputs(self.distribution.has_idl(),
                                     'build_idl', 'build_lib')
            outfiles.extend(idl)
        else:
            self.warn("'%s' does not exist -- no Python modules to install" %
                      self.build_dir)
        return outfiles

    def _copy_outputs (self, has_any, build_cmd, dir_option):
        if not has_any:
            return []

        build_cmd = self.get_finalized_command(build_cmd)
        build_files = build_cmd.get_outputs()
        build_dir = getattr(build_cmd, dir_option)

        prefix_len = len(build_dir) + len(os.sep)
        outputs = []
        for source in build_files:
            # Trim off the build directory
            outfile = os.path.join(self.install_dir, source[prefix_len:])
            self.mkpath(os.path.dirname(outfile))
            self.copy_file(source, outfile)
            outputs.append(outfile)
        return outputs

    def get_outputs(self):
        outputs = install_lib.install_lib.get_outputs(self)

        idl_outputs = self._mutate_outputs(self.distribution.has_idl(),
                                           'build_idl', 'build_lib',
                                           self.install_dir)

        return outputs + idl_outputs

    def get_inputs(self):
        inputs = install_lib.install_lib.get_inputs(self)

        if self.distribution.has_idl():
            build_idl = self.get_finalized_command('build_idl')
            inputs.extend(build_idl.get_outputs())

        return inputs

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