Skip to content

Instantly share code, notes, and snippets.

@vortexau
Last active October 21, 2017 05:17
Show Gist options
  • Save vortexau/c1fc7daddc3ef71495ea012c80c93e91 to your computer and use it in GitHub Desktop.
Save vortexau/c1fc7daddc3ef71495ea012c80c93e91 to your computer and use it in GitHub Desktop.

Version 1

Debian installed as VM. Single Struts app, just to test the install process.

apt-get update && apt-get -y upgrade

apt-get install tomcat8 maven

cd to project directory

Build WAR file:

mvn war:war

Copy target/vulnerable-struts.war to /var/lib/tomcat8/webapps/

Restart tomcat.

Browse to ip:8080/vulnerable-struts/index.action

Hack.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment