PortSwigger / burp-extensions-montoya-api

Burp Extensions Api
Other
125 stars 3 forks source link

How to start REST API from CLI? #68

Closed 423locked closed 1 year ago

423locked commented 1 year ago

I want to use the current REST API with Montoya API extension image with the functionality of adding custom scan configs and editing resource pool. image For automation, I want to start burp with montoya extension via cli and therefore comes up the question - how do I start rest api too?

Or else, where can I find burp rest api jar?

Hannah-PortSwigger commented 1 year ago

The REST API is a user-level setting. This means that once you've configured it, the setting will stay the same across different Burp projects.

You can check this by configuring the REST API, closing Burp and relaunching it in the manner that you want, and attempting to access the REST API service URL.

423locked commented 1 year ago

Thanks, I get it that it is user settings. The question is - can I ask burp to run headlessly with this user setting of setting up the rest API? I don't want to open gui to set the user setting of rest API due to the automation reasons.

Hannah-PortSwigger commented 1 year ago

Hi

I've responded to your email regarding this.