Hi all,
I'm a student trying out ZAP and I chanced upon this really cool article:
https://www.zaproxy.org/blog/2021-02-10-automate-checking-asvs-controls-using-zap-scripts/
I have been trying to use docker to run the scan (as automation is the end goal) and use these ASVS scripts but I can't seem to get it to work. It displays the missing hook error. (The scripts aren't hooks)
These are my commands:
git clone https://github.com/BlazingWind/OWASP-ASVS-4.0-testing-guide/ && cd OWASP-ASVS-4.0-testing-guide/ZAP-scripts
docker run --rm -v $(pwd):/home/zap -w /home/zap owasp/zap2docker-stable:2.10.0 /bin/bash -c "cd ..; zap-baseline.py -t https://example.com -j zap-output.json -z \"--script /src/14-5-1-HTTP-methods.py\""
Please send help!!
Regards,
Ding Yang
Newbie ZAPPER