mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 01:26:42 +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)
|
||||
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"]
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user