mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 06:50:14 +00:00
Adding support for generic XML POST data
This commit is contained in:
parent
f71b937add
commit
098e446ca4
4 changed files with 7 additions and 5 deletions
|
|
@ -583,8 +583,8 @@ class Connect:
|
|||
logger.log(CUSTOM_LOGGING.PAYLOAD, safecharencode(payload))
|
||||
|
||||
if place == PLACE.CUSTOM_POST:
|
||||
if kb.postHint == POST_HINT.SOAP:
|
||||
# payloads in SOAP should have chars > and < replaced
|
||||
if kb.postHint in (POST_HINT.SOAP, POST_HINT.XML):
|
||||
# payloads in SOAP/XML should have chars > and < replaced
|
||||
# with their HTML encoded counterparts
|
||||
payload = payload.replace('>', ">").replace('<', "<")
|
||||
elif kb.postHint == POST_HINT.JSON:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue