mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-01-23 15:54:24 +03:00
Minor patch for combo -r and --method
This commit is contained in:
parent
82abf1f742
commit
d6bac363af
|
@ -332,7 +332,7 @@ def _feedTargetsDict(reqFile, addedTargetUrls):
|
||||||
|
|
||||||
if not(conf.scope and not re.search(conf.scope, url, re.I)):
|
if not(conf.scope and not re.search(conf.scope, url, re.I)):
|
||||||
if not kb.targets or url not in addedTargetUrls:
|
if not kb.targets or url not in addedTargetUrls:
|
||||||
kb.targets.add((url, method, data, cookie, tuple(headers)))
|
kb.targets.add((url, conf.method or method, data, cookie, tuple(headers)))
|
||||||
addedTargetUrls.add(url)
|
addedTargetUrls.add(url)
|
||||||
|
|
||||||
checkFile(reqFile)
|
checkFile(reqFile)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user