mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-11 02:53:11 +00:00
Minor patch
This commit is contained in:
parent
c1363dd44c
commit
478888b19e
3 changed files with 5 additions and 2 deletions
|
|
@ -168,6 +168,8 @@ def crawl(target, post=None, cookie=None):
|
|||
finally:
|
||||
if found:
|
||||
if items:
|
||||
# keep sitemap-derived URLs on-scope, exactly like the HTML-crawl path above
|
||||
items = OrderedSet(_ for _ in items if (re.search(conf.scope, _, re.I) if conf.scope else checkSameHost(_, target)))
|
||||
for item in items:
|
||||
if re.search(r"(.*?)\?(.+)", item):
|
||||
threadData.shared.value.add(item)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue