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

Setting setSearchExpression for Burps' Message Editor

Gaurav | Last updated: Jan 12, 2020 10:07AM UTC

I'm making an extension where I have to show markers or found string in response. I prefer not to use the IScanner of Burp rather want to use the setSearchExpression of the TextEditor to highlight in response. But the thing is that while using the Message Editor of burp, it shows that there is an error 'burp.q9i' object has no attribute 'setSearchExpression' Used Code: self._responseViewer = self._callbacks.createMessageEditor(self, False) self._responseViewer.setSearchExpression("777") Please let me know what error I'm making from my side

Hannah, PortSwigger Agent | Last updated: Jan 13, 2020 09:04AM UTC

Do you have a public GitHub repository I can take a look at to see a bit more of your code?

Burp User | Last updated: Jan 15, 2020 01:54PM UTC

Is there any option to set the setSearchExpression string for IMessageEditor? The setSearchExpression only works for the ITextEditor

Hannah, PortSwigger Agent | Last updated: Jan 16, 2020 09:25AM UTC