mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03: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:
parent
5d5bfaf3db
commit
eb6e6f4d03
|
@ -82,7 +82,7 @@ class Connect:
|
||||||
conn = multipartOpener.open(url, multipart)
|
conn = multipartOpener.open(url, multipart)
|
||||||
page = conn.read()
|
page = conn.read()
|
||||||
return page
|
return page
|
||||||
elif conf.method == "GET":
|
elif conf.method in ( "GET", "POST" ):
|
||||||
if conf.parameters.has_key("GET") and not get:
|
if conf.parameters.has_key("GET") and not get:
|
||||||
get = conf.parameters["GET"]
|
get = conf.parameters["GET"]
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user