From 6afe989bed3ea96a410f4d7bb29324c91dea3a09 Mon Sep 17 00:00:00 2001 From: Jens Steube Date: Sun, 14 Oct 2018 11:38:31 +0200 Subject: [PATCH] Fixed the tokenizer configuration in postgres hash parser --- docs/changes.txt | 1 + src/interface.c | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index 24d55a490..5614f6e2d 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -33,6 +33,7 @@ - Fixed detection of unique ESSID in WPA-PMKID-* parser - Fixed speed/delay problem when quitting while the outfile folder is being scanned - Fixed a race condition in status view leading to out-of-bound reads +- Fixed the tokenizer configuration in postgres hash parser * changes v4.2.0 -> v4.2.1 diff --git a/src/interface.c b/src/interface.c index f00829970..717decf07 100644 --- a/src/interface.c +++ b/src/interface.c @@ -4870,7 +4870,7 @@ int postgresql_parse_hash (u8 *input_buf, u32 input_len, hash_t *hash_buf, MAYBE token.attr[0] = TOKEN_ATTR_VERIFY_LENGTH | TOKEN_ATTR_VERIFY_HEX; - token.len_min[1] = 32; + token.len_min[1] = 0; token.len_max[1] = 32; token.attr[1] = TOKEN_ATTR_VERIFY_LENGTH;