Skip to content

Conversation

@soffensive
Copy link
Contributor

@soffensive soffensive commented Feb 5, 2026

sqlmap by default XML/HTML-encodes payloads when the HTTP request contains an XML structure (e.g., in SOAP requests).

However, this behavior may not be desired, for example, when injecting into a character data (CDATA) section like so:

<soapmsg> <input><![CDATA[INJECTIONHERE]]></input> </soapmsg>

Currently, the XML/HTML-encoding cannot be disabled in sqlmap and has to be achieved with external means, for example via intercepting the emitted HTTP requests and performing match/replace actions.

Therefore, the suggestion of this pull request is to make the XML/HTML-encoding optional and let the user disable it with:

--skip-xml-encode (similar to --skip-url-encode)

@stamparm stamparm merged commit 9312d26 into sqlmapproject:master Feb 5, 2026
stamparm added a commit that referenced this pull request Feb 5, 2026
@soffensive soffensive deleted the optionalxmlencoding branch February 5, 2026 18:10
googlesky pushed a commit to googlesky/sqlmap that referenced this pull request Feb 6, 2026
googlesky pushed a commit to googlesky/sqlmap that referenced this pull request Feb 6, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants