[英]OWASP ZAP - Initiated ZAP Daemon instance is not shutting down via Python after scan in Gitlab CI/CD
java -jar app.jar -daemon -dir $(pwd) & java -jar app.jar -daemon -dir $(pwd) &
I tried the zap.core.shutdown() but core is not being recognised at all even though all the necessary packages are installed.我尝试了 zap.core.shutdown() 但即使安装了所有必要的软件包,也根本无法识别核心。
Is running the ZAP as a daemon a problem since I am trying to shut it down from the python script?将 ZAP 作为守护程序运行是否有问题,因为我试图从 python 脚本中关闭它?
That API call should do the trick.该 API 调用应该可以解决问题。 Are any other API calls failing?
是否有任何其他 API 调用失败? Are there any errors in the zap.log file?
zap.log 文件中是否有任何错误?
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.