#!/usr/bin/python3 import sys import subprocess import struct with open(sys.argv[1], "rb") as f: while True: word = f.read(8) if len(word) == 8: print("%016x" % struct.unpack('