mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
added support for --scope in --crawl mode
This commit is contained in:
@@ -192,7 +192,7 @@ def __feedTargetsDict(reqFile, addedTargetUrls):
|
||||
continue
|
||||
|
||||
if conf.scope:
|
||||
getPostReq &= re.search(conf.scope, url) is not None
|
||||
getPostReq &= re.search(conf.scope, url, re.I) is not None
|
||||
|
||||
if getPostReq:
|
||||
if not kb.targetUrls or url not in addedTargetUrls:
|
||||
|
||||
Reference in New Issue
Block a user