mirror of https://github.com/hashcat/hashcat.git
parent
8350d4fa3c
commit
1b4b5100dd
@ -0,0 +1,7 @@
|
|||||||
|
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())
|
Loading…
Reference in new issue