Category

Unable to load external library

Laxman |
Last updated: May 08, 2020 06:48PM UTC

Hi,
I am building a Burp extension, using sqlite external jdbc driver. I have added this jar into folder and configured Burp with the location of my folder where external JARs should be loaded from under Java environment.
But my plugin not able to load the jar and failing to open sqlite database with "No suitable driver found ".
I am using professional version.

Hannah, PortSwigger Agent |
Last updated: May 11, 2020 10:33AM UTC

Have you tried including the jar as part of your build?
An example of this would be HTTP Request Smuggler which includes a copy of the Turbo Intruder jar as a part of its dependencies: https://github.com/PortSwigger/http-request-smuggler

Laxman |
Last updated: May 11, 2020 10:28PM UTC

I have included the jar in build.
Followed the same as above example and still not able to open database.
I am able to run the jar using java -jar myjar.jar and see that it is working fine.
But seeing an error "No suitable driver found" by running in Burp. I am still not clear why Burp is not able to load the external jar.

Laxman |
Last updated: May 11, 2020 10:49PM UTC

Hi,
Thank you for your support. It is working now.
I have added Class.forName explicitly and it is working.