Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 0b8c6e4

Browse files
committed
Minor bug fix
1 parent eeb4436 commit 0b8c6e4

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

lib/utils/hash.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ def __bruteProcessVariantA(attack_info, hash_regex, wordlist, suffix, retVal, pr
349349

350350
clearConsoleLine()
351351

352-
infoMsg = "[%s] [INFO] found: '%s'" % (time.strftime("%X"), word)
352+
infoMsg = "[%s] [INFO] found password '%s'" % (time.strftime("%X"), word)
353353

354354
if user and not user.startswith(DUMMY_USER_PREFIX):
355355
infoMsg += " for user '%s'\n" % user
@@ -392,14 +392,14 @@ def __bruteProcessVariantB(user, hash_, kwargs, hash_regex, wordlist, suffix, re
392392

393393
try:
394394
if hash_ == current:
395-
if regex == HASH.ORACLE_OLD: #only for cosmetic purposes
395+
if hash_regex == HASH.ORACLE_OLD: #only for cosmetic purposes
396396
word = word.upper()
397397

398398
retVal.put((user, hash_, word))
399399

400400
clearConsoleLine()
401401

402-
infoMsg = "[%s] [INFO] found: '%s'" % (time.strftime("%X"), word)
402+
infoMsg = "[%s] [INFO] found password '%s'" % (time.strftime("%X"), word)
403403

404404
if user and not user.startswith(DUMMY_USER_PREFIX):
405405
infoMsg += " for user '%s'\n" % user

0 commit comments

Comments
 (0)