Skip to content

Commit d6bac36

Browse files
committed
Minor patch for combo -r and --method
1 parent 82abf1f commit d6bac36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/core/option.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ def _parseBurpLog(content):
332332

333333
if not(conf.scope and not re.search(conf.scope, url, re.I)):
334334
if not kb.targets or url not in addedTargetUrls:
335-
kb.targets.add((url, method, data, cookie, tuple(headers)))
335+
kb.targets.add((url, conf.method or method, data, cookie, tuple(headers)))
336336
addedTargetUrls.add(url)
337337

338338
checkFile(reqFile)

0 commit comments

Comments
 (0)