The Burp Suite User Forum was discontinued on the 1st November 2024.

Burp Suite User Forum

For support requests, go to the Support Center. To discuss with other Burp users, head to our Discord page.

SUPPORT CENTER DISCORD

How should I set Hightlight on Issue

loulan | Last updated: Apr 15, 2020 07:49AM UTC

I used IScannerCheck, and tried to use baseRequestResponse.setHighlight to set Highlight when find Issue,but remind me that don't support set Highliht. I wanna set highlight when the Issue i'm looking forward to come up.

Hannah, PortSwigger Agent | Last updated: Apr 15, 2020 10:21AM UTC

setHighlight() will apply a highlight to the IHttpRequestResponse item. The IScanIssue class has getHttpMessages() which returns the HTTP messages for which the issue was generated, in the form of an array of IHttpRequestResponse's. Have you tried using that to retrieve the objects to apply the highlight to?

loulan | Last updated: Apr 15, 2020 12:20PM UTC

I tried two things with python? No1. IScannerCheck.doPassiveScan(IHttpRequestResponse baseRequestResponse) baseRequestResponse.setHighlight('red') No2. class demo(IScanIssue): def __init__(self, httpMessage): httpMessage.setHighlight('red') self._httpMessage = [httpMessage] def getHttpMessages(self): return self._httpMessage Both failed. Told me "Item does not support highlights"

Hannah, PortSwigger Agent | Last updated: Apr 16, 2020 10:25AM UTC