We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2831f9 commit 63dbbadCopy full SHA for 63dbbad
autodecrypt/decrypt_img.py
@@ -23,7 +23,7 @@ def decrypt_img(infile: str, magic: str, iv: str, key: str) -> int:
23
print(f"[i] decrypting {infile} to {outfile}...")
24
25
im4p.payload.decrypt(Keybag(key=key, iv=iv))
26
- if im4p.payload.compression not in (Compression.NONE, Compression.UNKNOWN):
+ if im4p.payload.compression != Compression.NONE:
27
print('[i] image4 payload data is compressed, decompressing...')
28
im4p.payload.decompress()
29
0 commit comments