mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-06 16:32:23 +01:00
Minor refactoring
This commit is contained in:
parent
2e2a7a34b6
commit
605d73cc3d
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue