-
Notifications
You must be signed in to change notification settings - Fork 468
Setup Local Shepherd
Mark Denihan edited this page Oct 23, 2015
·
9 revisions
This wiki will walkthrough how to create a local instance of Shepherd and building the application from source with the build.xml . Ideal for developing.
- Make sure you have the git repositories for the OWASP/SecurityShepherd project (Or your fork)
- Install Tomcat (Port 8080 is default)
- Install MySQL (Port 3306 is default)
- Update the SecurityShepherdCore/site/WEB-INF/coreDatabase.properties file to reflect your local DB username and password (DO NOT COMMIT THESE CHANGES)
- Update the "tomcat" property in SecurityShepherdCore/build.xml to be the "webapps" directory of your Tomcat deployment (DO NOT COMMIT THESE CHANGES)
- Run the SecurityShepherdCore/database/coreSchema.sql and SecurityShepherdCore/database/moduleSchemas.sql in your MySQL server as a root user
- Through eclipse, run the ant build script "build.xml". This will compile the application into a .WAR file and place it in your tomcat webapps directory. Tomcat will know what to do with it
- Navigate to http://127.0.0.1:8080/ to see Shepherd running (Or whatever port you configured Tomcat to operate on)
- Sign in with default username and password (admin/password), and change the password.
@PhilDunphy has made a video of this process: Shepherd Manual Setup And Build From Source
- To setup and install MonogoDB for the NoSQL Injection Level found in shepherd, follow the steps to install here: https://docs.mongodb.org/manual/tutorial/install-mongodb-on-windows/
- Use the MongoDB shell to execute the mongoSchema.js file: https://docs.mongodb.org/manual/reference/method/load/