metasploitable3/scripts/installs/setup_apache_struts.bat
Matt Robinson 550140e51f
Fix typo in script
This is windows, not unix :)
2017-06-26 21:01:04 -04:00

9 lines
377 B
Batchfile

del "%CATALINA_HOME%\conf\tomcat-users.xml"
copy C:\vagrant\resources\apache_struts\tomcat-users.xml "%CATALINA_HOME%\conf\tomcat-users.xml"
copy C:\vagrant\resources\apache_struts\server.xml "%CATALINA_HOME%\conf"
sc config Tomcat8 start= auto
net start "Apache Tomcat 8.0 Tomcat8"
copy C:\vagrant\resources\apache_struts\struts2-rest-showcase.war "%CATALINA_HOME%\webapps"