1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-23 07:08:19 +00:00

fixes #1338: hexify also all password of format $HEX[]

This commit is contained in:
philsmd 2017-08-21 09:14:49 +02:00
parent f32e113942
commit a4616e6c6d
No known key found for this signature in database
GPG Key ID: 4F25D016D9D6A8AF
2 changed files with 14 additions and 0 deletions

View File

@ -26,6 +26,7 @@
- Fixed an invalid progress value in status view if words from the base wordlist get rejected because of length
- Fixed a parser error for mode -m 9820 = MS Office <= 2003 $3, SHA1 + RC4, collider #2
- Fixed a problem with changed current working directory, for instance by using --restore together with --remove
- Fixed a problem with the conversion to the $HEX[] format: convert/hexify also all passwords of the format $HEX[]
- Fixed the calculation of device_name_chksum; should be done for each iteration
- Fixed the estimated time value whenever the value is very large and overflows
- Fixed the parsing of command line options. It doesn't show two times the same error about an invalid option anymore

View File

@ -152,6 +152,19 @@ bool need_hexify (const u8 *buf, const int len, const char separator, bool alway
}
}
// also test if the password is of the format $HEX[]:
if (rc == false)
{
if ((len & 1) == 0)
{
if (is_hexify (buf, len))
{
rc = true;
}
}
}
return rc;
}