PortSwigger / burp-extensions-montoya-api

Burp Extensions Api
Other
125 stars 3 forks source link

Montoya API - Custom Scanner Check #7

Closed kernelpanic-bf closed 1 year ago

kernelpanic-bf commented 1 year ago

Hi!

Thanks for creating a new Burp Extension API, I am testing the new Montoya API to create a plugin with a custom scanner check. For this I used the ScanCheck interface and within the activeAudit function I would have the following code:

// Enter payload in insertion Point
byte[] req = auditInsertionPoint.buildHttpMessageWithPayload(payload.getBytes());

// Launch the request
HttpRequestResponse scanRequestResponse = montoyaApi.http().issueRequest(HttpRequest.httpRequest(req));

Does not seem to work yet as most likely doing something wrong here in these lines of code. Any guidance would be appreciated!

Thank you!

SeanBurnsUK commented 1 year ago

Our support team has your forum post and will be in touch soon.