1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-02-02 02:41:35 +00:00

Add files via upload

This commit is contained in:
TROUNCE 2020-10-26 23:04:42 +00:00 committed by GitHub
parent 8350d4fa3c
commit 1b4b5100dd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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())