From b2cc8f00ef629f827edcc213769169d35ecea014 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Fri, 28 Mar 2014 00:41:22 +0100 Subject: [PATCH] Bug fix (ORACLE_OLD on Windows - resulted in multiple entry per line output due to no locking used) --- lib/utils/hash.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils/hash.py b/lib/utils/hash.py index 6db923d25..0c76bff5b 100644 --- a/lib/utils/hash.py +++ b/lib/utils/hash.py @@ -620,7 +620,7 @@ def _bruteProcessVariantB(user, hash_, kwargs, hash_regex, suffix, retVal, found found.value = True - elif (proc_id == 0 or getattr(proc_count, "value", 0) == 1) and count % HASH_MOD_ITEM_DISPLAY == 0 or hash_regex == HASH.ORACLE_OLD or hash_regex == HASH.CRYPT_GENERIC and IS_WIN: + elif (proc_id == 0 or getattr(proc_count, "value", 0) == 1) and count % HASH_MOD_ITEM_DISPLAY == 0: rotator += 1 if rotator >= len(ROTATING_CHARS): rotator = 0