mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-03-01 18:50:32 +03:00
Minor language update
This commit is contained in:
parent
4dd6887ea4
commit
77ba63b060
|
@ -114,7 +114,9 @@ class Users:
|
||||||
|
|
||||||
count = inject.getValue(query, union=False, error=False, expected=EXPECTED.INT, charsetType=CHARSET_TYPE.DIGITS)
|
count = inject.getValue(query, union=False, error=False, expected=EXPECTED.INT, charsetType=CHARSET_TYPE.DIGITS)
|
||||||
|
|
||||||
if not isNumPosStrValue(count):
|
if count == 0:
|
||||||
|
return kb.data.cachedUsers
|
||||||
|
elif not isNumPosStrValue(count):
|
||||||
errMsg = "unable to retrieve the number of database users"
|
errMsg = "unable to retrieve the number of database users"
|
||||||
raise SqlmapNoneDataException(errMsg)
|
raise SqlmapNoneDataException(errMsg)
|
||||||
|
|
||||||
|
@ -294,7 +296,7 @@ class Users:
|
||||||
|
|
||||||
if not kb.data.cachedUsersPasswords:
|
if not kb.data.cachedUsersPasswords:
|
||||||
errMsg = "unable to retrieve the password hashes for the "
|
errMsg = "unable to retrieve the password hashes for the "
|
||||||
errMsg += "database users (most probably because the session "
|
errMsg += "database users (probably because the session "
|
||||||
errMsg += "user has no read privileges over the relevant "
|
errMsg += "user has no read privileges over the relevant "
|
||||||
errMsg += "system database table)"
|
errMsg += "system database table)"
|
||||||
logger.error(errMsg)
|
logger.error(errMsg)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user