doyensec / inql

InQL is a robust, open-source Burp Suite extension for advanced GraphQL testing, offering intuitive vulnerability detection, customizable scans, and seamless Burp integration.
https://doyensec.com/
Apache License 2.0
1.51k stars 156 forks source link

Preserve comments when sending query from Scanner to Repeater #108

Closed execveat closed 1 year ago

execveat commented 1 year ago

Right now when sending a generated query from Scanner to Repeater, all comments are stripped by minimize_query function from https://github.com/doyensec/GQLSpection/blob/main/src/gqlspection/utils.py.

Add an option to preserve comments instead, this would be very convenient for examining larger queries.

execveat commented 1 year ago

This is sidestepped right now by just not using minimize_query.