From d6bac363af77153373bfab43823372028299c141 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Thu, 18 Feb 2016 11:13:51 +0100 Subject: [PATCH] Minor patch for combo -r and --method --- lib/core/option.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/core/option.py b/lib/core/option.py index 20705f764..e50075e52 100644 --- a/lib/core/option.py +++ b/lib/core/option.py @@ -332,7 +332,7 @@ def _feedTargetsDict(reqFile, addedTargetUrls): if not(conf.scope and not re.search(conf.scope, url, re.I)): 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) checkFile(reqFile)