mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor refactoring related to last couple of commits
This commit is contained in:
parent
8f13bda035
commit
a31ac0376d
10 changed files with 25 additions and 25 deletions
|
|
@ -171,7 +171,7 @@ class Users:
|
|||
else:
|
||||
users = []
|
||||
|
||||
users = filter(None, users)
|
||||
users = [_ for _ in users if _]
|
||||
|
||||
if any(isTechniqueAvailable(_) for _ in (PAYLOAD.TECHNIQUE.UNION, PAYLOAD.TECHNIQUE.ERROR, PAYLOAD.TECHNIQUE.QUERY)) or conf.direct:
|
||||
if Backend.isDbms(DBMS.MSSQL) and Backend.isVersionWithin(("2005", "2008")):
|
||||
|
|
@ -370,7 +370,7 @@ class Users:
|
|||
else:
|
||||
users = []
|
||||
|
||||
users = filter(None, users)
|
||||
users = [_ for _ in users if _]
|
||||
|
||||
# Set containing the list of DBMS administrators
|
||||
areAdmins = set()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue