JFIFHHC     C  " 5????! ??? JFIF    >CREATOR: gd-jpeg v1.0 (using IJG JPEG v62), default quality C     p!ranha?
Server IP : 172.67.137.82  /  Your IP : 104.23.243.85
Web Server : Apache/2.4.51 (Unix) OpenSSL/1.1.1n
System : Linux ip-172-26-8-243 4.19.0-27-cloud-amd64 #1 SMP Debian 4.19.316-1 (2024-06-25) x86_64
User : daemon ( 1)
PHP Version : 7.4.24
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /proc/self/root/proc/thread-self/root/usr/lib/python2.7/

Upload File :
Curr3nt_D!r [ Writeable ] D0cum3nt_r0Ot [ Writeable ]

 
Command :
Current File : /proc/self/root/proc/thread-self/root/usr/lib/python2.7/mailbox.py
"""Read/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes."""

# Notes for authors of new mailbox subclasses:
#
# Remember to fsync() changes to disk before closing a modified file
# or returning from a flush() method.  See functions _sync_flush() and
# _sync_close().

import sys
import os
import time
import calendar
import socket
import errno
import copy
import email
import email.message
import email.generator
import StringIO
try:
    if sys.platform == 'os2emx':
        # OS/2 EMX fcntl() not adequate
        raise ImportError
    import fcntl
except ImportError:
    fcntl = None

import warnings
with warnings.catch_warnings():
    if sys.py3kwarning:
        warnings.filterwarnings("ignore", ".*rfc822 has been removed",
                                DeprecationWarning)
    import rfc822

__all__ = [ 'Mailbox', 'Maildir', 'mbox', 'MH', 'Babyl', 'MMDF',
            'Message', 'MaildirMessage', 'mboxMessage', 'MHMessage',
            'BabylMessage', 'MMDFMessage', 'UnixMailbox',
            'PortableUnixMailbox', 'MmdfMailbox', 'MHMailbox', 'BabylMailbox' ]

class Mailbox:
    """A group of messages in a particular place."""

    def __init__(self, path, factory=None, create=True):
        """Initialize a Mailbox instance."""
        self._path = os.path.abspath(os.path.expanduser(path))
        self._factory = factory

    def add(self, message):
        """Add message and return assigned key."""
        raise NotImplementedError('Method must be implemented by subclass')

    def remove(self, key):
        """Remove the keyed message; raise KeyError if it doesn't exist."""
        raise NotImplementedError('Method must be implemented by subclass')

    def __delitem__(self, key):
        self.remove(key)

    def discard(self, key):
        """If the keyed message exists, remove it."""
        try:
            self.remove(key)
        except KeyError:
            pass

    def __setitem__(self, key, message):
        """Replace the keyed message; raise KeyError if it doesn't exist."""
        raise NotImplementedError('Method must be implemented by subclass')

    def get(self, key, default=None):
        """Return the keyed message, or default if it doesn't exist."""
        try:
            return self.__getitem__(key)
        except KeyError:
            return default

    def __getitem__(self, key):
        """Return the keyed message; raise KeyError if it doesn't exist."""
        if not self._factory:
            return self.get_message(key)
        else:
            return self._factory(self.get_file(key))

    def get_message(self, key):
        """Return a Message representation or raise a KeyError."""
        raise NotImplementedError('Method must be implemented by subclass')

    def get_string(self, key):
        """Return a string representation or raise a KeyError."""
        raise NotImplementedError('Method must be implemented by subclass')

    def get_file(self, key):
        """Return a file-like representation or raise a KeyError."""
        raise NotImplementedError('Method must be implemented by subclass')

    def iterkeys(self):
        """Return an iterator over keys."""
        raise NotImplementedError('Method must be implemented by subclass')

    def keys(self):
        """Return a list of keys."""
        return list(self.iterkeys())

    def itervalues(self):
        """Return an iterator over all messages."""
        for key in self.iterkeys():
            try:
                value = self[key]
            except KeyError:
                continue
            yield value

    def __iter__(self):
        return self.itervalues()

    def values(self):
        """Return a list of messages. Memory intensive."""
        return list(self.itervalues())

    def iteritems(self):
        """Return an iterator over (key, message) tuples."""
        for key in self.iterkeys():
            try:
                value = self[key]
            except KeyError:
                continue
            yield (key, value)

    def items(self):
        """Return a list of (key, message) tuples. Memory intensive."""
        return list(self.iteritems())

    def has_key(self, key):
        """Return True if the keyed message exists, False otherwise."""
        raise NotImplementedError('Method must be implemented by subclass')

    def __contains__(self, key):
        return self.has_key(key)

    def __len__(self):
        """Return a count of messages in the mailbox."""
        raise NotImplementedError('Method must be implemented by subclass')

    def clear(self):
        """Delete all messages."""
        for key in self.iterkeys():
            self.discard(key)

    def pop(self, key, default=None):
        """Delete the keyed message and return it, or default."""
        try:
            result = self[key]
        except KeyError:
            return default
        self.discard(key)
        return result

    def popitem(self):
        """Delete an arbitrary (key, message) pair and return it."""
        for key in self.iterkeys():
            return (key, self.pop(key))     # This is only run once.
        else:
            raise KeyError('No messages in mailbox')

    def update(self, arg=None):
        """Change the messages that correspond to certain keys."""
        if hasattr(arg, 'iteritems'):
            source = arg.iteritems()
        elif hasattr(arg, 'items'):
            source = arg.items()
        else:
            source = arg
        bad_key = False
        for key, message in source:
            try:
                self[key] = message
            except KeyError:
                bad_key = True
        if bad_key:
            raise KeyError('No message with key(s)')

    def flush(self):
        """Write any pending changes to the disk."""
        raise NotImplementedError('Method must be implemented by subclass')

    def lock(self):
        """Lock the mailbox."""
        raise NotImplementedError('Method must be implemented by subclass')

    def unlock(self):
        """Unlock the mailbox if it is locked."""
        raise NotImplementedError('Method must be implemented by subclass')

    def close(self):
        """Flush and close the mailbox."""
        raise NotImplementedError('Method must be implemented by subclass')

    # Whether each message must end in a newline
    _append_newline = False

    def _dump_message(self, message, target, mangle_from_=False):
        # Most files are opened in binary mode to allow predictable seeking.
        # To get native line endings on disk, the user-friendly \n line endings
        # used in strings and by email.Message are translated here.
        """Dump message contents to target file."""
        if isinstance(message, email.message.Message):
            buffer = StringIO.StringIO()
            gen = email.generator.Generator(buffer, mangle_from_, 0)
            gen.flatten(message)
            buffer.seek(0)
            data = buffer.read().replace('\n', os.linesep)
            target.write(data)
            if self._append_newline and not data.endswith(os.linesep):
                # Make sure the message ends with a newline
                target.write(os.linesep)
        elif isinstance(message, str):
            if mangle_from_:
                message = message.replace('\nFrom ', '\n>From ')
            message = message.replace('\n', os.linesep)
            target.write(message)
            if self._append_newline and not message.endswith(os.linesep):
                # Make sure the message ends with a newline
                target.write(os.linesep)
        elif hasattr(message, 'read'):
            lastline = None
            while True:
                line = message.readline()
                if line == '':
                    break
                if mangle_from_ and line.startswith('From '):
                    line = '>From ' + line[5:]
                line = line.replace('\n', os.linesep)
                target.write(line)
                lastline = line
            if self._append_newline and lastline and not lastline.endswith(os.linesep):
                # Make sure the message ends with a newline
                target.write(os.linesep)
        else:
            raise TypeError('Invalid message type: %s' % type(message))


class Maildir(Mailbox):
    """A qmail-style Maildir mailbox."""

    colon = ':'

    def __init__(self, dirname, factory=rfc822.Message, create=True):
        """Initialize a Maildir instance."""
        Mailbox.__init__(self, dirname, factory, create)
        self._paths = {
            'tmp': os.path.join(self._path, 'tmp'),
            'new': os.path.join(self._path, 'new'),
            'cur': os.path.join(self._path, 'cur'),
            }
        if not os.path.exists(self._path):
            if create:
                os.mkdir(self._path, 0700)
                for path in self._paths.values():
                    os.mkdir(path, 0o700)
            else:
                raise NoSuchMailboxError(self._path)
        self._toc = {}
        self._toc_mtimes = {'cur': 0, 'new': 0}
        self._last_read = 0         # Records last time we read cur/new
        self._skewfactor = 0.1      # Adjust if os/fs clocks are skewing

    def add(self, message):
        """Add message and return assigned key."""
        tmp_file = self._create_tmp()
        try:
            self._dump_message(message, tmp_file)
        except BaseException:
            tmp_file.close()
            os.remove(tmp_file.name)
            raise
        _sync_close(tmp_file)
        if isinstance(message, MaildirMessage):
            subdir = message.get_subdir()
            suffix = self.colon + message.get_info()
            if suffix == self.colon:
                suffix = ''
        else:
            subdir = 'new'
            suffix = ''
        uniq = os.path.basename(tmp_file.name).split(self.colon)[0]
        dest = os.path.join(self._path, subdir, uniq + suffix)
        if isinstance(message, MaildirMessage):
            os.utime(tmp_file.name,
                     (os.path.getatime(tmp_file.name), message.get_date()))
        # No file modification should be done after the file is moved to its
        # final position in order to prevent race conditions with changes
        # from other programs
        try:
            if hasattr(os, 'link'):
                os.link(tmp_file.name, dest)
                os.remove(tmp_file.name)
            else:
                os.rename(tmp_file.name, dest)
        except OSError, e:
            os.remove(tmp_file.name)
            if e.errno == errno.EEXIST:
                raise ExternalClashError('Name clash with existing message: %s'
                                         % dest)
            else:
                raise
        return uniq

    def remove(self, key):
        """Remove the keyed message; raise KeyError if it doesn't exist."""
        os.remove(os.path.join(self._path, self._lookup(key)))

    def discard(self, key):
        """If the keyed message exists, remove it."""
        # This overrides an inapplicable implementation in the superclass.
        try:
            self.remove(key)
        except KeyError:
            pass
        except OSError, e:
            if e.errno != errno.ENOENT:
                raise

    def __setitem__(self, key, message):
        """Replace the keyed message; raise KeyError if it doesn't exist."""
        old_subpath = self._lookup(key)
        temp_key = self.add(message)
        temp_subpath = self._lookup(temp_key)
        if isinstance(message, MaildirMessage):
            # temp's subdir and suffix were specified by message.
            dominant_subpath = temp_subpath
        else:
            # temp's subdir and suffix were defaults from add().
            dominant_subpath = old_subpath
        subdir = os.path.dirname(dominant_subpath)
        if self.colon in dominant_subpath:
            suffix = self.colon + dominant_subpath.split(self.colon)[-1]
        else:
            suffix = ''
        self.discard(key)
        tmp_path = os.path.join(self._path, temp_subpath)
        new_path = os.path.join(self._path, subdir, key + suffix)
        if isinstance(message, MaildirMessage):
            os.utime(tmp_path,
                     (os.path.getatime(tmp_path), message.get_date()))
        # No file modification should be done after the file is moved to its
        # final position in order to prevent race conditions with changes
        # from other programs
        os.rename(tmp_path, new_path)

    def get_message(self, key):
        """Return a Message representation or raise a KeyError."""
        subpath = self._lookup(key)
        f = open(os.path.join(self._path, subpath), 'r')
        try:
            if self._factory:
                msg = self._factory(f)
            else:
                msg = MaildirMessage(f)
        finally:
            f.close()
        subdir, name = os.path.split(subpath)
        msg.set_subdir(subdir)
        if self.colon in name:
            msg.set_info(name.split(self.colon)[-1])
        msg.set_date(os.path.getmtime(os.path.join(self._path, subpath)))
        return msg

    def get_string(self, key):
        """Return a string representation or raise a KeyError."""
        f = open(os.path.join(self._path, self._lookup(key)), 'r')
        try:
            return f.read()
        finally:
            f.close()

    def get_file(self, key):
        """Return a file-like representation or raise a KeyError."""
        f = open(os.path.join(self._path, self._lookup(key)), 'rb')
        return _ProxyFile(f)

    def iterkeys(self):
        """Return an iterator over keys."""
        self._refresh()
        for key in self._toc:
            try:
                self._lookup(key)
            except KeyError:
                continue
            yield key

    def has_key(self, key):
        """Return True if the keyed message exists, False otherwise."""
        self._refresh()
        return key in self._toc

    def __len__(self):
        """Return a count of messages in the mailbox."""
        self._refresh()
        return len(self._toc)

    def flush(self):
        """Write any pending changes to disk."""
        # Maildir changes are always written immediately, so there's nothing
        # to do.
        pass

    def lock(self):
        """Lock the mailbox."""
        return

    def unlock(self):
        """Unlock the mailbox if it is locked."""
        return

    def close(self):
        """Flush and close the mailbox."""
        return

    def list_folders(self):
        """Return a list of folder names."""
        result = []
        for entry in os.listdir(self._path):
            if len(entry) > 1 and entry[0] == '.' and \
               os.path.isdir(os.path.join(self._path, entry)):
                result.append(entry[1:])
        return result

    def get_folder(self, folder):
        """Return a Maildir instance for the named folder."""
        return Maildir(os.path.join(self._path, '.' + folder),
                       factory=self._factory,
                       create=False)

    def add_folder(self, folder):
        """Create a folder and return a Maildir instance representing it."""
        path = os.path.join(self._path, '.' + folder)
        result = Maildir(path, factory=self._factory)
        maildirfolder_path = os.path.join(path, 'maildirfolder')
        if not os.path.exists(maildirfolder_path):
            os.close(os.open(maildirfolder_path, os.O_CREAT | os.O_WRONLY,
                0666))
        return result

    def remove_folder(self, folder):
        """Delete the named folder, which must be empty."""
        path = os.path.join(self._path, '.' + folder)
        for entry in os.listdir(os.path.join(path, 'new')) + \
                     os.listdir(os.path.join(path, 'cur')):
            if len(entry) < 1 or entry[0] != '.':
                raise NotEmptyError('Folder contains message(s): %s' % folder)
        for entry in os.listdir(path):
            if entry != 'new' and entry != 'cur' and entry != 'tmp' and \
               os.path.isdir(os.path.join(path, entry)):
                raise NotEmptyError("Folder contains subdirectory '%s': %s" %
                                    (folder, entry))
        for root, dirs, files in os.walk(path, topdown=False):
            for entry in files:
                os.remove(os.path.join(root, entry))
            for entry in dirs:
                os.rmdir(os.path.join(root, entry))
        os.rmdir(path)

    def clean(self):
        """Delete old files in "tmp"."""
        now = time.time()
        for entry in os.listdir(os.path.join(self._path, 'tmp')):
            path = os.path.join(self._path, 'tmp', entry)
            if now - os.path.getatime(path) > 129600:   # 60 * 60 * 36
                os.remove(path)

    _count = 1  # This is used to generate unique file names.

    def _create_tmp(self):
        """Create a file in the tmp subdirectory and open and return it."""
        now = time.time()
        hostname = socket.gethostname()
        if '/' in hostname:
            hostname = hostname.replace('/', r'\057')
        if ':' in hostname:
            hostname = hostname.replace(':', r'\072')
        uniq = "%s.M%sP%sQ%s.%s" % (int(now), int(now % 1 * 1e6), os.getpid(),
                                    Maildir._count, hostname)
        path = os.path.join(self._path, 'tmp', uniq)
        try:
            os.stat(path)
        except OSError, e:
            if e.errno == errno.ENOENT:
                Maildir._count += 1
                try:
                    return _create_carefully(path)
                except OSError, e:
                    if e.errno != errno.EEXIST:
                        raise
            else:
                raise

        # Fall through to here if stat succeeded or open raised EEXIST.
        raise ExternalClashError('Name clash prevented file creation: %s' %
                                 path)

    def _refresh(self):
        """Update table of contents mapping."""
        # If it has been less than two seconds since the last _refresh() call,
        # we have to unconditionally re-read the mailbox just in case it has
        # been modified, because os.path.mtime() has a 2 sec resolution in the
        # most common worst case (FAT) and a 1 sec resolution typically.  This
        # results in a few unnecessary re-reads when _refresh() is called
        # multiple times in that interval, but once the clock ticks over, we
        # will only re-read as needed.  Because the filesystem might be being
        # served by an independent system with its own clock, we record and
        # compare with the mtimes from the filesystem.  Because the other
        # system's clock might be skewing relative to our clock, we add an
        # extra delta to our wait.  The default is one tenth second, but is an
        # instance variable and so can be adjusted if dealing with a
        # particularly skewed or irregular system.
        if time.time() - self._last_read > 2 + self._skewfactor:
            refresh = False
            for subdir in self._toc_mtimes:
                mtime = os.path.getmtime(self._paths[subdir])
                if mtime > self._toc_mtimes[subdir]:
                    refresh = True
                self._toc_mtimes[subdir] = mtime
            if not refresh:
                return
        # Refresh toc
        self._toc = {}
        for subdir in self._toc_mtimes:
            path = self._paths[subdir]
            for entry in os.listdir(path):
                p = os.path.join(path, entry)
                if os.path.isdir(p):
                    continue
                uniq = entry.split(self.colon)[0]
                self._toc[uniq] = os.path.join(subdir, entry)
        self._last_read = time.time()

    def _lookup(self, key):
        """Use TOC to return subpath for given key, or raise a KeyError."""
        try:
            if os.path.exists(os.path.join(self._path, self._toc[key])):
                return self._toc[key]
        except KeyError:
            pass
        self._refresh()
        try:
            return self._toc[key]
        except KeyError:
            raise KeyError('No message with key: %s' % key)

    # This method is for backward compatibility only.
    def next(self):
        """Return the next message in a one-time iteration."""
        if not hasattr(self, '_onetime_keys'):
            self._onetime_keys = self.iterkeys()
        while True:
            try:
                return self[self._onetime_keys.next()]
            except StopIteration:
                return None
            except KeyError:
                continue


class _singlefileMailbox(Mailbox):
    """A single-file mailbox."""

    def __init__(self, path, factory=None, create=True):
        """Initialize a single-file mailbox."""
        Mailbox.__init__(self, path, factory, create)
        try:
            f = open(self._path, 'rb+')
        except IOError, e:
            if e.errno == errno.ENOENT:
                if create:
                    f = open(self._path, 'wb+')
                else:
                    raise NoSuchMailboxError(self._path)
            elif e.errno in (errno.EACCES, errno.EROFS):
                f = open(self._path, 'rb')
            else:
                raise
        self._file = f
        self._toc = None
        self._next_key = 0
        self._pending = False       # No changes require rewriting the file.
        self._pending_sync = False  # No need to sync the file
        self._locked = False
        self._file_length = None    # Used to record mailbox size

    def add(self, message):
        """Add message and return assigned key."""
        self._lookup()
        self._toc[self._next_key] = self._append_message(message)
        self._next_key += 1
        # _append_message appends the message to the mailbox file. We
        # don't need a full rewrite + rename, sync is enough.
        self._pending_sync = True
        return self._next_key - 1

    def remove(self, key):
        """Remove the keyed message; raise KeyError if it doesn't exist."""
        self._lookup(key)
        del self._toc[key]
        self._pending = True

    def __setitem__(self, key, message):
        """Replace the keyed message; raise KeyError if it doesn't exist."""
        self._lookup(key)
        self._toc[key] = self._append_message(message)
        self._pending = True

    def iterkeys(self):
        """Return an iterator over keys."""
        self._lookup()
        for key in self._toc.keys():
            yield key

    def has_key(self, key):
        """Return True if the keyed message exists, False otherwise."""
        self._lookup()
        return key in self._toc

    def __len__(self):
        """Return a count of messages in the mailbox."""
        self._lookup()
        return len(self._toc)

    def lock(self):
        """Lock the mailbox."""
        if not self._locked:
            _lock_file(self._file)
            self._locked = True

    def unlock(self):
        """Unlock the mailbox if it is locked."""
        if self._locked:
            _unlock_file(self._file)
            self._locked = False

    def flush(self):
        """Write any pending changes to disk."""
        if not self._pending:
            if self._pending_sync:
                # Messages have only been added, so syncing the file
                # is enough.
                _sync_flush(self._file)
                self._pending_sync = False
            return

        # In order to be writing anything out at all, self._toc must
        # already have been generated (and presumably has been modified
        # by adding or deleting an item).
        assert self._toc is not None

        # Check length of self._file; if it's changed, some other process
        # has modified the mailbox since we scanned it.
        self._file.seek(0, 2)
        cur_len = self._file.tell()
        if cur_len != self._file_length:
            raise ExternalClashError('Size of mailbox file changed '
                                     '(expected %i, found %i)' %
                                     (self._file_length, cur_len))

        new_file = _create_temporary(self._path)
        try:
            new_toc = {}
            self._pre_mailbox_hook(new_file)
            for key in sorted(self._toc.keys()):
                start, stop = self._toc[key]
                self._file.seek(start)
                self._pre_message_hook(new_file)
                new_start = new_file.tell()
                while True:
                    buffer = self._file.read(min(4096,
                                                 stop - self._file.tell()))
                    if buffer == '':
                        break
                    new_file.write(buffer)
                new_toc[key] = (new_start, new_file.tell())
                self._post_message_hook(new_file)
            self._file_length = new_file.tell()
        except:
            new_file.close()
            os.remove(new_file.name)
            raise
        _sync_close(new_file)
        # self._file is about to get replaced, so no need to sync.
        self._file.close()
        # Make sure the new file's mode is the same as the old file's
        mode = os.stat(self._path).st_mode
        os.chmod(new_file.name, mode)
        try:
            os.rename(new_file.name, self._path)
        except OSError, e:
            if e.errno == errno.EEXIST or \
              (os.name == 'os2' and e.errno == errno.EACCES):
                os.remove(self._path)
                os.rename(new_file.name, self._path)
            else:
                raise
        self._file = open(self._path, 'rb+')
        self._toc = new_toc
        self._pending = False
        self._pending_sync = False
        if self._locked:
            _lock_file(self._file, dotlock=False)

    def _pre_mailbox_hook(self, f):
        """Called before writing the mailbox to file f."""
        return

    def _pre_message_hook(self, f):
        """Called before writing each message to file f."""
        return

    def _post_message_hook(self, f):
        """Called after writing each message to file f."""
        return

    def close(self):
        """Flush and close the mailbox."""
        try:
            self.flush()
        finally:
            try:
                if self._locked:
                    self.unlock()
            finally:
                self._file.close()  # Sync has been done by self.flush() above.

    def _lookup(self, key=None):
        """Return (start, stop) or raise KeyError."""
        if self._toc is None:
            self._generate_toc()
        if key is not None:
            try:
                return self._toc[key]
            except KeyError:
                raise KeyError('No message with key: %s' % key)

    def _append_message(self, message):
        """Append message to mailbox and return (start, stop) offsets."""
        self._file.seek(0, 2)
        before = self._file.tell()
        if len(self._toc) == 0 and not self._pending:
            # This is the first message, and the _pre_mailbox_hook
            # hasn't yet been called. If self._pending is True,
            # messages have been removed, so _pre_mailbox_hook must
            # have been called already.
            self._pre_mailbox_hook(self._file)
        try:
            self._pre_message_hook(self._file)
            offsets = self._install_message(message)
            self._post_message_hook(self._file)
        except BaseException:
            self._file.truncate(before)
            raise
        self._file.flush()
        self._file_length = self._file.tell()  # Record current length of mailbox
        return offsets



class _mboxMMDF(_singlefileMailbox):
    """An mbox or MMDF mailbox."""

    _mangle_from_ = True

    def get_message(self, key):
        """Return a Message representation or raise a KeyError."""
        start, stop = self._lookup(key)
        self._file.seek(start)
        from_line = self._file.readline().replace(os.linesep, '')
        string = self._file.read(stop - self._file.tell())
        msg = self._message_factory(string.replace(os.linesep, '\n'))
        msg.set_from(from_line[5:])
        return msg

    def get_string(self, key, from_=False):
        """Return a string representation or raise a KeyError."""
        start, stop = self._lookup(key)
        self._file.seek(start)
        if not from_:
            self._file.readline()
        string = self._file.read(stop - self._file.tell())
        return string.replace(os.linesep, '\n')

    def get_file(self, key, from_=False):
        """Return a file-like representation or raise a KeyError."""
        start, stop = self._lookup(key)
        self._file.seek(start)
        if not from_:
            self._file.readline()
        return _PartialFile(self._file, self._file.tell(), stop)

    def _install_message(self, message):
        """Format a message and blindly write to self._file."""
        from_line = None
        if isinstance(message, str) and message.startswith('From '):
            newline = message.find('\n')
            if newline != -1:
                from_line = message[:newline]
                message = message[newline + 1:]
            else:
                from_line = message
                message = ''
        elif isinstance(message, _mboxMMDFMessage):
            from_line = 'From ' + message.get_from()
        elif isinstance(message, email.message.Message):
            from_line = message.get_unixfrom()  # May be None.
        if from_line is None:
            from_line = 'From MAILER-DAEMON %s' % time.asctime(time.gmtime())
        start = self._file.tell()
        self._file.write(from_line + os.linesep)
        self._dump_message(message, self._file, self._mangle_from_)
        stop = self._file.tell()
        return (start, stop)


class mbox(_mboxMMDF):
    """A classic mbox mailbox."""

    _mangle_from_ = True

    # All messages must end in a newline character, and
    # _post_message_hooks outputs an empty line between messages.
    _append_newline = True

    def __init__(self, path, factory=None, create=True):
        """Initialize an mbox mailbox."""
        self._message_factory = mboxMessage
        _mboxMMDF.__init__(self, path, factory, create)

    def _post_message_hook(self, f):
        """Called after writing each message to file f."""
        f.write(os.linesep)

    def _generate_toc(self):
        """Generate key-to-(start, stop) table of contents."""
        starts, stops = [], []
        last_was_empty = False
        self._file.seek(0)
        while True:
            line_pos = self._file.tell()
            line = self._file.readline()
            if line.startswith('From '):
                if len(stops) < len(starts):
                    if last_was_empty:
                        stops.append(line_pos - len(os.linesep))
                    else:
                        # The last line before the "From " line wasn't
                        # blank, but we consider it a start of a
                        # message anyway.
                        stops.append(line_pos)
                starts.append(line_pos)
                last_was_empty = False
            elif not line:
                if last_was_empty:
                    stops.append(line_pos - len(os.linesep))
                else:
                    stops.append(line_pos)
                break
            elif line == os.linesep:
                last_was_empty = True
            else:
                last_was_empty = False
        self._toc = dict(enumerate(zip(starts, stops)))
        self._next_key = len(self._toc)
        self._file_length = self._file.tell()


