#!/usr/bin/python3 # open img file, subtract 33 from altlba address, and move the last 33 sectors # back by 33 sectors from struct import unpack_from, pack_into from zipfile import crc32 import array import sys file = open(sys.argv[1],'rb+') file.seek(512) gptheader = file.read(512) altlba = unpack_from('