Hi.
It's not enough to just copy the script(s) to the "scripts" directory,
you also need to add it to ZAP, which can be done with command line
arguments. [1]
(also, the script(s) does not need to be located in that directory as
the referenced example shows)
But, if you already have a ZAP "home" directory prepared for your use
case you can just set ZAP to use it with command line argument "-dir". [2]
That should simplify the set up a bit.
> /home/.ZAP/scripts/scripts/passive/TestScript.js >>> the double scripts folder is a bug?
There's two "scripts" directories because the first is the main
"scripts" directory which has the "scripts" being used and the available
"templates".
[1]
https://github.com/zaproxy/zaproxy/wiki/FAQscriptCmdLine
[2]
https://github.com/zaproxy/zap-core-help/wiki/HelpCmdline
Best regards.
> --
> You received this message because you are subscribed to the Google
> Groups "OWASP ZAP User Group" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
zaproxy-user...@googlegroups.com
> <mailto:
zaproxy-user...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/optout.