Burp Suite User Forum

Create new post

Jython Error while installing Autorize from BApp Store

Dhanraj | Last updated: Mar 27, 2023 07:03AM UTC

Traceback (most recent call last): File "C:\Users\dhanr\AppData\Roaming\BurpSuite\bapps\f9bbac8c4acf4aefa4d7dc92a991af2f\Autorize.py", line 23, in registerExtenderCallbacks initiator.draw_all() File "C:\Users\dhanr\AppData\Roaming\BurpSuite\bapps\f9bbac8c4acf4aefa4d7dc92a991af2f\helpers\initiator.py", line 58, in draw_all tabs.draw() File "C:\Users\dhanr\AppData\Roaming\BurpSuite\bapps\f9bbac8c4acf4aefa4d7dc92a991af2f\gui\tabs.py", line 89, in draw controlR = KeyStroke.getKeyStroke(KeyEvent.VK_R, Toolkit.getDefaultToolkit().getMenuShortcutKeyMaskEx()) AttributeError: 'sun.awt.windows.WToolkit' object has no attribute 'getMenuShortcutKeyMaskEx' at org.python.core.Py.AttributeError(Py.java:176) at org.python.core.PyObject.noAttributeError(PyObject.java:965) at org.python.core.PyObject.object___getattribute__(PyObject.java:3752) at org.python.core.PyObject$object___getattribute___exposer.__call__(Unknown Source) at org.python.core.Deriveds.__findattr_ex__(Deriveds.java:59) at org.python.core.PyObjectDerived.__findattr_ex__(PyObjectDerived.java:1036) at org.python.core.PyObject.__getattr__(PyObject.java:957) at gui.tabs$py.draw$7(C:/Users/dhanr/AppData/Roaming/BurpSuite/bapps/f9bbac8c4acf4aefa4d7dc92a991af2f/gui/tabs.py:170) at gui.tabs$py.call_function(C:/Users/dhanr/AppData/Roaming/BurpSuite/bapps/f9bbac8c4acf4aefa4d7dc92a991af2f/gui/tabs.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyBaseCode.call(PyBaseCode.java:134) at org.python.core.PyFunction.__call__(PyFunction.java:416) at org.python.core.PyMethod.__call__(PyMethod.java:126) at helpers.initiator$py.draw_all$4(C:/Users/dhanr/AppData/Roaming/BurpSuite/bapps/f9bbac8c4acf4aefa4d7dc92a991af2f/helpers/initiator.py:58) at helpers.initiator$py.call_function(C:/Users/dhanr/AppData/Roaming/BurpSuite/bapps/f9bbac8c4acf4aefa4d7dc92a991af2f/helpers/initiator.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyBaseCode.call(PyBaseCode.java:134) at org.python.core.PyFunction.__call__(PyFunction.java:416) at org.python.core.PyMethod.__call__(PyMethod.java:126) at org.python.pycode._pyx4.registerExtenderCallbacks$2(C:/Users/dhanr/AppData/Roaming/BurpSuite/bapps/f9bbac8c4acf4aefa4d7dc92a991af2f/Autorize.py:31) at org.python.pycode._pyx4.call_function(C:/Users/dhanr/AppData/Roaming/BurpSuite/bapps/f9bbac8c4acf4aefa4d7dc92a991af2f/Autorize.py) at org.python.core.PyTableCode.call(PyTableCode.java:173) at org.python.core.PyBaseCode.call(PyBaseCode.java:306) at org.python.core.PyBaseCode.call(PyBaseCode.java:197) at org.python.core.PyFunction.__call__(PyFunction.java:485) at org.python.core.PyMethod.instancemethod___call__(PyMethod.java:237) at org.python.core.PyMethod.__call__(PyMethod.java:228) at org.python.core.PyMethod.__call__(PyMethod.java:218) at org.python.core.PyMethod.__call__(PyMethod.java:213) at org.python.core.PyObject._jcallexc(PyObject.java:3565) at org.python.core.PyObject._jcall(PyObject.java:3598) at org.python.proxies.__main__$BurpExtender$23.registerExtenderCallbacks(Unknown Source) at burp.b0h.run(Unknown Source) at java.lang.Thread.run(Unknown Source)

Hannah, PortSwigger Agent | Last updated: Mar 27, 2023 09:08AM UTC

Hi Could you tell me the version of Jython and the version of Burp that you are using? Do you have the same issue with any other Jython-based extensions?

Dhanraj | Last updated: Mar 29, 2023 04:30PM UTC

Hi, Burpsuite Version: 1.7.37 Jython Version: 2.7.3 I have installed other apps using Jython successfully. But, only the Autorize app gives the above error while installing.

Hannah, PortSwigger Agent | Last updated: Mar 31, 2023 09:58AM UTC

Hi If you use the latest version of Burp, do you also experience this issue? You can find our latest downloads and releases here: https://portswigger.net/burp/releases

Barak | Last updated: Apr 11, 2023 05:39PM UTC

Dhanraj - I just pushed this commit https://github.com/Quitten/Autorize/commit/127b99669776612db853c58ef0c1584cc0cca41b, which should solve this issue. I released a new version 1.7 on the repo: https://github.com/Quitten/Autorize/releases/tag/1.7 you can use it and give us some feedback if it works properly or not. Hannah - I created a PR - https://github.com/PortSwigger/autorize/pull/12/ so we will be able to push this fix for all users. Kind regards

Hannah, PortSwigger Agent | Last updated: Apr 13, 2023 03:05PM UTC

Thanks for the update Barak - we've got your email and will process the update as soon as we are able to.

You must be an existing, logged-in customer to reply to a thread. Please email us for additional support.