mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
minor fix
This commit is contained in:
parent
01014eca17
commit
8fe069b495
|
@ -119,7 +119,7 @@ def __findUnionCharCount(comment, place, parameter, value, prefix, suffix, where
|
||||||
|
|
||||||
if kb.uChar:
|
if kb.uChar:
|
||||||
for regex in (kb.uChar, r'>\s*%s\s*<' % kb.uChar):
|
for regex in (kb.uChar, r'>\s*%s\s*<' % kb.uChar):
|
||||||
contains = [(count, re.search(regex, page, re.IGNORECASE) is not None) for count, page in pages.items()]
|
contains = [(count, re.search(regex, page or "", re.IGNORECASE) is not None) for count, page in pages.items()]
|
||||||
if len(filter(lambda x: x[1], contains)) == 1:
|
if len(filter(lambda x: x[1], contains)) == 1:
|
||||||
retVal = filter(lambda x: x[1], contains)[0][0]
|
retVal = filter(lambda x: x[1], contains)[0][0]
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in New Issue
Block a user