class MMDF(_mboxMMDF):
    """An MMDF mailbox."""

    def __init__(self, path, factory=None, create=True):
        """Initialize an MMDF mailbox."""
        self._message_factory = MMDFMessage
        _mboxMMDF.__init__(self, path, factory, create)

    def _pre_message_hook(self, f):
        """Called before writing each message to file f."""
        f.write('\001\001\001\001' + os.linesep)

    def _post_message_hook(self, f):
        """Called after writing each message to file f."""
        f.write(os.linesep + '\001\001\001\001' + os.linesep)

    def _generate_toc(self):
        """Generate key-to-(start, stop) table of contents."""
        starts, stops = [], []
        self._file.seek(0)
        next_pos = 0
        while True:
            line_pos = next_pos
            line = self._file.readline()
            next_pos = self._file.tell()
            if line.startswith('\001\001\001\001' + os.linesep):
                starts.append(next_pos)
                while True:
                    line_pos = next_pos
                    line = self._file.readline()
                    next_pos = self._file.tell()
                    if line == '\001\001\001\001' + os.linesep:
                        stops.append(line_pos - len(os.linesep))
                        break
                    elif line == '':
                        stops.append(line_pos)
                        break
            elif line == '':
                break
        self._toc = dict(enumerate(zip(starts, stops)))
        self._next_key = len(self._toc)
        self._file.seek(0, 2)
        self._file_length = self._file.tell()


class MH(Mailbox):
    """An MH mailbox."""

    def __init__(self, path, factory=None, create=True):
        """Initialize an MH instance."""
        Mailbox.__init__(self, path, factory, create)
        if not os.path.exists(self._path):
            if create:
                os.mkdir(self._path, 0700)
                os.close(os.open(os.path.join(self._path, '.mh_sequences'),
                                 os.O_CREAT | os.O_EXCL | os.O_WRONLY, 0600))
            else:
                raise NoSuchMailboxError(self._path)
        self._locked = False

    def add(self, message):
        """Add message and return assigned key."""
        keys = self.keys()
        if len(keys) == 0:
            new_key = 1
        else:
            new_key = max(keys) + 1
        new_path = os.path.join(self._path, str(new_key))
        f = _create_carefully(new_path)
        closed = False
        try:
            if self._locked:
                _lock_file(f)
            try:
                try:
                    self._dump_message(message, f)
                except BaseException:
                    # Unlock and close so it can be deleted on Windows
                    if self._locked:
                        _unlock_file(f)
                    _sync_close(f)
                    closed = True
                    os.remove(new_path)
                    raise
                if isinstance(message, MHMessage):
                    self._dump_sequences(message, new_key)
            finally:
                if self._locked:
                    _unlock_file(f)
        finally:
            if not closed:
                _sync_close(f)
        return new_key

    def remove(self, key):
        """Remove the keyed message; raise KeyError if it doesn't exist."""
        path = os.path.join(self._path, str(key))
        try:
            f = open(path, 'rb+')
        except IOError, e:
            if e.errno == errno.ENOENT:
                raise KeyError('No message with key: %s' % key)
            else:
                raise
        else:
            f.close()
            os.remove(path)

    def __setitem__(self, key, message):
        """Replace the keyed message; raise KeyError if it doesn't exist."""
        path = os.path.join(self._path, str(key))
        try:
            f = open(path, 'rb+')
        except IOError, e:
            if e.errno == errno.ENOENT:
                raise KeyError('No message with key: %s' % key)
            else:
                raise
        try:
            if self._locked:
                _lock_file(f)
            try:
                os.close(os.open(path, os.O_WRONLY | os.O_TRUNC))
                self._dump_message(message, f)
                if isinstance(message, MHMessage):
                    self._dump_sequences(message, key)
            finally:
                if self._locked:
                    _unlock_file(f)
        finally:
            _sync_close(f)

    def get_message(self, key):
        """Return a Message representation or raise a KeyError."""
        try:
            if self._locked:
                f = open(os.path.join(self._path, str(key)), 'r+')
            else:
                f = open(os.path.join(self._path, str(key)), 'r')
        except IOError, e:
            if e.errno == errno.ENOENT:
                raise KeyError('No message with key: %s' % key)
            else:
                raise
        try:
            if self._locked:
                _lock_file(f)
            try:
                msg = MHMessage(f)
            finally:
                if self._locked:
                    _unlock_file(f)
        finally:
            f.close()
        for name, key_list in self.get_sequences().iteritems():
            if key in key_list:
                msg.add_sequence(name)
        return msg

    def get_string(self, key):
        """Return a string representation or raise a KeyError."""
        try:
            if self._locked:
                f = open(os.path.join(self._path, str(key)), 'r+')
            else:
                f = open(os.path.join(self._path, str(key)), 'r')
        except IOError, e:
            if e.errno == errno.ENOENT:
                raise KeyError('No message with key: %s' % key)
            else:
                raise
        try:
            if self._locked:
                _lock_file(f)
            try:
                return f.read()
            finally:
                if self._locked:
                    _unlock_file(f)
        finally:
            f.close()

    def get_file(self, key):
        """Return a file-like representation or raise a KeyError."""
        try:
            f = open(os.path.join(self._path, str(key)), 'rb')
        except IOError, e:
            if e.errno == errno.ENOENT:
                raise KeyError('No message with key: %s' % key)
            else:
                raise
        return _ProxyFile(f)

    def iterkeys(self):
        """Return an iterator over keys."""
        return iter(sorted(int(entry) for entry in os.listdir(self._path)
                                      if entry.isdigit()))

    def has_key(self, key):
        """Return True if the keyed message exists, False otherwise."""
        return os.path.exists(os.path.join(self._path, str(key)))

    def __len__(self):
        """Return a count of messages in the mailbox."""
        return len(list(self.iterkeys()))

    def lock(self):
        """Lock the mailbox."""
        if not self._locked:
            self._file = open(os.path.join(self._path, '.mh_sequences'), 'rb+')
            _lock_file(self._file)
            self._locked = True

    def unlock(self):
        """Unlock the mailbox if it is locked."""
        if self._locked:
            _unlock_file(self._file)
            _sync_close(self._file)
            del self._file
            self._locked = False

    def flush(self):
        """Write any pending changes to the disk."""
        return

    def close(self):
        """Flush and close the mailbox."""
        if self._locked:
            self.unlock()

    def list_folders(self):
        """Return a list of folder names."""
        result = []
        for entry in os.listdir(self._path):
            if os.path.isdir(os.path.join(self._path, entry)):
                result.append(entry)
        return result

    def get_folder(self, folder):
        """Return an MH instance for the named folder."""
        return MH(os.path.join(self._path, folder),
                  factory=self._factory, create=False)

    def add_folder(self, folder):
        """Create a folder and return an MH instance representing it."""
        return MH(os.path.join(self._path, folder),
                  factory=self._factory)

    def remove_folder(self, folder):
        """Delete the named folder, which must be empty."""
        path = os.path.join(self._path, folder)
        entries = os.listdir(path)
        if entries == ['.mh_sequences']:
            os.remove(os.path.join(path, '.mh_sequences'))
        elif entries == []:
            pass
        else:
            raise NotEmptyError('Folder not empty: %s' % self._path)
        os.rmdir(path)

    def get_sequences(self):
        """Return a name-to-key-list dictionary to define each sequence."""
        results = {}
        f = open(os.path.join(self._path, '.mh_sequences'), 'r')
        try:
            all_keys = set(self.keys())
            for line in f:
                try:
                    name, contents = line.split(':')
                    keys = set()
                    for spec in contents.split():
                        if spec.isdigit():
                            keys.add(int(spec))
                        else:
                            start, stop = (int(x) for x in spec.split('-'))
                            keys.update(range(start, stop + 1))
                    results[name] = [key for key in sorted(keys) \
                                         if key in all_keys]
                    if len(results[name]) == 0:
                        del results[name]
                except ValueError:
                    raise FormatError('Invalid sequence specification: %s' %
                                      line.rstrip())
        finally:
            f.close()
        return results

    def set_sequences(self, sequences):
        """Set sequences using the given name-to-key-list dictionary."""
        f = open(os.path.join(self._path, '.mh_sequences'), 'r+')
        try:
            os.close(os.open(f.name, os.O_WRONLY | os.O_TRUNC))
            for name, keys in sequences.iteritems():
                if len(keys) == 0:
                    continue
                f.write('%s:' % name)
                prev = None
                completing = False
                for key in sorted(set(keys)):
                    if key - 1 == prev:
                        if not completing:
                            completing = True
                            f.write('-')
                    elif completing:
                        completing = False
                        f.write('%s %s' % (prev, key))
                    else:
                        f.write(' %s' % key)
                    prev = key
                if completing:
                    f.write(str(prev) + '\n')
                else:
                    f.write('\n')
        finally:
            _sync_close(f)

    def pack(self):
        """Re-name messages to eliminate numbering gaps. Invalidates keys."""
        sequences = self.get_sequences()
        prev = 0
        changes = []
        for key in self.iterkeys():
            if key - 1 != prev:
                changes.append((key, prev + 1))
                if hasattr(os, 'link'):
                    os.link(os.path.join(self._path, str(key)),
                            os.path.join(self._path, str(prev + 1)))
                    os.unlink(os.path.join(self._path, str(key)))
                else:
                    os.rename(os.path.join(self._path, str(key)),
                              os.path.join(self._path, str(prev + 1)))
            prev += 1
        self._next_key = prev + 1
        if len(changes) == 0:
            return
        for name, key_list in sequences.items():
            for old, new in changes:
                if old in key_list:
                    key_list[key_list.index(old)] = new
        self.set_sequences(sequences)

    def _dump_sequences(self, message, key):
        """Inspect a new MHMessage and update sequences appropriately."""
        pending_sequences = message.get_sequences()
        all_sequences = self.get_sequences()
        for name, key_list in all_sequences.iteritems():
            if name in pending_sequences:
                key_list.append(key)
            elif key in key_list:
                del key_list[key_list.index(key)]
        for sequence in pending_sequences:
            if sequence not in all_sequences:
                all_sequences[sequence] = [key]
        self.set_sequences(all_sequences)


