Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 605d73c

Browse files
committed
Minor refactoring
1 parent 2e2a7a3 commit 605d73c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/request/inject.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -397,7 +397,7 @@ def getValue(expression, blind=True, union=True, error=True, time=True, fromUser
397397
found = False
398398
count = 0
399399

400-
if query and not 'COUNT(*)' in query:
400+
if query and not re.search(r"COUNT.*FROM.*\(.*DISTINCT", query, re.I):
401401
query = query.replace("DISTINCT ", "")
402402

403403
if not conf.forceDns:

0 commit comments

Comments
 (0)