import sys,struct,collections b=open(sys.argv[1],'rb').read(); total=32757812726; off=32757550824 p=len(b)-(total-off); ents=[] while b[p:p+4]==b'PK\x01\x02': csz,usz=struct.unpack('1',sum(1 for c in h.values() if c>1),'files in multi',sum(c for c in h.values() if c>1)) for e in ents: if e[0].endswith('.log') or e[0].endswith('.yml'): print(e); if e[0].endswith('.yml'): break