Burp Suite User Forum

Login to post

How do I analyze json parameters and update their values?

Takafumi | Last updated: Jan 26, 2021 12:12PM UTC

Please tell me about extender. The following process did not work in IHttpListener.processHttpMessage (). With the same source code, the get request was successfully processed. Do you need a different Interface or method for json? Get the json parameter name in the request with IParameter.getName (). Use IExtensionHelpers.buildParameter () and IExtensionHelpers.updateParameter () to replace the value of the json parameter.

Uthman, PortSwigger Agent | Last updated: Jan 26, 2021 01:16PM UTC

Hi Takafumi, There is no separate interface for processing JSON. As long as you receive the full HTTP response, you can provide the processing logic you have identified on it. I would suggest taking a look at the implementation in the extensions below: - Authentication Token Obtain And Replace (https://portswigger.net/bappstore/51327b097b354243b307b4ed87ba39eb / https://github.com/portswigger/ator) - Custom Parameter Handler (https://portswigger.net/bappstore/a0c0cd68ab7c4928b3bf0a9ad48ec8c7 / https://github.com/portswigger/custom-parameter-handler)

You need to Log in to post a reply. Or register here, for free.