mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Minor patch
This commit is contained in:
parent
6b56715447
commit
a90324d592
2 changed files with 2 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue