Hi everyone, I created a script to scan all our links, it currently looks like this:
@echo off
start zap.bat.lnk -daemon -silent -nostdout -quickurl
https://url1.com -quickout C:\OwaspZapScan\url1.com.xml -quickprogress
@pause
start zap.bat.lnk -daemon -silent -nostdout -quickurl
https://url2.com -quickout C:\OwaspZapScan\url2.com.xml -quickprogress
@pause
When a scan ends, it stays with the window open until I close it. I would like to know if I can make a window close when the scan is finished and if it is possible that this window will also send a command to the main bat to start the next scan.