mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Fixes #2774
This commit is contained in:
@@ -796,6 +796,8 @@ class Connect(object):
|
||||
raise404 = place != PLACE.URI if raise404 is None else raise404
|
||||
method = method or conf.method
|
||||
|
||||
pushValue(kb.postUrlEncode)
|
||||
|
||||
value = agent.adjustLateValues(value)
|
||||
payload = agent.extractPayload(value)
|
||||
threadData = getCurrentThreadData()
|
||||
@@ -862,6 +864,7 @@ class Connect(object):
|
||||
if not skip:
|
||||
payload = urlencode(payload, '%', False, place != PLACE.URI) # spaceplus is handled down below
|
||||
value = agent.replacePayload(value, payload)
|
||||
kb.postUrlEncode = False
|
||||
|
||||
if conf.hpp:
|
||||
if not any(conf.url.lower().endswith(_.lower()) for _ in (WEB_API.ASP, WEB_API.ASPX)):
|
||||
@@ -1245,6 +1248,8 @@ class Connect(object):
|
||||
|
||||
kb.originalCode = kb.originalCode or code
|
||||
|
||||
kb.postUrlEncode = popValue()
|
||||
|
||||
if kb.testMode:
|
||||
kb.testQueryCount += 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user