mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-11 19:13:12 +00:00
Minor improvement
This commit is contained in:
parent
541cebdce9
commit
e58d68c203
2 changed files with 2 additions and 1 deletions
|
|
@ -96,6 +96,7 @@ def crawl(target):
|
|||
tags = soup('a')
|
||||
|
||||
tags += re.finditer(r'(?i)\s(href|src)=["\'](?P<href>[^>"\']+)', content)
|
||||
tags += re.finditer(r'(?i)window\.open\(["\'](?P<href>[^)"\']+)["\']', content)
|
||||
|
||||
for tag in tags:
|
||||
href = tag.get("href") if hasattr(tag, "get") else tag.group("href")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue