1
0
mirror of https://github.com/hashcat/hashcat.git synced 2025-07-15 11:08:21 +00:00

This python script presents a syntax error when executed:

vmwarevmx2hashcat.py:17: SyntaxWarning: invalid escape sequence '\)'
  ks_re = '.+phrase/(.*?)/pass2key=(.*?):cipher=(.*?):rounds=(.*?):salt=(.*?),(.*?),(.*?)\)'

This fixes that error.
This commit is contained in:
Technion 2025-05-16 19:54:17 +10:00
parent e69045823b
commit 4e71fb00d6

View File

@ -14,7 +14,7 @@ from binascii import hexlify
import re import re
import base64 import base64
ks_re = '.+phrase/(.*?)/pass2key=(.*?):cipher=(.*?):rounds=(.*?):salt=(.*?),(.*?),(.*?)\)' ks_re = '.+phrase/(.*?)/pass2key=(.*?):cipher=(.*?):rounds=(.*?):salt=(.*?),(.*?),(.*?)\\)'
ks_struct = { ks_struct = {
'password_hash': None, 'password_hash': None,