mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-09 08:00:36 +03:00
Minor bug fix
This commit is contained in:
parent
eeb4436471
commit
0b8c6e4c81
|
@ -349,7 +349,7 @@ def __bruteProcessVariantA(attack_info, hash_regex, wordlist, suffix, retVal, pr
|
||||||
|
|
||||||
clearConsoleLine()
|
clearConsoleLine()
|
||||||
|
|
||||||
infoMsg = "[%s] [INFO] found: '%s'" % (time.strftime("%X"), word)
|
infoMsg = "[%s] [INFO] found password '%s'" % (time.strftime("%X"), word)
|
||||||
|
|
||||||
if user and not user.startswith(DUMMY_USER_PREFIX):
|
if user and not user.startswith(DUMMY_USER_PREFIX):
|
||||||
infoMsg += " for user '%s'\n" % user
|
infoMsg += " for user '%s'\n" % user
|
||||||
|
@ -392,14 +392,14 @@ def __bruteProcessVariantB(user, hash_, kwargs, hash_regex, wordlist, suffix, re
|
||||||
|
|
||||||
try:
|
try:
|
||||||
if hash_ == current:
|
if hash_ == current:
|
||||||
if regex == HASH.ORACLE_OLD: #only for cosmetic purposes
|
if hash_regex == HASH.ORACLE_OLD: #only for cosmetic purposes
|
||||||
word = word.upper()
|
word = word.upper()
|
||||||
|
|
||||||
retVal.put((user, hash_, word))
|
retVal.put((user, hash_, word))
|
||||||
|
|
||||||
clearConsoleLine()
|
clearConsoleLine()
|
||||||
|
|
||||||
infoMsg = "[%s] [INFO] found: '%s'" % (time.strftime("%X"), word)
|
infoMsg = "[%s] [INFO] found password '%s'" % (time.strftime("%X"), word)
|
||||||
|
|
||||||
if user and not user.startswith(DUMMY_USER_PREFIX):
|
if user and not user.startswith(DUMMY_USER_PREFIX):
|
||||||
infoMsg += " for user '%s'\n" % user
|
infoMsg += " for user '%s'\n" % user
|
||||||
|
|
Loading…
Reference in New Issue
Block a user