mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
minor fixes
This commit is contained in:
parent
627bfc589f
commit
b45ae10da4
2 changed files with 3 additions and 3 deletions
|
|
@ -2161,8 +2161,8 @@ def extractTextTagContent(page):
|
|||
Returns list containing content from "textual" tags
|
||||
"""
|
||||
|
||||
page = re.sub(r"(?si)[^\s]*%s[^<]*" % REFLECTED_VALUE_MARKER, "", page or "")
|
||||
return [_.group('result') for _ in re.finditer(TEXT_TAG_REGEX, page)]
|
||||
page = re.sub(r"(?si)[^\s>]*%s[^<]*" % REFLECTED_VALUE_MARKER, "", page or "")
|
||||
return filter(None, (_.group('result').strip() for _ in re.finditer(TEXT_TAG_REGEX, page)))
|
||||
|
||||
def trimAlphaNum(value):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue