Closed Vijay1216 closed 11 months ago
Hello @Vijay1216 ! Thank you for your ticket!
Ask to you:
docker run --rm -v $(pwd):/zap/wrk/:rw -t ictu/zap2docker-weekly zap-baseline.py -I -j
-t https://target.com \
-r test-report.html \
--hook=/zap/auth_hook.py \
-z "auth.loginurl=https://target.com/login \
auth.username="test" \
auth.password="test123" \
auth.username_field="j_username" \
auth.password_field="j_password" \
auth.submit_field="submit" \"
There could be many cases when authentication could not work (that's why, log from console is very helpful):
Best regards, Rafał Meisel
I tried this docker run --rm -v $(pwd):/zap/wrk/:rw -t ictu/zap2docker-weekly zap-baseline.py -I -j \ -t https://target.com/ \ -r test-report.html \ --hook=/zap/auth_hook.py \ -z "auth.loginurl=https://target.com/login \ auth.username="test" \ auth.password='test123'"
But it's not authenticating the url target.com/login