Minor patch

This commit is contained in:
Miroslav Stampar
2019-11-08 15:05:41 +01:00
parent 6b56715447
commit a90324d592
2 changed files with 2 additions and 2 deletions

View File

@@ -212,7 +212,7 @@ def crawl(target):
results = OrderedSet()
for target in kb.targets:
if target[1] == HTTPMETHOD.GET:
if target[1] in (HTTPMETHOD.GET, None):
match = re.search(r"/[^/?]*\?.*\Z", target[0])
if match:
key = re.sub(r"=[^=&]*", "=", match.group(0))