mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Minor refactoring
This commit is contained in:
@@ -397,7 +397,7 @@ def getValue(expression, blind=True, union=True, error=True, time=True, fromUser
|
||||
found = False
|
||||
count = 0
|
||||
|
||||
if query and not 'COUNT(*)' in query:
|
||||
if query and not re.search(r"COUNT.*FROM.*\(.*DISTINCT", query, re.I):
|
||||
query = query.replace("DISTINCT ", "")
|
||||
|
||||
if not conf.forceDns:
|
||||
|
||||
Reference in New Issue
Block a user