mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Update for an Issue #431
This commit is contained in:
parent
34ce774acd
commit
cf2d5fd453
5 changed files with 16 additions and 8 deletions
|
|
@ -307,7 +307,7 @@ class Connect(object):
|
|||
url = "%s?%s" % (url, get)
|
||||
requestMsg += "?%s" % get
|
||||
|
||||
if PLACE.POST in conf.parameters and not post and method in (None, HTTPMETHOD.POST):
|
||||
if PLACE.POST in conf.parameters and not post and method != HTTPMETHOD.GET:
|
||||
post = conf.parameters[PLACE.POST]
|
||||
|
||||
elif get:
|
||||
|
|
@ -634,6 +634,7 @@ class Connect(object):
|
|||
auxHeaders = {}
|
||||
|
||||
raise404 = place != PLACE.URI if raise404 is None else raise404
|
||||
method = method or conf.method
|
||||
|
||||
value = agent.adjustLateValues(value)
|
||||
payload = agent.extractPayload(value)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue