You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
hashcat/tools/sqlcipher2hashcat.py

8 lines
207 B

from base64 import b64encode
import sys
database = open(sys.argv[1], "rb").read(272)
salt = database[:16]
print('sqlcipher:256000:' + b64encode(salt).decode() + ':' + b64encode(database[16:272]).decode())