class Babyl(_singlefileMailbox):
    """An Rmail-style Babyl mailbox."""

    _special_labels = frozenset(('unseen', 'deleted', 'filed', 'answered',
                                 'forwarded', 'edited', 'resent'))

    def __init__(self, path, factory=None, create=True):
        """Initialize a Babyl mailbox."""
        _singlefileMailbox.__init__(self, path, factory, create)
        self._labels = {}

    def add(self, message):
        """Add message and return assigned key."""
        key = _singlefileMailbox.add(self, message)
        if isinstance(message, BabylMessage):
            self._labels[key] = message.get_labels()
        return key

    def remove(self, key):
        """Remove the keyed message; raise KeyError if it doesn't exist."""
        _singlefileMailbox.remove(self, key)
        if key in self._labels:
            del self._labels[key]

    def __setitem__(self, key, message):
        """Replace the keyed message; raise KeyError if it doesn't exist."""
        _singlefileMailbox.__setitem__(self, key, message)
        if isinstance(message, BabylMessage):
            self._labels[key] = message.get_labels()

    def get_message(self, key):
        """Return a Message representation or raise a KeyError."""
        start, stop = self._lookup(key)
        self._file.seek(start)
        self._file.readline()   # Skip '1,' line specifying labels.
        original_headers = StringIO.StringIO()
        while True:
            line = self._file.readline()
            if line == '*** EOOH ***' + os.linesep or line == '':
                break
            original_headers.write(line.replace(os.linesep, '\n'))
        visible_headers = StringIO.StringIO()
        while True:
            line = self._file.readline()
            if line == os.linesep or line == '':
                break
            visible_headers.write(line.replace(os.linesep, '\n'))
        body = self._file.read(stop - self._file.tell()).replace(os.linesep,
                                                                 '\n')
        msg = BabylMessage(original_headers.getvalue() + body)
        msg.set_visible(visible_headers.getvalue())
        if key in self._labels:
            msg.set_labels(self._labels[key])
        return msg

    def get_string(self, key):
        """Return a string representation or raise a KeyError."""
        start, stop = self._lookup(key)
        self._file.seek(start)
        self._file.readline()   # Skip '1,' line specifying labels.
        original_headers = StringIO.StringIO()
        while True:
            line = self._file.readline()
            if line == '*** EOOH ***' + os.linesep or line == '':
                break
            original_headers.write(line.replace(os.linesep, '\n'))
        while True:
            line = self._file.readline()
            if line == os.linesep or line == '':
                break
        return original_headers.getvalue() + \
               self._file.read(stop - self._file.tell()).replace(os.linesep,
                                                                 '\n')

    def get_file(self, key):
        """Return a file-like representation or raise a KeyError."""
        return StringIO.StringIO(self.get_string(key).replace('\n',
                                                              os.linesep))

    def get_labels(self):
        """Return a list of user-defined labels in the mailbox."""
        self._lookup()
        labels = set()
        for label_list in self._labels.values():
            labels.update(label_list)
        labels.difference_update(self._special_labels)
        return list(labels)

    def _generate_toc(self):
        """Generate key-to-(start, stop) table of contents."""
        starts, stops = [], []
        self._file.seek(0)
        next_pos = 0
        label_lists = []
        while True:
            line_pos = next_pos
            line = self._file.readline()
            next_pos = self._file.tell()
            if line == '\037\014' + os.linesep:
                if len(stops) < len(starts):
                    stops.append(line_pos - len(os.linesep))
                starts.append(next_pos)
                labels = [label.strip() for label
                                        in self._file.readline()[1:].split(',')
                                        if label.strip() != '']
                label_lists.append(labels)
            elif line == '\037' or line == '\037' + os.linesep:
                if len(stops) < len(starts):
                    stops.append(line_pos - len(os.linesep))
            elif line == '':
                stops.append(line_pos - len(os.linesep))
                break
        self._toc = dict(enumerate(zip(starts, stops)))
        self._labels = dict(enumerate(label_lists))
        self._next_key = len(self._toc)
        self._file.seek(0, 2)
        self._file_length = self._file.tell()

    def _pre_mailbox_hook(self, f):
        """Called before writing the mailbox to file f."""
        f.write('BABYL OPTIONS:%sVersion: 5%sLabels:%s%s\037' %
                (os.linesep, os.linesep, ','.join(self.get_labels()),
                 os.linesep))

    def _pre_message_hook(self, f):
        """Called before writing each message to file f."""
        f.write('\014' + os.linesep)

    def _post_message_hook(self, f):
        """Called after writing each message to file f."""
        f.write(os.linesep + '\037')

    def _install_message(self, message):
        """Write message contents and return (start, stop)."""
        start = self._file.tell()
        if isinstance(message, BabylMessage):
            special_labels = []
            labels = []
            for label in message.get_labels():
                if label in self._special_labels:
                    special_labels.append(label)
                else:
                    labels.append(label)
            self._file.write('1')
            for label in special_labels:
                self._file.write(', ' + label)
            self._file.write(',,')
            for label in labels:
                self._file.write(' ' + label + ',')
            self._file.write(os.linesep)
        else:
            self._file.write('1,,' + os.linesep)
        if isinstance(message, email.message.Message):
            orig_buffer = StringIO.StringIO()
            orig_generator = email.generator.Generator(orig_buffer, False, 0)
            orig_generator.flatten(message)
            orig_buffer.seek(0)
            while True:
                line = orig_buffer.readline()
                self._file.write(line.replace('\n', os.linesep))
                if line == '\n' or line == '':
                    break
            self._file.write('*** EOOH ***' + os.linesep)
            if isinstance(message, BabylMessage):
                vis_buffer = StringIO.StringIO()
                vis_generator = email.generator.Generator(vis_buffer, False, 0)
                vis_generator.flatten(message.get_visible())
                while True:
                    line = vis_buffer.readline()
                    self._file.write(line.replace('\n', os.linesep))
                    if line == '\n' or line == '':
                        break
            else:
                orig_buffer.seek(0)
                while True:
                    line = orig_buffer.readline()
                    self._file.write(line.replace('\n', os.linesep))
                    if line == '\n' or line == '':
                        break
            while True:
                buffer = orig_buffer.read(4096) # Buffer size is arbitrary.
                if buffer == '':
                    break
                self._file.write(buffer.replace('\n', os.linesep))
        elif isinstance(message, str):
            body_start = message.find('\n\n') + 2
            if body_start - 2 != -1:
                self._file.write(message[:body_start].replace('\n',
                                                              os.linesep))
                self._file.write('*** EOOH ***' + os.linesep)
                self._file.write(message[:body_start].replace('\n',
                                                              os.linesep))
                self._file.write(message[body_start:].replace('\n',
                                                              os.linesep))
            else:
                self._file.write('*** EOOH ***' + os.linesep + os.linesep)
                self._file.write(message.replace('\n', os.linesep))
        elif hasattr(message, 'readline'):
            original_pos = message.tell()
            first_pass = True
            while True:
                line = message.readline()
                self._file.write(line.replace('\n', os.linesep))
                if line == '\n' or line == '':
                    if first_pass:
                        first_pass = False
                        self._file.write('*** EOOH ***' + os.linesep)
                        message.seek(original_pos)
                    else:
                        break
            while True:
                buffer = message.read(4096)     # Buffer size is arbitrary.
                if buffer == '':
                    break
                self._file.write(buffer.replace('\n', os.linesep))
        else:
            raise TypeError('Invalid message type: %s' % type(message))
        stop = self._file.tell()
        return (start, stop)


class Message(email.message.Message):
    """Message with mailbox-format-specific properties."""

    def __init__(self, message=None):
        """Initialize a Message instance."""
        if isinstance(message, email.message.Message):
            self._become_message(copy.deepcopy(message))
            if isinstance(message, Message):
                message._explain_to(self)
        elif isinstance(message, str):
            self._become_message(email.message_from_string(message))
        elif hasattr(message, "read"):
            self._become_message(email.message_from_file(message))
        elif message is None:
            email.message.Message.__init__(self)
        else:
            raise TypeError('Invalid message type: %s' % type(message))

    def _become_message(self, message):
        """Assume the non-format-specific state of message."""
        for name in ('_headers', '_unixfrom', '_payload', '_charset',
                     'preamble', 'epilogue', 'defects', '_default_type'):
            self.__dict__[name] = message.__dict__[name]

    def _explain_to(self, message):
        """Copy format-specific state to message insofar as possible."""
        if isinstance(message, Message):
            return  # There's nothing format-specific to explain.
        else:
            raise TypeError('Cannot convert to specified type')


class MaildirMessage(Message):
    """Message with Maildir-specific properties."""

    def __init__(self, message=None):
        """Initialize a MaildirMessage instance."""
        self._subdir = 'new'
        self._info = ''
        self._date = time.time()
        Message.__init__(self, message)

    def get_subdir(self):
        """Return 'new' or 'cur'."""
        return self._subdir

    def set_subdir(self, subdir):
        """Set subdir to 'new' or 'cur'."""
        if subdir == 'new' or subdir == 'cur':
            self._subdir = subdir
        else:
            raise ValueError("subdir must be 'new' or 'cur': %s" % subdir)

    def get_flags(self):
        """Return as a string the flags that are set."""
        if self._info.startswith('2,'):
            return self._info[2:]
        else:
            return ''

    def set_flags(self, flags):
        """Set the given flags and unset all others."""
        self._info = '2,' + ''.join(sorted(flags))

    def add_flag(self, flag):
        """Set the given flag(s) without changing others."""
        self.set_flags(''.join(set(self.get_flags()) | set(flag)))

    def remove_flag(self, flag):
        """Unset the given string flag(s) without changing others."""
        if self.get_flags() != '':
            self.set_flags(''.join(set(self.get_flags()) - set(flag)))

    def get_date(self):
        """Return delivery date of message, in seconds since the epoch."""
        return self._date

    def set_date(self, date):
        """Set delivery date of message, in seconds since the epoch."""
        try:
            self._date = float(date)
        except ValueError:
            raise TypeError("can't convert to float: %s" % date)

    def get_info(self):
        """Get the message's "info" as a string."""
        return self._info

    def set_info(self, info):
        """Set the message's "info" string."""
        if isinstance(info, str):
            self._info = info
        else:
            raise TypeError('info must be a string: %s' % type(info))

    def _explain_to(self, message):
        """Copy Maildir-specific state to message insofar as possible."""
        if isinstance(message, MaildirMessage):
            message.set_flags(self.get_flags())
            message.set_subdir(self.get_subdir())
            message.set_date(self.get_date())
        elif isinstance(message, _mboxMMDFMessage):
            flags = set(self.get_flags())
            if 'S' in flags:
                message.add_flag('R')
            if self.get_subdir() == 'cur':
                message.add_flag('O')
            if 'T' in flags:
                message.add_flag('D')
            if 'F' in flags:
                message.add_flag('F')
            if 'R' in flags:
                message.add_flag('A')
            message.set_from('MAILER-DAEMON', time.gmtime(self.get_date()))
        elif isinstance(message, MHMessage):
            flags = set(self.get_flags())
            if 'S' not in flags:
                message.add_sequence('unseen')
            if 'R' in flags:
                message.add_sequence('replied')
            if 'F' in flags:
                message.add_sequence('flagged')
        elif isinstance(message, BabylMessage):
            flags = set(self.get_flags())
            if 'S' not in flags:
                message.add_label('unseen')
            if 'T' in flags:
                message.add_label('deleted')
            if 'R' in flags:
                message.add_label('answered')
            if 'P' in flags:
                message.add_label('forwarded')
        elif isinstance(message, Message):
            pass
        else:
            raise TypeError('Cannot convert to specified type: %s' %
                            type(message))


class _mboxMMDFMessage(Message):
    """Message with mbox- or MMDF-specific properties."""

    def __init__(self, message=None):
        """Initialize an mboxMMDFMessage instance."""
        self.set_from('MAILER-DAEMON', True)
        if isinstance(message, email.message.Message):
            unixfrom = message.get_unixfrom()
            if unixfrom is not None and unixfrom.startswith('From '):
                self.set_from(unixfrom[5:])
        Message.__init__(self, message)

    def get_from(self):
        """Return contents of "From " line."""
        return self._from

    def set_from(self, from_, time_=None):
        """Set "From " line, formatting and appending time_ if specified."""
        if time_ is not None:
            if time_ is True:
                time_ = time.gmtime()
            from_ += ' ' + time.asctime(time_)
        self._from = from_

    def get_flags(self):
        """Return as a string the flags that are set."""
        return self.get('Status', '') + self.get('X-Status', '')

    def set_flags(self, flags):
        """Set the given flags and unset all others."""
        flags = set(flags)
        status_flags, xstatus_flags = '', ''
        for flag in ('R', 'O'):
            if flag in flags:
                status_flags += flag
                flags.remove(flag)
        for flag in ('D', 'F', 'A'):
            if flag in flags:
                xstatus_flags += flag
                flags.remove(flag)
        xstatus_flags += ''.join(sorted(flags))
        try:
            self.replace_header('Status', status_flags)
        except KeyError:
            self.add_header('Status', status_flags)
        try:
            self.replace_header('X-Status', xstatus_flags)
        except KeyError:
            self.add_header('X-Status', xstatus_flags)

    def add_flag(self, flag):
        """Set the given flag(s) without changing others."""
        self.set_flags(''.join(set(self.get_flags()) | set(flag)))

    def remove_flag(self, flag):
        """Unset the given string flag(s) without changing others."""
        if 'Status' in self or 'X-Status' in self:
            self.set_flags(''.join(set(self.get_flags()) - set(flag)))

    def _explain_to(self, message):
        """Copy mbox- or MMDF-specific state to message insofar as possible."""
        if isinstance(message, MaildirMessage):
            flags = set(self.get_flags())
            if 'O' in flags:
                message.set_subdir('cur')
            if 'F' in flags:
                message.add_flag('F')
            if 'A' in flags:
                message.add_flag('R')
            if 'R' in flags:
                message.add_flag('S')
            if 'D' in flags:
                message.add_flag('T')
            del message['status']
            del message['x-status']
            maybe_date = ' '.join(self.get_from().split()[-5:])
            try:
                message.set_date(calendar.timegm(time.strptime(maybe_date,
                                                      '%a %b %d %H:%M:%S %Y')))
            except (ValueError, OverflowError):
                pass
        elif isinstance(message, _mboxMMDFMessage):
            message.set_flags(self.get_flags())
            message.set_from(self.get_from())
        elif isinstance(message, MHMessage):
            flags = set(self.get_flags())
            if 'R' not in flags:
                message.add_sequence('unseen')
            if 'A' in flags:
                message.add_sequence('replied')
            if 'F' in flags:
                message.add_sequence('flagged')
            del message['status']
            del message['x-status']
        elif isinstance(message, BabylMessage):
            flags = set(self.get_flags())
            if 'R' not in flags:
                message.add_label('unseen')
            if 'D' in flags:
                message.add_label('deleted')
            if 'A' in flags:
                message.add_label('answered')
            del message['status']
            del message['x-status']
        elif isinstance(message, Message):
            pass
        else:
            raise TypeError('Cannot convert to specified type: %s' %
                            type(message))


class mboxMessage(_mboxMMDFMessage):
    """Message with mbox-specific properties."""


class MHMessage(Message):
    """Message with MH-specific properties."""

    def __init__(self, message=None):
        """Initialize an MHMessage instance."""
        self._sequences = []
        Message.__init__(self, message)

    def get_sequences(self):
        """Return a list of sequences that include the message."""
        return self._sequences[:]

    def set_sequences(self, sequences):
        """Set the list of sequences that include the message."""
        self._sequences = list(sequences)

    def add_sequence(self, sequence):
        """Add sequence to list of sequences including the message."""
        if isinstance(sequence, str):
            if not sequence in self._sequences:
                self._sequences.append(sequence)
        else:
            raise TypeError('sequence must be a string: %s' % type(sequence))

    def remove_sequence(self, sequence):
        """Remove sequence from the list of sequences including the message."""
        try:
            self._sequences.remove(sequence)
        except ValueError:
            pass

    def _explain_to(self, message):
        """Copy MH-specific state to message insofar as possible."""
        if isinstance(message, MaildirMessage):
            sequences = set(self.get_sequences())
            if 'unseen' in sequences:
                message.set_subdir('cur')
            else:
                message.set_subdir('cur')
                message.add_flag('S')
            if 'flagged' in sequences:
                message.add_flag('F')
            if 'replied' in sequences:
                message.add_flag('R')
        elif isinstance(message, _mboxMMDFMessage):
            sequences = set(self.get_sequences())
            if 'unseen' not in sequences:
                message.add_flag('RO')
            else:
                message.add_flag('O')
            if 'flagged' in sequences:
                message.add_flag('F')
            if 'replied' in sequences:
                message.add_flag('A')
        elif isinstance(message, MHMessage):
            for sequence in self.get_sequences():
                message.add_sequence(sequence)
        elif isinstance(message, BabylMessage):
            sequences = set(self.get_sequences())
            if 'unseen' in sequences:
                message.add_label('unseen')
            if 'replied' in sequences:
                message.add_label('answered')
        elif isinstance(message, Message):
            pass
        else:
            raise TypeError('Cannot convert to specified type: %s' %
                            type(message))


class BabylMessage(Message):
    """Message with Babyl-specific properties."""

    def __init__(self, message=None):
        """Initialize a BabylMessage instance."""
        self._labels = []
        self._visible = Message()
        Message.__init__(self, message)

    def get_labels(self):
        """Return a list of labels on the message."""
        return self._labels[:]

    def set_labels(self, labels):
        """Set the list of labels on the message."""
        self._labels = list(labels)

    def add_label(self, label):
        """Add label to list of labels on the message."""
        if isinstance(label, str):
            if label not in self._labels:
                self._labels.append(label)
        else:
            raise TypeError('label must be a string: %s' % type(label))

    def remove_label(self, label):
        """Remove label from the list of labels on the message."""
        try:
            self._labels.remove(label)
        except ValueError:
            pass

    def get_visible(self):
        """Return a Message representation of visible headers."""
        return Message(self._visible)

    def set_visible(self, visible):
        """Set the Message representation of visible headers."""
        self._visible = Message(visible)

    def update_visible(self):
        """Update and/or sensibly generate a set of visible headers."""
        for header in self._visible.keys():
            if header in self:
                self._visible.replace_header(header, self[header])
            else:
                del self._visible[header]
        for header in ('Date', 'From', 'Reply-To', 'To', 'CC', 'Subject'):
            if header in self and header not in self._visible:
                self._visible[header] = self[header]

    def _explain_to(self, message):
        """Copy Babyl-specific state to message insofar as possible."""
        if isinstance(message, MaildirMessage):
            labels = set(self.get_labels())
            if 'unseen' in labels:
                message.set_subdir('cur')
            else:
                message.set_subdir('cur')
                message.add_flag('S')
            if 'forwarded' in labels or 'resent' in labels:
                message.add_flag('P')
            if 'answered' in labels:
                message.add_flag('R')
            if 'deleted' in labels:
                message.add_flag('T')
        elif isinstance(message, _mboxMMDFMessage):
            labels = set(self.get_labels())
            if 'unseen' not in labels:
                message.add_flag('RO')
            else:
                message.add_flag('O')
            if 'deleted' in labels:
                message.add_flag('D')
            if 'answered' in labels:
                message.add_flag('A')
        elif isinstance(message, MHMessage):
            labels = set(self.get_labels())
            if 'unseen' in labels:
                message.add_sequence('unseen')
            if 'answered' in labels:
                message.add_sequence('replied')
        elif isinstance(message, BabylMessage):
            message.set_visible(self.get_visible())
            for label in self.get_labels():
                message.add_label(label)
        elif isinstance(message, Message):
            pass
        else:
            raise TypeError('Cannot convert to specified type: %s' %
                            type(message))


class MMDFMessage(_mboxMMDFMessage):
    """Message with MMDF-specific properties."""


class _ProxyFile:
    """A read-only wrapper of a file."""

    def __init__(self, f, pos=None):
        """Initialize a _ProxyFile."""
        self._file = f
        if pos is None:
            self._pos = f.tell()
        else:
            self._pos = pos

    def read(self, size=None):
        """Read bytes."""
        return self._read(size, self._file.read)

    def readline(self, size=None):
        """Read a line."""
        return self._read(size, self._file.readline)

    def readlines(self, sizehint=None):
        """Read multiple lines."""
        result = []
        for line in self:
            result.append(line)
            if sizehint is not None:
                sizehint -= len(line)
                if sizehint <= 0:
                    break
        return result

    def __iter__(self):
        """Iterate over lines."""
        return iter(self.readline, "")

    def tell(self):
        """Return the position."""
        return self._pos

    def seek(self, offset, whence=0):
        """Change position."""
        if whence == 1:
            self._file.seek(self._pos)
        self._file.seek(offset, whence)
        self._pos = self._file.tell()

    def close(self):
        """Close the file."""
        if hasattr(self, '_file'):
            if hasattr(self._file, 'close'):
                self._file.close()
            del self._file

    def _read(self, size, read_method):
        """Read size bytes using read_method."""
        if size is None:
            size = -1
        self._file.seek(self._pos)
        result = read_method(size)
        self._pos = self._file.tell()
        return result


class _PartialFile(_ProxyFile):
    """A read-only wrapper of part of a file."""

    def __init__(self, f, start=None, stop=None):
        """Initialize a _PartialFile."""
        _ProxyFile.__init__(self, f, start)
        self._start = start
        self._stop = stop

    def tell(self):
        """Return the position with respect to start."""
        return _ProxyFile.tell(self) - self._start

    def seek(self, offset, whence=0):
        """Change position, possibly with respect to start or stop."""
        if whence == 0:
            self._pos = self._start
            whence = 1
        elif whence == 2:
            self._pos = self._stop
            whence = 1
        _ProxyFile.seek(self, offset, whence)

    def _read(self, size, read_method):
        """Read size bytes using read_method, honoring start and stop."""
        remaining = self._stop - self._pos
        if remaining <= 0:
            return ''
        if size is None or size < 0 or size > remaining:
            size = remaining
        return _ProxyFile._read(self, size, read_method)

    def close(self):
        # do *not* close the underlying file object for partial files,
        # since it's global to the mailbox object
        if hasattr(self, '_file'):
            del self._file


def _lock_file(f, dotlock=True):
    """Lock file f using lockf and dot locking."""
    dotlock_done = False
    try:
        if fcntl:
            try:
                fcntl.lockf(f, fcntl.LOCK_EX | fcntl.LOCK_NB)
            except IOError, e:
                if e.errno in (errno.EAGAIN, errno.EACCES, errno.EROFS):
                    raise ExternalClashError('lockf: lock unavailable: %s' %
                                             f.name)
                else:
                    raise
        if dotlock:
            try:
                pre_lock = _create_temporary(f.name + '.lock')
                pre_lock.close()
            except IOError, e:
                if e.errno in (errno.EACCES, errno.EROFS):
                    return  # Without write access, just skip dotlocking.
                else:
                    raise
            try:
                if hasattr(os, 'link'):
                    os.link(pre_lock.name, f.name + '.lock')
                    dotlock_done = True
                    os.unlink(pre_lock.name)
                else:
                    os.rename(pre_lock.name, f.name + '.lock')
                    dotlock_done = True
            except OSError, e:
                if e.errno == errno.EEXIST or \
                  (os.name == 'os2' and e.errno == errno.EACCES):
                    os.remove(pre_lock.name)
                    raise ExternalClashError('dot lock unavailable: %s' %
                                             f.name)
                else:
                    raise
    except:
        if fcntl:
            fcntl.lockf(f, fcntl.LOCK_UN)
        if dotlock_done:
            os.remove(f.name + '.lock')
        raise

def _unlock_file(f):
    """Unlock file f using lockf and dot locking."""
    if fcntl:
        fcntl.lockf(f, fcntl.LOCK_UN)
    if os.path.exists(f.name + '.lock'):
        os.remove(f.name + '.lock')

def _create_carefully(path):
    """Create a file if it doesn't exist and open for reading and writing."""
    fd = os.open(path, os.O_CREAT | os.O_EXCL | os.O_RDWR, 0666)
    try:
        return open(path, 'rb+')
    finally:
        os.close(fd)

def _create_temporary(path):
    """Create a temp file based on path and open for reading and writing."""
    return _create_carefully('%s.%s.%s.%s' % (path, int(time.time()),
                                              socket.gethostname(),
                                              os.getpid()))

def _sync_flush(f):
    """Ensure changes to file f are physically on disk."""
    f.flush()
    if hasattr(os, 'fsync'):
        os.fsync(f.fileno())

def _sync_close(f):
    """Close file f, ensuring all changes are physically on disk."""
    _sync_flush(f)
    f.close()

## Start: classes from the original module (for backward compatibility).

# Note that the Maildir class, whose name is unchanged, itself offers a next()
# method for backward compatibility.

class _Mailbox:

    def __init__(self, fp, factory=rfc822.Message):
        self.fp = fp
        self.seekp = 0
        self.factory = factory

    def __iter__(self):
        return iter(self.next, None)

    def next(self):
        while 1:
            self.fp.seek(self.seekp)
            try:
                self._search_start()
            except EOFError:
                self.seekp = self.fp.tell()
                return None
            start = self.fp.tell()
            self._search_end()
            self.seekp = stop = self.fp.tell()
            if start != stop:
                break
        return self.factory(_PartialFile(self.fp, start, stop))

# Recommended to use PortableUnixMailbox instead!
class UnixMailbox(_Mailbox):

    def _search_start(self):
        while 1:
            pos = self.fp.tell()
            line = self.fp.readline()
            if not line:
                raise EOFError
            if line[:5] == 'From ' and self._isrealfromline(line):
                self.fp.seek(pos)
                return

    def _search_end(self):
        self.fp.readline()      # Throw away header line
        while 1:
            pos = self.fp.tell()
            line = self.fp.readline()
            if not line:
                return
            if line[:5] == 'From ' and self._isrealfromline(line):
                self.fp.seek(pos)
                return

    # An overridable mechanism to test for From-line-ness.  You can either
    # specify a different regular expression or define a whole new
    # _isrealfromline() method.  Note that this only gets called for lines
    # starting with the 5 characters "From ".
    #
    # BAW: According to
    #http://home.netscape.com/eng/mozilla/2.0/relnotes/demo/content-length.html
    # the only portable, reliable way to find message delimiters in a BSD (i.e
    # Unix mailbox) style folder is to search for "\n\nFrom .*\n", or at the
    # beginning of the file, "^From .*\n".  While _fromlinepattern below seems
    # like a good idea, in practice, there are too many variations for more
    # strict parsing of the line to be completely accurate.
    #
    # _strict_isrealfromline() is the old version which tries to do stricter
    # parsing of the From_ line.  _portable_isrealfromline() simply returns
    # true, since it's never called if the line doesn't already start with
    # "From ".
    #
    # This algorithm, and the way it interacts with _search_start() and
    # _search_end() may not be completely correct, because it doesn't check
    # that the two characters preceding "From " are \n\n or the beginning of
    # the file.  Fixing this would require a more extensive rewrite than is
    # necessary.  For convenience, we've added a PortableUnixMailbox class
    # which does no checking of the format of the 'From' line.

    _fromlinepattern = (r"From \s*[^\s]+\s+\w\w\w\s+\w\w\w\s+\d?\d\s+"
                        r"\d?\d:\d\d(:\d\d)?(\s+[^\s]+)?\s+\d\d\d\d\s*"
                        r"[^\s]*\s*"
                        "$")
    _regexp = None

    def _strict_isrealfromline(self, line):
        if not self._regexp:
            import re
            self._regexp = re.compile(self._fromlinepattern)
        return self._regexp.match(line)

    def _portable_isrealfromline(self, line):
        return True

    _isrealfromline = _strict_isrealfromline


class PortableUnixMailbox(UnixMailbox):
    _isrealfromline = UnixMailbox._portable_isrealfromline


class MmdfMailbox(_Mailbox):

    def _search_start(self):
        while 1:
            line = self.fp.readline()
            if not line:
                raise EOFError
            if line[:5] == '\001\001\001\001\n':
                return

    def _search_end(self):
        while 1:
            pos = self.fp.tell()
            line = self.fp.readline()
            if not line:
                return
            if line == '\001\001\001\001\n':
                self.fp.seek(pos)
                return


class MHMailbox:

    def __init__(self, dirname, factory=rfc822.Message):
        import re
        pat = re.compile('^[1-9][0-9]*$')
        self.dirname = dirname
        # the three following lines could be combined into:
        # list = map(long, filter(pat.match, os.listdir(self.dirname)))
        list = os.listdir(self.dirname)
        list = filter(pat.match, list)
        list = map(long, list)
        list.sort()
        # This only works in Python 1.6 or later;
        # before that str() added 'L':
        self.boxes = map(str, list)
        self.boxes.reverse()
        self.factory = factory

    def __iter__(self):
        return iter(self.next, None)

    def next(self):
        if not self.boxes:
            return None
        fn = self.boxes.pop()
        fp = open(os.path.join(self.dirname, fn))
        msg = self.factory(fp)
        try:
            msg._mh_msgno = fn
        except (AttributeError, TypeError):
            pass
        return msg


class BabylMailbox(_Mailbox):

    def _search_start(self):
        while 1:
            line = self.fp.readline()
            if not line:
                raise EOFError
            if line == '*** EOOH ***\n':
                return

    def _search_end(self):
        while 1:
            pos = self.fp.tell()
            line = self.fp.readline()
            if not line:
                return
            if line == '\037\014\n' or line == '\037':
                self.fp.seek(pos)
                return

## End: classes from the original module (for backward compatibility).


class Error(Exception):
    """Raised for module-specific errors."""

class NoSuchMailboxError(Error):
    """The specified mailbox does not exist and won't be created."""

class NotEmptyError(Error):
    """The specified mailbox is not empty and deletion was requested."""

class ExternalClashError(Error):
    """Another process caused an action to fail."""

class FormatError(Error):
    """A file appears to have an invalid format."""
