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

Jython Error for Burp Extension

Malaka | Last updated: Nov 13, 2015 05:40AM UTC

Hey, I am trying to configure the jython api for Burp Suite and I am getting the following error. Does anyone know what I can do to fix this? root@osboxes:~/jython-burp-api# java -jar jython.jar -Dpython.path=Lib/ run.py -B burp.jar -i -d -v 2015-11-13 00:13:24,298 - BurpExtender - ERROR - Could not load console tab Traceback (most recent call last): File "/root/jython-burp-api/Lib/burp_extender.py", line 181, in registerExtenderCallbacks from gds.burp.ui import ConsoleTab File "/root/jython-burp-api/Lib/gds/burp/ui.py", line 12, in <module> from .console import Console File "/root/jython-burp-api/Lib/gds/burp/console/__init__.py", line 12, in <module> from console import Console File "/root/jython-burp-api/Lib/gds/burp/console/console.py", line 24, in <module> class Console(object): File "/root/jython-burp-api/Lib/gds/burp/console/console.py", line 25, in Console PS1 = sys.ps1 AttributeError: '<reflected field public org.python.core.PyObject o' object has no attribute 'ps1' 2015-11-13 00:13:25,430 - BurpExtender - DEBUG - Monitoring /root/jython-burp-api/Lib/gds/burp/menu/console.py for changes 2015-11-13 00:13:25,530 - BurpExtender - DEBUG - Monitoring /root/jython-burp-api/burp.ini for changes Traceback (most recent call last): File "run.py", line 117, in <module> start_burp(opt, *args) File "run.py", line 65, in start_burp Burp.console = console = JLineConsole() TypeError: org.python.util.JLineConsole(): expected 1 args; got 0 2015-11-13 00:14:51,417 - BurpExtender - ERROR - Could not load console tab Traceback (most recent call last): File "/root/jython-burp-api/Lib/burp_extender.py", line 181, in registerExtenderCallbacks from gds.burp.ui import ConsoleTab File "/root/jython-burp-api/Lib/gds/burp/ui.py", line 12, in <module> from .console import Console File "/root/jython-burp-api/Lib/gds/burp/console/__init__.py", line 12, in <module> from console import Console File "/root/jython-burp-api/Lib/gds/burp/console/console.py", line 24, in <module> class Console(object): File "/root/jython-burp-api/Lib/gds/burp/console/console.py", line 25, in Console PS1 = sys.ps1 AttributeError: '<reflected field public org.python.core.PyObject o' object has no attribute 'ps1' Thanks!

Liam, PortSwigger Agent | Last updated: Nov 13, 2015 01:42PM UTC