parent
e85c74953b
commit
1f3c5b9530
|
@ -9,13 +9,13 @@ Options:
|
|||
Mode 1 for regular ozip, Mode 2 for CPH1803/CPH1909 [default: 1]
|
||||
"""
|
||||
|
||||
import os
|
||||
import stat
|
||||
import shutil
|
||||
import binascii
|
||||
from Crypto.Cipher import AES
|
||||
import os
|
||||
import shutil
|
||||
import stat
|
||||
import zipfile
|
||||
from os.path import basename
|
||||
|
||||
from Crypto.Cipher import AES
|
||||
|
||||
|
||||
def main(file_arg):
|
||||
|
@ -134,7 +134,7 @@ def main(file_arg):
|
|||
data = rr.read(0x10)
|
||||
if len(data) == 0:
|
||||
break
|
||||
size = 0x10;
|
||||
size = 0x10
|
||||
if bdsize < 0x10:
|
||||
size = bdsize
|
||||
dr = ctx.decrypt(data)
|
||||
|
|
Loading…
Reference in New Issue