mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 20:51:31 +00:00
Minor patch
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user