Name is required.
Email address is required.
Invalid email address
Answer is required.
Exceeding max length of 5KB

when I install a python extender(burpsmartbuster), it points out that "failed to load bapp"

si huo Jan 28, 2019 04:38AM UTC

I have already install jython.jar file(2.7,the file has been selected in options) and python(but i have two versions of python and both of them is system variables)
the error messages is here:
java.lang.IllegalArgumentException: Cannot create PyString with non-byte value
at org.python.core.PyString.<init>(PyString.java:64)
at org.python.core.PyString.<init>(PyString.java:70)
at org.python.core.Py.newString(Py.java:641)
at org.python.core.PySystemState.initRegistry(PySystemState.java:800)
at org.python.core.PySystemState.doInitialize(PySystemState.java:1045)
at org.python.core.PySystemState.initialize(PySystemState.java:974)
at org.python.core.PySystemState.initialize(PySystemState.java:930)
at org.python.core.PySystemState.initialize(PySystemState.java:925)
at org.python.core.PySystemState.initialize(PySystemState.java:920)
at org.python.core.PySystemState.initialize(PySystemState.java:916)
at org.python.core.ThreadStateMapping.getThreadState(ThreadStateMapping.java:32)
at org.python.core.Py.getThreadState(Py.java:1440)
at org.python.core.Py.getThreadState(Py.java:1436)
at org.python.core.Py.getSystemState(Py.java:1456)
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:105)
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:94)
at org.python.util.PythonInterpreter.<init>(PythonInterpreter.java:71)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Source)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at burp.a4e.<init>(Unknown Source)
at burp.fme.a(Unknown Source)
at burp.q0h.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)


Paul Johnston Jan 28, 2019 12:20PM UTC Support Center agent

Can you please confirm the versions of your OS, Java and Burp. Are you installing using the BApp Store?


si huo Jan 28, 2019 01:39PM UTC
Hi, thanks for reply! I have confirmed that the Java was the latest, the version burp is .31 and I am using windows 10 pro. I can install other bapps which is of Java.CSRF SCANNER for example.So, it is very strange for me to figure it out. Thanks again for your reply.

si huo Jan 28, 2019 01:41PM UTC
To add: yes, I use BApp Store on burp to install.

Paul Johnston Jan 29, 2019 11:31AM UTC Support Center agent

Please check if you can install other Python extensions (e.g. Active Scan++) or if the problem is specific to BurpSmartBuster

Also, make sure you’re using jython-standalone.jar


si huo Jan 30, 2019 08:45AM UTC
When I use other python extensions, the issues occurs yet. I am sure I use the jython.jar.

Paul Johnston Jan 30, 2019 10:37AM UTC Support Center agent

Can you send us a screenshot of your Extender > Options tab. Just to be clear, it must be jython-standalone.jar that you use.


Ľubomír Mlích May 28, 2019 08:30AM UTC
Hi,
I see this error, with:
- Ubuntu 16.04
- java version "11.0.1" 2018-10-16 LTS or java version "1.8.0_201" or openjdk version "1.8.0_212"
- Burp Suite Community Edition v 1.7.36
- jython-standalone-2.7.0.jar (there is other error with non standalone version)
- extension "Python Scripter" or extension "BurpSmartBuster" via BApp Store

Liam Tai-Hogan May 30, 2019 09:47AM UTC Support Center agent

Ľubomír, are you able to load other extensions written in Python?


Ľubomír Mlích May 30, 2019 11:59AM UTC
Which one would you like me to try, Liam?

Liam Tai-Hogan May 31, 2019 10:09AM UTC Support Center agent

Could you try loading Active Scan++?


Post Your public answer

Your name
Your email address
Answer