mirror of
https://github.com/hashcat/hashcat.git
synced 2025-08-04 12:56:00 +00:00
fixed indentation on luks2hashcat.py
This commit is contained in:
parent
68c536aca8
commit
d0cef2acb3
@ -319,7 +319,7 @@ def extract_version2(file):
|
|||||||
|
|
||||||
keyslots_cnt = len(json_header['keyslots'])
|
keyslots_cnt = len(json_header['keyslots'])
|
||||||
if keyslots_cnt == 0:
|
if keyslots_cnt == 0:
|
||||||
raise ValueError("no keyslots founds")
|
raise ValueError("no keyslots founds")
|
||||||
|
|
||||||
# extract first sector of the segment for entropy check
|
# extract first sector of the segment for entropy check
|
||||||
segment_offset = int(json_header['segments']['0']['offset'])
|
segment_offset = int(json_header['segments']['0']['offset'])
|
||||||
|
Loading…
Reference in New Issue
Block a user