mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-07-02 01:35:50 +02:00
550140e51f
This is windows, not unix :)
9 lines
377 B
Batchfile
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"
|