mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Major bug fix when the request is POST to also send the GET parameters in the request if they've been provided
This commit is contained in:
@@ -82,7 +82,7 @@ class Connect:
|
||||
conn = multipartOpener.open(url, multipart)
|
||||
page = conn.read()
|
||||
return page
|
||||
elif conf.method == "GET":
|
||||
elif conf.method in ( "GET", "POST" ):
|
||||
if conf.parameters.has_key("GET") and not get:
|
||||
get = conf.parameters["GET"]
|
||||
|
||||
|
||||
Reference in New Issue
Block a user