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

Sqlite-jdbc and jython

Daniel | Last updated: Apr 23, 2015 03:45PM UTC

Hello, I am trying to do a Python Burp Suite extension (with jython 2.7) and I want to use sqlite to save some data. I have some code examples to use "sqlite.JDBC" working properly with "jython" through the following commands: - export CLASSPATH=/tmp/sqlite-jdbc-3.7.2.jar:$CLASSPATH - jython example.py I have a problem when I try to use this examples like Burp Suite extensions, because of the extension is crashing with the following error message: "java.lang.ClassNotFoundException: java.lang.ClassNotFoundException: org.sqlite.JDBC" The error occurs when jython is parsing the following line: Class.forName("org.sqlite.JDBC").newInstance() I have executed Burp Suite on the following ways: - java -XX:MaxPermSize=1G -classpath ".:sqlite-jdbc-3.7.2.jar" -jar burpsuite.jar or - export CLASSPATH=/tmp/sqlite-jdbc-3.7.2.jar:$CLASSPATH ; java -XX:MaxPermSize=1G -jar burpsuite.jar But it have never found the class. I dont know what I am doing wrong. Thanks,

PortSwigger Agent | Last updated: Apr 24, 2015 08:24AM UTC