https://github.com/zaproxy/zap-core-help/wiki/HelpCmdlineUse -daemon
Excellent. Issue was with the older version of ZAP.Now ZAP runs fine from command prompt. I created a bat file with the following syntax, try executing the .bat file from my java program:@echo on "results stored at: C:\Program Files (x86)\OWASP\Zed Attack Proxyjava -jar zap-2.5.0.jar -quickurl http://localhost:8080/VMS/ -quickprogress -quickout report.xmlexitand its stuck at "INFO: Initializing ExtensionHistory". What should be done to get the scan running?
However, when I doubleclick the .bat file the above command scans only getLogin.java and Login.jsp. Is there a way where I can supply the default user credentials in the command?And the -quickout report.xml displays an error 'The directory of given '-quickout' file is not writable: C:\RRPV\VMSInstalledTools\OWASPNew\Zed Attack Proxy\'