Burp Suite User Forum

Extensions class loading

Venka | Last updated: Jun 11, 2018 03:28AM UTC

Hello, I was wondering if Burp supports class loading from extensions. What I am looking for is if an extension can be made available as an API and that API's classes be used from other extensions. Does Burp's API support this or can it be done using Java's ClassLoader? Does Burp use separate class loaders that isolate each extension? Any help is appreciated. Thanks, Venka

PortSwigger Agent | Last updated: Jun 11, 2018 07:21AM UTC

Hi Venka, Each extension is loaded with a separate class loader, which makes it difficult for one to call another, although you probably could do it using reflection. You could provide an API by one extension listening on a network socket. Although we'd advise you to keep extensions self-contained. Please let us know if you need any further assistance.

You need to Log in to post a reply. Or register here, for free.