mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
Minor refactoring
This commit is contained in:
parent
2e2a7a34b6
commit
605d73cc3d
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue
Block a user