mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-16 19:40:37 +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
|
found = False
|
||||||
count = 0
|
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 ", "")
|
query = query.replace("DISTINCT ", "")
|
||||||
|
|
||||||
if not conf.forceDns:
|
if not conf.forceDns:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user