Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Impossible to load external scripts via cli #89

Open
duronrulez opened this issue Nov 1, 2019 · 2 comments
Open

Impossible to load external scripts via cli #89

duronrulez opened this issue Nov 1, 2019 · 2 comments

Comments

@duronrulez
Copy link

duronrulez commented Nov 1, 2019

zap-cli -v --zap-path /opt/zaproxy/ scripts load -n Auth -e "Mozilla Zest" -t Authentication -f /home/Auth.zst

[DEBUG] Loading script "Auth" from "/home/Auth.zst"

[ERROR] Error loading script: Does Not Exist

$ ls -al /home/Auth.zst
-rw-r--r-- 1 root root 7874 Nov 1 13:58 /home/Auth.zst

The file is present, but does not get loaded. The error is quite unhelpful, if the file is actually missing the error is different as well:

[ERROR] No file found at "/home/Auth.zsasdt", cannot load script.

@AbhishekPuranam
Copy link

Same issue for me.

@methsib
Copy link

methsib commented May 16, 2021

zap-cli -v scripts load -n app-login -t authentication -e 'Zest : Mozilla Zest' -f app-login.zst works.

When i use Authentication, it was giving error as org.zaproxy.zap.extension.api.ApiException: does_not_exist in zap logs.

Changing Authentication to authentication worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants