mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
Trivial patch
This commit is contained in:
@@ -215,7 +215,7 @@ def crawl(target):
|
||||
if target[1] in (HTTPMETHOD.GET, None):
|
||||
match = re.search(r"/[^/?]*\?.*\Z", target[0])
|
||||
if match:
|
||||
key = re.sub(r"=[^=&]*", "=", match.group(0))
|
||||
key = re.sub(r"=[^=&]*", "=", match.group(0)).strip('&')
|
||||
if key not in seen:
|
||||
results.add(target)
|
||||
seen.add(key)
|
||||
|
||||
Reference in New Issue
Block a user