1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-11-26 01:50:10 +00:00

Merge pull request #3655 from Chick3nman/show-username

Add error message when mixing --show and --username
This commit is contained in:
Jens Steube 2023-03-26 23:40:41 +02:00 committed by GitHub
commit a1db6d4d63
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -57,6 +57,7 @@
- Status Code: Add specific return code for self-test fail (-11) - Status Code: Add specific return code for self-test fail (-11)
- SCRYPT: Increase buffer sizes in module for hash mode 8900 to allow longer SCRYPT digests - SCRYPT: Increase buffer sizes in module for hash mode 8900 to allow longer SCRYPT digests
- Unicode: Update UTF8 to UTF16 conversion to match RFC 3629 - Unicode: Update UTF8 to UTF16 conversion to match RFC 3629
- User Options: Added error message when mixing --username and --show to warn users of exponential delay
* changes v6.2.5 -> v6.2.6 * changes v6.2.5 -> v6.2.6

View File

@ -1007,6 +1007,13 @@ int user_options_sanity (hashcat_ctx_t *hashcat_ctx)
} }
} }
if ((user_options->show == true) && (user_options->username == true))
{
event_log_error (hashcat_ctx, "Mixing --show with --username can cause exponential delay in output.");
return 0;
}
if (user_options->show == true || user_options->left == true) if (user_options->show == true || user_options->left == true)
{ {
if (user_options->remove == true) if (user_options->remove == true)