mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-07 17:02:39 +01:00
minor update for SOAP payloads
This commit is contained in:
parent
c6a0209649
commit
6463cad8c5
1 changed files with 5 additions and 0 deletions
|
|
@ -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 a new issue