zap-cli icon indicating copy to clipboard operation
zap-cli copied to clipboard

Problem with ZAP-CLI

Open John33000 opened this issue 6 years ago • 3 comments

I lunch the same command like you : zap-cli quick-scan --self-contained --spider -r -s xss http://....

I defined environment variables ZAP_PATH and ZAP_PORT. But I have error python like this : image

I scan VM with DVWA

John33000 avatar Mar 21 '19 08:03 John33000

most probably you did not define API key. Find out by checking the zap.log helped me

wheelq avatar Apr 24 '19 08:04 wheelq

Yeah, as @wheelq said, that error is nearly always due to a missing API key. Make sure you have also set your API key in ZAP_API_KEY.

Grunny avatar Apr 24 '19 10:04 Grunny

in ubuntu where to set ZAP_API_KEY, @Grunny , I have not found any logs on running the same command in zap.log

ghost avatar Jul 28 '20 19:07 ghost