Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
'''convert payload to zip'''
import struct
import sys
import zipfile
import datetime
import io
import lzma
def get_chunk(payload, chunknum):