ZAP Automation - Regarding .conf file generation while the zap-baseline scan

152 views
Skip to first unread message

Khopithan Sathiyakeerthy

unread,
May 17, 2021, 12:36:17 AM5/17/21
to OWASP ZAP User Group
Hi all, 

I am newbie to ZAP and ZAP automation. So, I'm following Simon's tutorial.

I tried this following command but it didn't generate any .conf file

docker run -v $(pwd):/zap/wrk/:rw -t owasp/zap2docker-weekly zap-baseline.py -t http://example.com -d –g example.conf 

It did not start like as him. It was started to run as,

a.png

Thanks & Regards,
Khopi

Simon Bennetts

unread,
May 17, 2021, 4:34:30 AM5/17/21
to OWASP ZAP User Group
Hi Khopi,

Yeah, the baseline scan will still run so thats expected.
What happens when you leave it to finish?

Cheers,

Simon

Khopithan Sathiyakeerthy

unread,
May 17, 2021, 7:40:02 AM5/17/21
to OWASP ZAP User Group
Hi Simon,

Thank you very much for your immediate response.

I got this when the scan is finished,

r1.png

But it didn't generate any .conf file.




And also I ran this too,

docker run -v ${PWD}:/zap/wrk/:rw -t owasp/zap2docker-weekly zap-baseline.py -t http://example.com -d -r test.html

The scan ran successfully but I got this error. So, I think, this might be the reason for not generating the conf file too

r2.png

Can you please help me to fix this. Thanks.

Regards,
Khopi
Reply all
Reply to author
Forward
0 new messages