Python jython script engine does not exist in the Weekly Docker image

429 views
Skip to first unread message

V_Reddy

unread,
Apr 4, 2019, 11:45:02 AM4/4/19
to OWASP ZAP User Group
Hi,
I am trying to load a python script using the ZAP python API in the Docker image (Weekly) and it seems the 'Python : jython' script engine does not exist.

http://localhost:54710 "GET http://zap/JSON/script/view/listEngines/ HTTP/1.1" 200 69
Script Engines -> [u'ECMAScript : Oracle Nashorn', u'Zest : Mozilla Zest']


Is there an additional step to be taken to enable or install the 'Python' script engine in ZAP? Am I missing something?
Can you pls help?

Thanks,
V

thc...@gmail.com

unread,
Apr 4, 2019, 11:56:09 AM4/4/19
to zaprox...@googlegroups.com
Hi.

The Python Scripting add-on is not included by default (in any release).
You need to install it, for example, through the command line [1] when
starting ZAP:
-addoninstall jython

or by calling the autoupdate [2] API:
zap.autoupdate.install_addon("jython")


[1] https://github.com/zaproxy/zap-core-help/wiki/HelpCmdline
[2] https://github.com/zaproxy/zaproxy/wiki/ApiGen_autoupdate

Best regards.

V_Reddy

unread,
Apr 4, 2019, 12:04:39 PM4/4/19
to OWASP ZAP User Group
Ah, makes sense!

Thanks so much for your quick reply!

V

Reply all
Reply to author
Forward
0 new messages