Unable to run Python Standalone Script

64 views
Skip to first unread message

zapper

unread,
Jul 13, 2022, 1:10:16 PM7/13/22
to OWASP ZAP Scripts
I have a stand alone zest script that is calling another stand alone Python script via "Zest Action - Script". I have the Python file saved. However, when running the Zest script, the console stops as soon as it reaches the call to the Python script with the following error:

Unknown script engine for extension: py
java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 0java.lang.IndexOutOfBoundsException: Index -1 out of bounds for length 0

I have installed Jython from the marketplace. Can anyone help point me in the right direction to resolve this issue?

Thanks!

thc...@gmail.com

unread,
Jul 13, 2022, 6:59:41 PM7/13/22
to zaproxy...@googlegroups.com
Hi.

Currently the Python scripts can't be invoked from Zest scripts
(invoking JavaScript scripts work fine), this is an issue being resolved.

Best regards.
Reply all
Reply to author
Forward
0 new messages