mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
minor layout output fix
This commit is contained in:
parent
3c1b696bd6
commit
eb44f30d63
|
@ -451,6 +451,7 @@ class Users:
|
|||
retrievedUsers = set()
|
||||
|
||||
for user in users:
|
||||
outuser = user
|
||||
if user in retrievedUsers:
|
||||
continue
|
||||
|
||||
|
@ -458,7 +459,7 @@ class Users:
|
|||
user = "%%%s%%" % user
|
||||
|
||||
infoMsg = "fetching number of privileges "
|
||||
infoMsg += "for user '%s'" % user
|
||||
infoMsg += "for user '%s'" % outuser
|
||||
logger.info(infoMsg)
|
||||
|
||||
if Backend.isDbms(DBMS.MYSQL) and not kb.data.has_information_schema:
|
||||
|
@ -480,11 +481,11 @@ class Users:
|
|||
return self.getPrivileges(query2=True)
|
||||
|
||||
warnMsg = "unable to retrieve the number of "
|
||||
warnMsg += "privileges for user '%s'" % user
|
||||
warnMsg += "privileges for user '%s'" % outuser
|
||||
logger.warn(warnMsg)
|
||||
continue
|
||||
|
||||
infoMsg = "fetching privileges for user '%s'" % user
|
||||
infoMsg = "fetching privileges for user '%s'" % outuser
|
||||
logger.info(infoMsg)
|
||||
|
||||
privileges = set()
|
||||
|
@ -576,7 +577,7 @@ class Users:
|
|||
kb.data.cachedUsersPrivileges[user] = list(privileges)
|
||||
else:
|
||||
warnMsg = "unable to retrieve the privileges "
|
||||
warnMsg += "for user '%s'" % user
|
||||
warnMsg += "for user '%s'" % outuser
|
||||
logger.warn(warnMsg)
|
||||
|
||||
retrievedUsers.add(user)
|
||||
|
|
Loading…
Reference in New Issue
Block a user