1

I am trying to run OWASP ZAP automatically using command line. I have tried using the API as described here, but I am getting these errors.

I have also tried with zapr, but it's also showing error as set path while I have try to set it by every possible combination.

You have any way and their steps/tutorial (link, video) so I can achieve same.

schroeder
  • 129,372
  • 55
  • 299
  • 340
Shubham Jain
  • 111
  • 1
  • 4
  • 3
    Answered here: https://stackoverflow.com/questions/45566018/getting-error-in-python-code-for-automate-owsap-zap-for-the-application/45588479?noredirect=1#comment78136492_45588479 no point in duplicating it ;) – Simon Bennetts Aug 10 '17 at 07:29

1 Answers1

0

I ran into a similar issue while trying it. Not sure if you found a way to set the ZAP home path for the zapr wrapper. This worked for me:

zapr --summary --debug --zap-path $/usr/share/zaproxy/zap.sh http://localhost:3000
guntbert
  • 1,963
  • 2
  • 18
  • 21