mirror of
https://github.com/rapid7/metasploitable3.git
synced 2024-07-04 02:35:58 +02:00
7 lines
345 B
Batchfile
7 lines
345 B
Batchfile
rm "%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"
|
|
|
|
net start "Apache Tomcat 8.0 Tomcat8"
|
|
|
|
copy C:\vagrant\resources\apache_struts\struts2-rest-showcase.war "%CATALINA_HOME%\webapps" |