--
You received this message because you are subscribed to the Google Groups "OWASP ZAP Scripts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zaproxy-scripts+unsubscribe@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/zaproxy-scripts/5331f80d-5074-4cc2-b115-51f309751b4f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You can't extend it. You have to copy it, make your changes and enable your copy.. To make a copy, open it in the "Script Console" tab, copy the source code, create a new Authentication script in the "Script" tab, paste source code and change it to suit your needs. You will see any error messages in the "Script console" 's bottom pane. To test it, enable your script and tell zap to make an authenticated scan after you've set the auth configuration.Take a look inside the other scripts. You'll notice that there are some pre-defined function names that ZAP automagically calls to have its job done. Just change those functions body code according to your application and things will (probably) work out for you.[]'s Ailton
2017-11-16 14:43 GMT-02:00 ka51m1r <christia...@gmail.com>:
Hi,I like to extend this script https://github.com/zaproxy/community-scripts/blob/master/authentication/MagentoAuthentication.js for my needs to login into our application.Where is the helper class located?How can I test this script? Can I run it from the command line so I can see the error messages?Kind regards,ka51m1r
--
You received this message because you are subscribed to the Google Groups "OWASP ZAP Scripts" group.
To unsubscribe from this group and stop receiving emails from it, send an email to zaproxy-scrip...@googlegroups.com.
void | setCookies(List<HttpCookie> cookies)Construct new "Cookie:" line in request header based on HttpCookies. |