mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Fixes #1313
This commit is contained in:
parent
75ed5f767c
commit
358651b19c
|
@ -2482,7 +2482,9 @@ def extractTextTagContent(page):
|
|||
[u'Title', u'foobar']
|
||||
"""
|
||||
|
||||
page = re.sub(r"(?si)[^\s>]*%s[^<]*" % REFLECTED_VALUE_MARKER, "", page or "")
|
||||
page = page or ""
|
||||
if REFLECTED_VALUE_MARKER in page:
|
||||
page = re.sub(r"(?si)[^\s>]*%s[^\s<]*" % REFLECTED_VALUE_MARKER, "", page)
|
||||
return filter(None, (_.group('result').strip() for _ in re.finditer(TEXT_TAG_REGEX, page)))
|
||||
|
||||
def trimAlphaNum(value):
|
||||
|
|
Loading…
Reference in New Issue
Block a user