mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
added support for --scope in --crawl mode
This commit is contained in:
parent
42746cc706
commit
4d1fa5596b
2 changed files with 14 additions and 7 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue