mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-13 19:28:56 +00:00
Merge pull request #1340 from philsmd/master
fixes #1338: hexify also all password of format $HEX[]
This commit is contained in:
commit
2601c6929f
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user