mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-18 04:20:35 +03:00
minor update for SOAP payloads
This commit is contained in:
parent
c6a0209649
commit
6463cad8c5
|
@ -456,6 +456,11 @@ class Connect:
|
||||||
# functions therefore we need to use % as a safe char
|
# functions therefore we need to use % as a safe char
|
||||||
payload = urlencode(payload, "%", False, True)
|
payload = urlencode(payload, "%", False, True)
|
||||||
value = agent.replacePayload(value, payload)
|
value = agent.replacePayload(value, payload)
|
||||||
|
elif place == PLACE.SOAP:
|
||||||
|
# payloads in SOAP should have chars > and < replaced
|
||||||
|
# with their HTML encoded counterparts
|
||||||
|
payload = payload.replace('>', '>').replace('<', '<')
|
||||||
|
value = agent.replacePayload(value, payload)
|
||||||
|
|
||||||
value = agent.removePayloadDelimiters(value)
|
value = agent.removePayloadDelimiters(value)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user