简体   繁体   English

OWASP zap在命令promt中运行

[英]OWASP zap run in command promt

Is there any way to run OWASP zap in CMD mode? 有没有办法在CMD模式下运行OWASP zap?

  1. I have selenium scripts it opens the browser and runs. 我有selenium脚本它打开浏览器并运行。
  2. When running it auto record all the requests to Zap (already completed). 运行时,自动将所有请求记录到Zap(已完成)。
  3. Now I need to run the OWASP zap zed using Jenkins or using selenium. 现在我需要使用Jenkins或使用selenium运行OWASP zap zed。

Is there any way to do this? 有没有办法做到这一点?

Change the standard mode to attack mode and execute the attack, then email the HTML report. 将标准模式更改为攻击模式并执行攻击,然后通过电子邮件发送HTML报告。

Yes there is! 就在这里! You can use the zap CLI for that. 您可以使用zap CLI The CLI let you start an active scan and get the report. CLI允许您启动主动扫描并获取报告。 There is also the base line scan that is bundled in the docker image, and you can always use the API directly. 还有一个捆绑在docker镜像中的基线扫描 ,您可以随时直接使用API Each one of these approaches can let you achieve what you want - besides sending an email. 除了发送电子邮件之外,这些方法中的每一种都可以让您实现您想要的效果。 This can be done (I hope) with Jenkins. 这可以(我希望)与詹金斯完成。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM