Couple of minor patches

This commit is contained in:
Miroslav Stampar
2020-03-04 22:43:50 +01:00
parent e0ad99d534
commit d9e540e8b2
5 changed files with 28 additions and 14 deletions

View File

@@ -425,6 +425,9 @@ def _setBulkMultipleTargets():
found = False
for line in getFileItems(conf.bulkFile):
if conf.scope and not re.search(conf.scope, line, re.I):
continue
if re.match(r"[^ ]+\?(.+)", line, re.I) or kb.customInjectionMark in line:
found = True
kb.targets.add((line.strip(), conf.method, conf.data, conf.cookie, None))