Burp Suite User Forum

Create new post

Filter: add JSON MIME

Zhaolin | Last updated: Apr 06, 2018 02:19AM UTC

I would like to see only JSON in proxy history, with the help of proxy history filter. Currently JSON is categorized as “Scripts” in MIME filter, but JSON are typically different from normal JavaScript, especially in the case of SPA (Single Page Application). In SPA JavaScript are typically static, while JSON are typically dynamic data from AJAX API.

PortSwigger Agent | Last updated: Apr 06, 2018 07:22AM UTC

Hi Zhaolin, Thanks for suggesting this. I agree, it would be useful, especially for testing SPAs. We're going to look at at upgrading the filter in future and we will try to incorporate this when we do. Unfortunately, because the current filter is based on the sniffed content-type and not the header, it's not possible to do a quick fix that changes this behavior. In the meantime, you could try tweaking this extension: - https://github.com/pajswigger/filter-options

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.