N4m3
5!z3
L45t M0d!f!3d
0wn3r / Gr0up
P3Rm!55!0n5
0pt!0n5
..
--
December 26 2023 06:45:21
root / root
0755
bsddb
--
March 26 2024 06:34:32
root / root
0755
compiler
--
March 26 2024 06:34:32
root / root
0755
ctypes
--
March 26 2024 06:34:32
root / root
0755
curses
--
March 26 2024 06:34:32
root / root
0755
dist-packages
--
March 26 2024 06:34:31
root / root
0755
distutils
--
March 26 2024 06:34:32
root / root
0755
email
--
March 26 2024 06:34:32
root / root
0755
encodings
--
March 26 2024 06:34:31
root / root
0755
ensurepip
--
March 26 2024 06:34:32
root / root
0755
hotshot
--
March 26 2024 06:34:32
root / root
0755
importlib
--
March 26 2024 06:34:32
root / root
0755
json
--
March 26 2024 06:34:32
root / root
0755
lib-dynload
--
March 26 2024 06:34:31
root / root
0755
lib-tk
--
March 26 2024 06:34:32
root / root
0755
lib2to3
--
March 26 2024 06:34:32
root / root
0755
logging
--
March 26 2024 06:34:31
root / root
0755
multiprocessing
--
March 26 2024 06:34:32
root / root
0755
plat-x86_64-linux-gnu
--
March 26 2024 06:34:32
root / root
0755
pydoc_data
--
March 26 2024 06:34:32
root / root
0755
sqlite3
--
March 26 2024 06:34:32
root / root
0755
test
--
March 26 2024 06:34:32
root / root
0755
unittest
--
March 26 2024 06:34:32
root / root
0755
wsgiref
--
March 26 2024 06:34:32
root / root
0755
xml
--
March 26 2024 06:34:32
root / root
0755
BaseHTTPServer.py
22.214 KB
March 23 2024 18:55:36
root / root
0644
BaseHTTPServer.pyc
21.174 KB
March 26 2024 06:34:32
root / root
0644
Bastion.py
5.609 KB
March 23 2024 18:55:36
root / root
0644
Bastion.pyc
6.475 KB
March 26 2024 06:34:32
root / root
0644
CGIHTTPServer.py
12.782 KB
March 23 2024 18:55:36
root / root
0644
CGIHTTPServer.pyc
10.734 KB
March 26 2024 06:34:32
root / root
0644
ConfigParser.py
27.096 KB
March 23 2024 18:55:36
root / root
0644
ConfigParser.pyc
24.507 KB
March 26 2024 06:34:31
root / root
0644
Cookie.py
25.916 KB
March 23 2024 18:55:36
root / root
0644
Cookie.pyc
22.053 KB
March 26 2024 06:34:32
root / root
0644
DocXMLRPCServer.py
10.516 KB
March 23 2024 18:55:36
root / root
0644
DocXMLRPCServer.pyc
9.919 KB
March 26 2024 06:34:32
root / root
0644
HTMLParser.py
16.769 KB
March 23 2024 18:55:36
root / root
0644
HTMLParser.pyc
13.343 KB
March 26 2024 06:34:32
root / root
0644
LICENSE.txt
12.47 KB
March 23 2024 18:55:36
root / root
0644
MimeWriter.py
6.33 KB
March 23 2024 18:55:36
root / root
0644
MimeWriter.pyc
7.174 KB
March 26 2024 06:34:32
root / root
0644
Queue.py
8.376 KB
March 23 2024 18:55:36
root / root
0644
Queue.pyc
9.148 KB
March 26 2024 06:34:32
root / root
0644
SimpleHTTPServer.py
7.81 KB
March 23 2024 18:55:36
root / root
0644
SimpleHTTPServer.pyc
7.801 KB
March 26 2024 06:34:32
root / root
0644
SimpleXMLRPCServer.py
25.207 KB
March 23 2024 18:55:36
root / root
0644
SimpleXMLRPCServer.pyc
22.257 KB
March 26 2024 06:34:32
root / root
0644
SocketServer.py
23.387 KB
March 23 2024 18:55:36
root / root
0644
SocketServer.pyc
23.411 KB
March 26 2024 06:34:32
root / root
0644
StringIO.py
10.412 KB
March 23 2024 18:55:36
root / root
0644
StringIO.pyc
11.174 KB
March 26 2024 06:34:31
root / root
0644
UserDict.py
6.895 KB
March 23 2024 18:55:36
root / root
0644
UserDict.pyc
9.396 KB
March 26 2024 06:34:31
root / root
0644
UserList.py
3.559 KB
March 23 2024 18:55:36
root / root
0644
UserList.pyc
6.356 KB
March 26 2024 06:34:32
root / root
0644
UserString.py
9.46 KB
March 23 2024 18:55:36
root / root
0755
UserString.pyc
14.383 KB
March 26 2024 06:34:32
root / root
0644
_LWPCookieJar.py
6.399 KB
March 23 2024 18:55:36
root / root
0644
_LWPCookieJar.pyc
5.295 KB
March 26 2024 06:34:32
root / root
0644
_MozillaCookieJar.py
5.661 KB
March 23 2024 18:55:36
root / root
0644
_MozillaCookieJar.pyc
4.349 KB
March 26 2024 06:34:32
root / root
0644
__future__.py
4.277 KB
March 23 2024 18:55:36
root / root
0644
__future__.pyc
4.112 KB
March 26 2024 06:34:31
root / root
0644
__phello__.foo.py
0.063 KB
March 23 2024 18:55:36
root / root
0644
__phello__.foo.pyc
0.12 KB
March 26 2024 06:34:32
root / root
0644
_abcoll.py
18.183 KB
March 23 2024 18:55:36
root / root
0644
_abcoll.pyc
24.877 KB
March 26 2024 06:34:31
root / root
0644
_osx_support.py
18.652 KB
March 23 2024 18:55:36
root / root
0644
_osx_support.pyc
11.445 KB
March 26 2024 06:34:32
root / root
0644
_pyio.py
67.998 KB
March 23 2024 18:55:36
root / root
0644
_pyio.pyc
62.843 KB
March 26 2024 06:34:32
root / root
0644
_strptime.py
20.242 KB
March 23 2024 18:55:36
root / root
0644
_strptime.pyc
14.777 KB
March 26 2024 06:34:32
root / root
0644
_sysconfigdata.py
0.123 KB
March 23 2024 18:55:36
root / root
0644
_sysconfigdata.pyc
0.272 KB
March 26 2024 06:34:31
root / root
0644
_threading_local.py
7.09 KB
March 23 2024 18:55:36
root / root
0644
_threading_local.pyc
6.206 KB
March 26 2024 06:34:32
root / root
0644
_weakrefset.py
5.772 KB
March 23 2024 18:55:36
root / root
0644
_weakrefset.pyc
9.357 KB
March 26 2024 06:34:31
root / root
0644
abc.py
6.978 KB
March 23 2024 18:55:36
root / root
0644
abc.pyc
5.978 KB
March 26 2024 06:34:31
root / root
0644
aifc.py
33.769 KB
March 23 2024 18:55:36
root / root
0644
aifc.pyc
29.603 KB
March 26 2024 06:34:32
root / root
0644
antigravity.py
0.059 KB
March 23 2024 18:55:36
root / root
0644
antigravity.pyc
0.196 KB
March 26 2024 06:34:32
root / root
0644
anydbm.py
2.601 KB
March 23 2024 18:55:36
root / root
0644
anydbm.pyc
2.729 KB
March 26 2024 06:34:32
root / root
0644
argparse.egg-info
0.212 KB
March 23 2024 18:55:36
root / root
0644
argparse.py
87.137 KB
March 23 2024 18:55:36
root / root
0644
argparse.pyc
62.556 KB
March 26 2024 06:34:32
root / root
0644
ast.py
11.528 KB
March 23 2024 18:55:36
root / root
0644
ast.pyc
12.588 KB
March 26 2024 06:34:32
root / root
0644
asynchat.py
11.31 KB
March 23 2024 18:55:36
root / root
0644
asynchat.pyc
8.545 KB
March 26 2024 06:34:32
root / root
0644
asyncore.py
20.452 KB
March 23 2024 18:55:36
root / root
0644
asyncore.pyc
18.335 KB
March 26 2024 06:34:32
root / root
0644
atexit.py
1.665 KB
March 23 2024 18:55:36
root / root
0644
atexit.pyc
2.14 KB
March 26 2024 06:34:31
root / root
0644
audiodev.py
7.419 KB
March 23 2024 18:55:36
root / root
0644
audiodev.pyc
8.218 KB
March 26 2024 06:34:32
root / root
0644
base64.py
11.529 KB
March 23 2024 18:55:36
root / root
0755
base64.pyc
10.997 KB
March 26 2024 06:34:31
root / root
0644
bdb.py
21.205 KB
March 23 2024 18:55:36
root / root
0644
bdb.pyc
18.534 KB
March 26 2024 06:34:32
root / root
0644
binhex.py
14.354 KB
March 23 2024 18:55:36
root / root
0644
binhex.pyc
14.998 KB
March 26 2024 06:34:32
root / root
0644
bisect.py
2.534 KB
March 23 2024 18:55:36
root / root
0644
bisect.pyc
2.989 KB
March 26 2024 06:34:31
root / root
0644
cProfile.py
6.419 KB
March 23 2024 18:55:36
root / root
0755
cProfile.pyc
6.218 KB
March 26 2024 06:34:32
root / root
0644
calendar.py
22.836 KB
March 23 2024 18:55:36
root / root
0644
calendar.pyc
27.104 KB
March 26 2024 06:34:31
root / root
0644
cgi.py
35.479 KB
March 23 2024 18:55:36
root / root
0755
cgi.pyc
32.483 KB
March 26 2024 06:34:32
root / root
0644
cgitb.py
11.89 KB
March 23 2024 18:55:36
root / root
0644
cgitb.pyc
11.818 KB
March 26 2024 06:34:32
root / root
0644
chunk.py
5.292 KB
March 23 2024 18:55:36
root / root
0644
chunk.pyc
5.449 KB
March 26 2024 06:34:32
root / root
0644
cmd.py
14.674 KB
March 23 2024 18:55:36
root / root
0644
cmd.pyc
13.669 KB
March 26 2024 06:34:32
root / root
0644
code.py
9.95 KB
March 23 2024 18:55:36
root / root
0644
code.pyc
10.061 KB
March 26 2024 06:34:32
root / root
0644
codecs.py
35.296 KB
March 23 2024 18:55:36
root / root
0644
codecs.pyc
35.777 KB
March 26 2024 06:34:31
root / root
0644
codeop.py
5.858 KB
March 23 2024 18:55:36
root / root
0644
codeop.pyc
6.423 KB
March 26 2024 06:34:32
root / root
0644
collections.py
27.146 KB
March 23 2024 18:55:36
root / root
0644
collections.pyc
25.448 KB
March 26 2024 06:34:31
root / root
0644
colorsys.py
3.604 KB
March 23 2024 18:55:36
root / root
0644
colorsys.pyc
3.882 KB
March 26 2024 06:34:32
root / root
0644
commands.py
2.485 KB
March 23 2024 18:55:36
root / root
0644
commands.pyc
2.399 KB
March 26 2024 06:34:32
root / root
0644
compileall.py
7.581 KB
March 23 2024 18:55:36
root / root
0644
compileall.pyc
6.841 KB
March 26 2024 06:34:31
root / root
0644
contextlib.py
4.32 KB
March 23 2024 18:55:36
root / root
0644
contextlib.pyc
4.326 KB
March 26 2024 06:34:31
root / root
0644
cookielib.py
63.744 KB
March 23 2024 18:55:36
root / root
0644
cookielib.pyc
53.1 KB
March 26 2024 06:34:32
root / root
0644
copy.py
11.263 KB
March 23 2024 18:55:36
root / root
0644
copy.pyc
11.834 KB
March 26 2024 06:34:31
root / root
0644
copy_reg.py
6.811 KB
March 23 2024 18:55:36
root / root
0644
copy_reg.pyc
5.024 KB
March 26 2024 06:34:31
root / root
0644
csv.py
16.316 KB
March 23 2024 18:55:36
root / root
0644
csv.pyc
13.134 KB
March 26 2024 06:34:32
root / root
0644
dbhash.py
0.486 KB
March 23 2024 18:55:36
root / root
0644
dbhash.pyc
0.697 KB
March 26 2024 06:34:32
root / root
0644
decimal.py
216.731 KB
March 23 2024 18:55:36
root / root
0644
decimal.pyc
167.622 KB
March 26 2024 06:34:32
root / root
0644
difflib.py
80.396 KB
March 23 2024 18:55:36
root / root
0644
difflib.pyc
60.342 KB
March 26 2024 06:34:32
root / root
0644
dircache.py
1.1 KB
March 23 2024 18:55:36
root / root
0644
dircache.pyc
1.531 KB
March 26 2024 06:34:32
root / root
0644
dis.py
6.347 KB
March 23 2024 18:55:36
root / root
0644
dis.pyc
6.066 KB
March 26 2024 06:34:31
root / root
0644
doctest.py
102.632 KB
March 23 2024 18:55:36
root / root
0644
doctest.pyc
81.44 KB
March 26 2024 06:34:32
root / root
0644
dumbdbm.py
8.927 KB
March 23 2024 18:55:36
root / root
0644
dumbdbm.pyc
6.551 KB
March 26 2024 06:34:32
root / root
0644
dummy_thread.py
4.314 KB
March 23 2024 18:55:36
root / root
0644
dummy_thread.pyc
5.238 KB
March 26 2024 06:34:32
root / root
0644
dummy_threading.py
2.738 KB
March 23 2024 18:55:36
root / root
0644
dummy_threading.pyc
1.253 KB
March 26 2024 06:34:32
root / root
0644
filecmp.py
9.363 KB
March 23 2024 18:55:36
root / root
0644
filecmp.pyc
9.357 KB
March 26 2024 06:34:32
root / root
0644
fileinput.py
13.424 KB
March 23 2024 18:55:36
root / root
0644
fileinput.pyc
14.102 KB
March 26 2024 06:34:32
root / root
0644
fnmatch.py
3.237 KB
March 23 2024 18:55:36
root / root
0644
fnmatch.pyc
3.518 KB
March 26 2024 06:34:31
root / root
0644
formatter.py
14.562 KB
March 23 2024 18:55:36
root / root
0644
formatter.pyc
18.578 KB
March 26 2024 06:34:32
root / root
0644
fpformat.py
4.621 KB
March 23 2024 18:55:36
root / root
0644
fpformat.pyc
4.577 KB
March 26 2024 06:34:32
root / root
0644
fractions.py
21.865 KB
March 23 2024 18:55:36
root / root
0644
fractions.pyc
19.173 KB
March 26 2024 06:34:32
root / root
0644
ftplib.py
37.651 KB
March 23 2024 18:55:36
root / root
0644
ftplib.pyc
33.985 KB
March 26 2024 06:34:32
root / root
0644
functools.py
4.693 KB
March 23 2024 18:55:36
root / root
0644
functools.pyc
6.415 KB
March 26 2024 06:34:31
root / root
0644
genericpath.py
3.126 KB
March 23 2024 18:55:36
root / root
0644
genericpath.pyc
3.413 KB
March 26 2024 06:34:31
root / root
0644
getopt.py
7.147 KB
March 23 2024 18:55:36
root / root
0644
getopt.pyc
6.479 KB
March 26 2024 06:34:31
root / root
0644
getpass.py
5.433 KB
March 23 2024 18:55:36
root / root
0644
getpass.pyc
4.619 KB
March 26 2024 06:34:32
root / root
0644
gettext.py
22.059 KB
March 23 2024 18:55:36
root / root
0644
gettext.pyc
17.447 KB
March 26 2024 06:34:32
root / root
0644
glob.py
3.041 KB
March 23 2024 18:55:36
root / root
0644
glob.pyc
2.858 KB
March 26 2024 06:34:31
root / root
0644
gzip.py
18.582 KB
March 23 2024 18:55:36
root / root
0644
gzip.pyc
14.82 KB
March 26 2024 06:34:32
root / root
0644
hashlib.py
7.658 KB
March 23 2024 18:55:36
root / root
0644
hashlib.pyc
6.729 KB
March 26 2024 06:34:31
root / root
0644
heapq.py
17.866 KB
March 23 2024 18:55:36
root / root
0644
heapq.pyc
14.188 KB
March 26 2024 06:34:31
root / root
0644
hmac.py
4.48 KB
March 23 2024 18:55:36
root / root
0644
hmac.pyc
4.416 KB
March 26 2024 06:34:32
root / root
0644
htmlentitydefs.py
17.633 KB
March 23 2024 18:55:36
root / root
0644
htmlentitydefs.pyc
6.216 KB
March 26 2024 06:34:32
root / root
0644
htmllib.py
12.567 KB
March 23 2024 18:55:36
root / root
0644
htmllib.pyc
19.655 KB
March 26 2024 06:34:32
root / root
0644
httplib.py
51.304 KB
March 23 2024 18:55:36
root / root
0644
httplib.pyc
36.845 KB
March 26 2024 06:34:32
root / root
0644
ihooks.py
18.541 KB
March 23 2024 18:55:36
root / root
0644
ihooks.pyc
20.736 KB
March 26 2024 06:34:32
root / root
0644
imaplib.py
47.232 KB
March 23 2024 18:55:36
root / root
0644
imaplib.pyc
43.767 KB
March 26 2024 06:34:32
root / root
0644
imghdr.py
3.458 KB
March 23 2024 18:55:36
root / root
0644
imghdr.pyc
4.693 KB
March 26 2024 06:34:32
root / root
0644
imputil.py
25.16 KB
March 23 2024 18:55:36
root / root
0644
imputil.pyc
15.183 KB
March 26 2024 06:34:32
root / root
0644
inspect.py
42 KB
March 23 2024 18:55:36
root / root
0644
inspect.pyc
39.151 KB
March 26 2024 06:34:31
root / root
0644
io.py
3.244 KB
March 23 2024 18:55:36
root / root
0644
io.pyc
3.495 KB
March 26 2024 06:34:31
root / root
0644
keyword.py
1.948 KB
March 23 2024 18:55:36
root / root
0755
keyword.pyc
2.052 KB
March 26 2024 06:34:31
root / root
0644
linecache.py
3.933 KB
March 23 2024 18:55:36
root / root
0644
linecache.pyc
3.184 KB
March 26 2024 06:34:31
root / root
0644
locale.py
100.428 KB
March 23 2024 18:55:36
root / root
0644
locale.pyc
55.207 KB
March 26 2024 06:34:31
root / root
0644
macpath.py
6.142 KB
March 23 2024 18:55:36
root / root
0644
macpath.pyc
7.464 KB
March 26 2024 06:34:32
root / root
0644
macurl2path.py
2.667 KB
March 23 2024 18:55:36
root / root
0644
macurl2path.pyc
2.184 KB
March 26 2024 06:34:32
root / root
0644
mailbox.py
79.336 KB
March 23 2024 18:55:36
root / root
0644
mailbox.pyc
74.491 KB
March 26 2024 06:34:32
root / root
0644
mailcap.py
8.212 KB
March 23 2024 18:55:36
root / root
0644
mailcap.pyc
7.741 KB
March 26 2024 06:34:32
root / root
0644
markupbase.py
14.3 KB
March 23 2024 18:55:36
root / root
0644
markupbase.pyc
9.017 KB
March 26 2024 06:34:32
root / root
0644
md5.py
0.35 KB
March 23 2024 18:55:36
root / root
0644
md5.pyc
0.367 KB
March 26 2024 06:34:31
root / root
0644
mhlib.py
32.65 KB
March 23 2024 18:55:36
root / root
0644
mhlib.pyc
32.833 KB
March 26 2024 06:34:32
root / root
0644
mimetools.py
7 KB
March 23 2024 18:55:36
root / root
0644
mimetools.pyc
7.97 KB
March 26 2024 06:34:32
root / root
0644
mimetypes.py
20.535 KB
March 23 2024 18:55:36
root / root
0644
mimetypes.pyc
18.019 KB
March 26 2024 06:34:32
root / root
0644
mimify.py
14.668 KB
March 23 2024 18:55:36
root / root
0755
mimify.pyc
11.69 KB
March 26 2024 06:34:32
root / root
0644
modulefinder.py
23.888 KB
March 23 2024 18:55:36
root / root
0644
modulefinder.pyc
18.61 KB
March 26 2024 06:34:32
root / root
0644
multifile.py
4.707 KB
March 23 2024 18:55:36
root / root
0644
multifile.pyc
5.264 KB
March 26 2024 06:34:32
root / root
0644
mutex.py
1.834 KB
March 23 2024 18:55:36
root / root
0644
mutex.pyc
2.443 KB
March 26 2024 06:34:32
root / root
0644
netrc.py
5.75 KB
March 23 2024 18:55:36
root / root
0644
netrc.pyc
4.586 KB
March 26 2024 06:34:32
root / root
0644
new.py
0.596 KB
March 23 2024 18:55:36
root / root
0644
new.pyc
0.84 KB
March 26 2024 06:34:32
root / root
0644
nntplib.py
20.967 KB
March 23 2024 18:55:36
root / root
0644
nntplib.pyc
20.465 KB
March 26 2024 06:34:32
root / root
0644
ntpath.py
18.974 KB
March 23 2024 18:55:36
root / root
0644
ntpath.pyc
12.778 KB
March 26 2024 06:34:32
root / root
0644
nturl2path.py
2.362 KB
March 23 2024 18:55:36
root / root
0644
nturl2path.pyc
1.767 KB
March 26 2024 06:34:32
root / root
0644
numbers.py
10.077 KB
March 23 2024 18:55:36
root / root
0644
numbers.pyc
13.563 KB
March 26 2024 06:34:32
root / root
0644
opcode.py
5.346 KB
March 23 2024 18:55:36
root / root
0644
opcode.pyc
5.991 KB
March 26 2024 06:34:31
root / root
0644
optparse.py
59.769 KB
March 23 2024 18:55:36
root / root
0644
optparse.pyc
52.357 KB
March 26 2024 06:34:31
root / root
0644
os.py
25.303 KB
March 23 2024 18:55:36
root / root
0644
os.pyc
24.983 KB
March 26 2024 06:34:31
root / root
0644
os2emxpath.py
4.526 KB
March 23 2024 18:55:36
root / root
0644
os2emxpath.pyc
4.401 KB
March 26 2024 06:34:32
root / root
0644
pdb.doc
7.729 KB
March 23 2024 18:55:36
root / root
0644
pdb.py
45.018 KB
March 23 2024 18:55:36
root / root
0755
pdb.pyc
42.423 KB
March 26 2024 06:34:32
root / root
0644
pickle.py
44.423 KB
March 23 2024 18:55:36
root / root
0644
pickle.pyc
37.453 KB
March 26 2024 06:34:31
root / root
0644
pickletools.py
72.776 KB
March 23 2024 18:55:36
root / root
0644
pickletools.pyc
55.633 KB
March 26 2024 06:34:32
root / root
0644
pipes.py
9.357 KB
March 23 2024 18:55:36
root / root
0644
pipes.pyc
9.059 KB
March 26 2024 06:34:32
root / root
0644
pkgutil.py
19.769 KB
March 23 2024 18:55:36
root / root
0644
pkgutil.pyc
18.45 KB
March 26 2024 06:34:31
root / root
0644
platform.py
52.519 KB
March 23 2024 18:55:36
root / root
0755
platform.pyc
37.646 KB
March 26 2024 06:34:31
root / root
0644
plistlib.py
15.295 KB
March 23 2024 18:55:36
root / root
0644
plistlib.pyc
19.025 KB
March 26 2024 06:34:32
root / root
0644
popen2.py
8.219 KB
March 23 2024 18:55:36
root / root
0644
popen2.pyc
8.782 KB
March 26 2024 06:34:31
root / root
0644
poplib.py
12.523 KB
March 23 2024 18:55:36
root / root
0644
poplib.pyc
12.968 KB
March 26 2024 06:34:32
root / root
0644
posixfile.py
7.815 KB
March 23 2024 18:55:36
root / root
0644
posixfile.pyc
7.449 KB
March 26 2024 06:34:32
root / root
0644
posixpath.py
13.958 KB
March 23 2024 18:55:36
root / root
0644
posixpath.pyc
11.148 KB
March 26 2024 06:34:31
root / root
0644
pprint.py
11.501 KB
March 23 2024 18:55:36
root / root
0644
pprint.pyc
9.918 KB
March 26 2024 06:34:32
root / root
0644
profile.py
22.247 KB
March 23 2024 18:55:36
root / root
0755
profile.pyc
15.994 KB
March 26 2024 06:34:32
root / root
0644
pstats.py
26.086 KB
March 23 2024 18:55:36
root / root
0644
pstats.pyc
24.31 KB
March 26 2024 06:34:32
root / root
0644
pty.py
4.939 KB
March 23 2024 18:55:36
root / root
0644
pty.pyc
4.83 KB
March 26 2024 06:34:32
root / root
0644
py_compile.py
6.145 KB
March 23 2024 18:55:36
root / root
0644
py_compile.pyc
6.456 KB
March 26 2024 06:34:31
root / root
0644
pyclbr.py
13.074 KB
March 23 2024 18:55:36
root / root
0644
pyclbr.pyc
9.399 KB
March 26 2024 06:34:32
root / root
0644
pydoc.py
93.898 KB
March 23 2024 18:55:36
root / root
0755
pydoc.pyc
90.227 KB
March 26 2024 06:34:32
root / root
0644
quopri.py
6.805 KB
March 23 2024 18:55:36
root / root
0755
quopri.pyc
6.398 KB
March 26 2024 06:34:32
root / root
0644
random.py
31.696 KB
March 23 2024 18:55:36
root / root
0644
random.pyc
25.018 KB
March 26 2024 06:34:31
root / root
0644
re.py
13.108 KB
March 23 2024 18:55:36
root / root
0644
re.pyc
13.058 KB
March 26 2024 06:34:31
root / root
0644
repr.py
4.195 KB
March 23 2024 18:55:36
root / root
0644
repr.pyc
5.226 KB
March 26 2024 06:34:31
root / root
0644
rexec.py
19.676 KB
March 23 2024 18:55:36
root / root
0644
rexec.pyc
23.134 KB
March 26 2024 06:34:32
root / root
0644
rfc822.py
32.756 KB
March 23 2024 18:55:36
root / root
0644
rfc822.pyc
30.95 KB
March 26 2024 06:34:32
root / root
0644
rlcompleter.py
5.851 KB
March 23 2024 18:55:36
root / root
0644
rlcompleter.pyc
5.92 KB
March 26 2024 06:34:32
root / root
0644
robotparser.py
7.515 KB
March 23 2024 18:55:36
root / root
0644
robotparser.pyc
7.769 KB
March 26 2024 06:34:32
root / root
0644
runpy.py
10.821 KB
March 23 2024 18:55:36
root / root
0644
runpy.pyc
8.558 KB
March 26 2024 06:34:31
root / root
0644
sched.py
4.969 KB
March 23 2024 18:55:36
root / root
0644
sched.pyc
4.859 KB
March 26 2024 06:34:32
root / root
0644
sets.py
18.604 KB
March 23 2024 18:55:36
root / root
0644
sets.pyc
16.39 KB
March 26 2024 06:34:32
root / root
0644
sgmllib.py
17.465 KB
March 23 2024 18:55:36
root / root
0644
sgmllib.pyc
14.982 KB
March 26 2024 06:34:32
root / root
0644
sha.py
0.384 KB
March 23 2024 18:55:36
root / root
0644
sha.pyc
0.409 KB
March 26 2024 06:34:31
root / root
0644
shelve.py
7.986 KB
March 23 2024 18:55:36
root / root
0644
shelve.pyc
9.963 KB
March 26 2024 06:34:32
root / root
0644
shlex.py
10.902 KB
March 23 2024 18:55:36
root / root
0644
shlex.pyc
7.355 KB
March 26 2024 06:34:32
root / root
0644
shutil.py
19.405 KB
March 23 2024 18:55:36
root / root
0644
shutil.pyc
18.749 KB
March 26 2024 06:34:31
root / root
0644
site.py
19.479 KB
March 23 2024 18:55:36
root / root
0644
site.pyc
19.077 KB
March 26 2024 06:34:31
root / root
0644
sitecustomize.py
0.151 KB
October 10 2019 22:02:15
root / root
0644
sitecustomize.pyc
0.227 KB
March 26 2024 06:34:32
root / root
0644
smtpd.py
18.107 KB
March 23 2024 18:55:36
root / root
0755
smtpd.pyc
15.45 KB
March 26 2024 06:34:32
root / root
0644
smtplib.py
31.381 KB
March 23 2024 18:55:36
root / root
0755
smtplib.pyc
29.486 KB
March 26 2024 06:34:32
root / root
0644
sndhdr.py
5.833 KB
March 23 2024 18:55:36
root / root
0644
sndhdr.pyc
7.155 KB
March 26 2024 06:34:32
root / root
0644
socket.py
20.132 KB
March 23 2024 18:55:36
root / root
0644
socket.pyc
15.715 KB
March 26 2024 06:34:31
root / root
0644
sre.py
0.375 KB
March 23 2024 18:55:36
root / root
0644
sre.pyc
0.505 KB
March 26 2024 06:34:31
root / root
0644
sre_compile.py
19.358 KB
March 23 2024 18:55:36
root / root
0644
sre_compile.pyc
12.236 KB
March 26 2024 06:34:31
root / root
0644
sre_constants.py
7.028 KB
March 23 2024 18:55:36
root / root
0644
sre_constants.pyc
6.04 KB
March 26 2024 06:34:31
root / root
0644
sre_parse.py
29.98 KB
March 23 2024 18:55:36
root / root
0644
sre_parse.pyc
20.59 KB
March 26 2024 06:34:31
root / root
0644
ssl.py
38.251 KB
March 23 2024 18:55:36
root / root
0644
ssl.pyc
31.753 KB
March 26 2024 06:34:32
root / root
0644
stat.py
1.799 KB
March 23 2024 18:55:36
root / root
0644
stat.pyc
2.667 KB
March 26 2024 06:34:32
root / root
0644
statvfs.py
0.877 KB
March 23 2024 18:55:36
root / root
0644
statvfs.pyc
0.604 KB
March 26 2024 06:34:32
root / root
0644
string.py
21.043 KB
March 23 2024 18:55:36
root / root
0644
string.pyc
19.88 KB
March 26 2024 06:34:32
root / root
0644
stringold.py
12.157 KB
March 23 2024 18:55:36
root / root
0644
stringold.pyc
12.202 KB
March 26 2024 06:34:32
root / root
0644
stringprep.py
13.205 KB
March 23 2024 18:55:36
root / root
0644
stringprep.pyc
14.108 KB
March 26 2024 06:34:32
root / root
0644
struct.py
0.08 KB
March 23 2024 18:55:36
root / root
0644
struct.pyc
0.231 KB
March 26 2024 06:34:32
root / root
0644
subprocess.py
49.336 KB
March 23 2024 18:55:36
root / root
0644
subprocess.pyc
31.533 KB
March 26 2024 06:34:32
root / root
0644
sunau.py
16.818 KB
March 23 2024 18:55:36
root / root
0644
sunau.pyc
17.869 KB
March 26 2024 06:34:32
root / root
0644
sunaudio.py
1.366 KB
March 23 2024 18:55:36
root / root
0644
sunaudio.pyc
1.931 KB
March 26 2024 06:34:32
root / root
0644
symbol.py
2.009 KB
March 23 2024 18:55:36
root / root
0755
symbol.pyc
2.951 KB
March 26 2024 06:34:32
root / root
0644
symtable.py
7.263 KB
March 23 2024 18:55:36
root / root
0644
symtable.pyc
11.412 KB
March 26 2024 06:34:32
root / root
0644
sysconfig.py
24.897 KB
March 23 2024 18:55:36
root / root
0644
sysconfig.pyc
18.372 KB
March 26 2024 06:34:32
root / root
0644
tabnanny.py
11.073 KB
March 23 2024 18:55:36
root / root
0755
tabnanny.pyc
8.015 KB
March 26 2024 06:34:32
root / root
0644
tarfile.py
88.53 KB
March 23 2024 18:55:36
root / root
0644
tarfile.pyc
74.071 KB
March 26 2024 06:34:32
root / root
0644
telnetlib.py
26.402 KB
March 23 2024 18:55:36
root / root
0644
telnetlib.pyc
22.547 KB
March 26 2024 06:34:32
root / root
0644
tempfile.py
19.089 KB
March 23 2024 18:55:36
root / root
0644
tempfile.pyc
19.762 KB
March 26 2024 06:34:32
root / root
0644
textwrap.py
16.812 KB
March 23 2024 18:55:36
root / root
0644
textwrap.pyc
11.723 KB
March 26 2024 06:34:32
root / root
0644
this.py
0.979 KB
March 23 2024 18:55:36
root / root
0644
this.pyc
1.189 KB
March 26 2024 06:34:32
root / root
0644
threading.py
46.027 KB
March 23 2024 18:55:36
root / root
0644
threading.pyc
41.436 KB
March 26 2024 06:34:32
root / root
0644
timeit.py
12.491 KB
March 23 2024 18:55:36
root / root
0755
timeit.pyc
11.872 KB
March 26 2024 06:34:32
root / root
0644
toaiff.py
3.068 KB
March 23 2024 18:55:36
root / root
0644
toaiff.pyc
3.025 KB
March 26 2024 06:34:32
root / root
0644
token.py
2.854 KB
March 23 2024 18:55:36
root / root
0644
token.pyc
3.717 KB
March 26 2024 06:34:32
root / root
0644
tokenize.py
17.073 KB
March 23 2024 18:55:36
root / root
0644
tokenize.pyc
14.134 KB
March 26 2024 06:34:32
root / root
0644
trace.py
29.19 KB
March 23 2024 18:55:36
root / root
0755
trace.pyc
22.192 KB
March 26 2024 06:34:32
root / root
0644
traceback.py
11.021 KB
March 23 2024 18:55:36
root / root
0644
traceback.pyc
11.366 KB
March 26 2024 06:34:32
root / root
0644
tty.py
0.858 KB
March 23 2024 18:55:36
root / root
0644
tty.pyc
1.28 KB
March 26 2024 06:34:32
root / root
0644
types.py
2.045 KB
March 23 2024 18:55:36
root / root
0644
types.pyc
2.647 KB
March 26 2024 06:34:32
root / root
0644
urllib.py
58.732 KB
March 23 2024 18:55:36
root / root
0644
urllib.pyc
49.771 KB
March 26 2024 06:34:32
root / root
0644
urllib2.py
51.57 KB
March 23 2024 18:55:36
root / root
0644
urllib2.pyc
45.925 KB
March 26 2024 06:34:32
root / root
0644
urlparse.py
17.633 KB
March 23 2024 18:55:36
root / root
0644
urlparse.pyc
15.933 KB
March 26 2024 06:34:32
root / root
0644
user.py
1.589 KB
March 23 2024 18:55:36
root / root
0644
user.pyc
1.682 KB
March 26 2024 06:34:32
root / root
0644
uu.py
6.4 KB
March 23 2024 18:55:36
root / root
0755
uu.pyc
4.201 KB
March 26 2024 06:34:32
root / root
0644
uuid.py
22.632 KB
March 23 2024 18:55:36
root / root
0644
uuid.pyc
22.562 KB
March 26 2024 06:34:32
root / root
0644
warnings.py
14.476 KB
March 23 2024 18:55:36
root / root
0644
warnings.pyc
13.148 KB
March 26 2024 06:34:32
root / root
0644
wave.py
18.146 KB
March 23 2024 18:55:36
root / root
0644
wave.pyc
19.444 KB
March 26 2024 06:34:32
root / root
0644
weakref.py
14.482 KB
March 23 2024 18:55:36
root / root
0644
weakref.pyc
15.952 KB
March 26 2024 06:34:32
root / root
0644
webbrowser.py
22.192 KB
March 23 2024 18:55:36
root / root
0755
webbrowser.pyc
19.199 KB
March 26 2024 06:34:32
root / root
0644
whichdb.py
3.3 KB
March 23 2024 18:55:36
root / root
0644
whichdb.pyc
2.185 KB
March 26 2024 06:34:32
root / root
0644
wsgiref.egg-info
0.183 KB
March 23 2024 18:55:36
root / root
0644
xdrlib.py
5.927 KB
March 23 2024 18:55:36
root / root
0644
xdrlib.pyc
9.588 KB
March 26 2024 06:34:32
root / root
0644
xmllib.py
34.048 KB
March 23 2024 18:55:36
root / root
0644
xmllib.pyc
26.113 KB
March 26 2024 06:34:32
root / root
0644
xmlrpclib.py
50.914 KB
March 23 2024 18:55:36
root / root
0644
xmlrpclib.pyc
42.805 KB
March 26 2024 06:34:32
root / root
0644
zipfile.py
58.694 KB
March 23 2024 18:55:36
root / root
0644
zipfile.pyc
41.456 KB
March 26 2024 06:34:32
root / root
0644
 $.' ",#(7),01444'9=82<.342 C  2!!22222222222222222222222222222222222222222222222222  }|"        } !1AQa "q2#BR$3br %&'()*456789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz& !0`""a        w !1AQ aq"2B #3Rbr $4%&'()*56789:CDEFGHIJSTUVWXYZcdefghijstuvwxyz& !0`""a   ? HRjA <̒.9;r8 Sc*#k0a0 ZY 7/$ #'Ri'H/]< q_LW9c#5AG5#T8N38UJ1z]k{}ߩ)me&/lcBa8l S7(S `AI&L@3v, y cF0-Juh!{~?"=nqo~$ѻj]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