owasp

Launch ZAP using a script if not already running

Launch ZAP using a script if not already running Question: I launch ZAP with a Python script using subprocess: filePath=r"C:\Program Files\OWASP\Zed Attack Proxy\zap-2.11.1.jar" subprocess.Popen(filePath, shell=True, stdout=subprocess.PIPE) This script works fine and launches ZAP. However, I’d like to have a check whether the app is already running and if so, not to launch it again. I …

Total answers: 1