Burp Suite User Forum

Create new post

Error while developing burp extension

Krupa | Last updated: Sep 14, 2023 05:43PM UTC

I am getting the following error in my code: File "***line 56, in processHttpMessage if url in self.in_scope_targets: AttributeError: 'BurpExtender' object has no attribute 'in_scope_targets' Please help resolve the error. I am building a burp extension in which I would highlight the inscope urls in http history. Please help

Michelle, PortSwigger Agent | Last updated: Sep 15, 2023 11:08AM UTC

Hi Troubleshooting issues with specific lines of code goes a little bit beyond the scope of our support, and if we did we would probably need a bit more information. There may be others within the community who are happy to provide advice based on their own experiences. Having said that, you might find some useful ideas if you check out some of the ideas and examples in the documentation: https://portswigger.net/burp/documentation/desktop/extensions/creating Or, if there are any BApps in the BApp Store that have similar functionality, they may also provide you with ideas on how to approach the problem.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.