INNER CODE UNIT · Python

data

gendigitalinc/ioc · Manjusaka/rip.py:7

    data = zlib.decompressobj(wbits=-15) # -15 = no headers and trailers
    try:
        decompressed_data = data.decompress(buff)
        decompressed_data += data.flush()
        return decompressed_data
    except:
        print('Inflate error..')
        sys.exit()

def raw_hex(data):
    try:
        return binascii.unhexlify(data)
    except:
        print('Hexstring data error..')
        sys.exit()

def decode_payload(buff):
    payload_type = 'ELF'

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…