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

Request Highlighting

Cyrill | Last updated: May 14, 2024 09:11AM UTC

I'm working on a new ScanCheck Burp extension and running into some issues using the highlighting functionality. AuditInsertionPoint (e.g. as created using AuditInsertionPoint.auditInsertionPoint()) has a method issueHighlight() that returns List<Range> when providing the payload as input. So I converted them to List<Marker> and used withRequestMarkers() to add them to the HTTPRequestResponse returned by the api.http().sendRequest() method call. This request I then used for the created AuditIssue as the requestResponse. However, the highlighting does not match the payload, e.g. the start of the highlight is correct, but the end seems to be at the position where the baseValue would have ended. Could you explain or show an example how request highlighting is supposed to be implemented properly? E.g. what is the purpose of the issueHighlight() method, since it also returns a List<Range> and not List<Marker>? Thanks.

Hannah, PortSwigger Agent | Last updated: May 14, 2024 12:28PM UTC