Merge branch 'next' of https://github.com/WebGoat/WebGoat into next

This commit is contained in:
diver-sity 2014-09-13 06:05:57 +10:00
commit bdb9d33bf6
9 changed files with 118 additions and 128 deletions

View File

@ -1,124 +1,97 @@
<%@ page contentType="text/html; charset=ISO-8859-1" language="java" <%@ page contentType="text/html; charset=ISO-8859-1" language="java"
errorPage=""%> errorPage=""%>
<!-- Latest compiled and minified CSS --> <!-- This modal content is included into the main_new.jsp -->
<link rel="stylesheet" href="plugins/bootstrap/css/bootstrap.min.css"/>
<link rel="stylesheet" href="css/webgoat.css" type="text/css" />
<div class="modal-header"> <div class="modal-content">
<button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">&times;</span><span class="sr-only">Close</span></button> <div class="modal-header">
<h1 class="modal-title" id="myModalLabel">About WebGoat</h1> <button type="button" class="close" data-dismiss="modal" aria-hidden="true">&times;</button>
</div> <h3 class="modal-title" id="myModalLabel">About WebGoat - Provided by the OWASP Foundation</h3>
<div class="modal-body"> </div>
<p>Thank you for using WebGoat! This program is a demonstration of common web application flaws. <div class="modal-body modal-scroll">
The exercises are intended to provide hands on experience with <p>Thanks for hacking The Goat!</p>
application penetration testing techniques. </p> <p>WebGoat is a demonstration of common web application flaws. The
<p>The WebGoat project is led associated exercises are intended to provide hands-on experience with
by Bruce Mayhew. Please send all comments to Bruce at [TODO, session was blowing up here for some reason].</p> techniques aimed at demonstrating and testing application penetration.
</p>
<div id="team"> <p>From the entire WebGoat team, we appreciate your interest and efforts
<table border="0" align="center" class="lessonText"> in making applications not just better, but safer and more secure for
<tr> everyone. We, as well as our sacrificial goat, thank you.</p>
<td width="50%"> <p>Version: 6.0</p>
<div align="center"><a href="http://www.owasp.org"><img <div class="row">
border="0" src="images/logos/owasp.jpg" alt="OWASP Foundation" <div class="col-md-6">
longdesc="http://www.owasp.org" /></a></div> <p>Contact us:
</td> <ul>
<td width="50%"> <li>WebGoat mailing list: owasp-webgoat@lists.owasp.org</li>
<div align="center"><a href="http://www.aspectsecurity.com"><img <li>Bruce Mayhew: webgoat@owasp.org</li>
border="0" src="images/logos/aspect.jpg" alt="Aspect Security" </ul>
longdesc="http://www.aspectsecurity.com" /></a></div> </p>
</td> </div>
</tr> </div>
<tr> <div class="row">
<td colspan="2"> <div class="col-md-6">
<div align="center"><span class="style1"> <p>WebGoat Authors
WebGoat Authors </span></div> <ul>
</td> <li>Bruce Mayhew (Project Lead)</li>
</tr> <li>Jeff Williams (Original Idea)</li>
<tr> <li>Richard Lawson (Architect)</li>
<td colspan="2"> <li>Jason White (Architect)</li>
<div align="center"><span class="style2"> </ul>
Bruce Mayhew </span></div> </p>
</td> </div>
</tr> <div class="col-md-6">
<tr> <p>WebGoat Design Team
<td colspan="2"> <ul>
<div align="center"><span class="style2"> <li>Richard Lawson</li>
Jeff Williams </span></div> <li>Bruce Mayhew</li>
</td> <li>Jason White</li>
</tr> <li>Ali Looney (User Interface)</li>
<tr> <li>Jeff Wayman (Website and Docs)</li>
<td width="50%"> </ul>
<div align="center"><span class="style1"><br /> </p>
WebGoat Design Team </span></div> </div>
</td> </div>
<td width="50%"> <div class="row">
<div align="center"><span class="style1"><br /> <div class="col-md-6">
V5.4 Lesson Contributers </span></div> <p>Active Contributors
</td> <ul>
</tr> <li>Nanne Baars (Developer)</li>
<tr> <li>Dave Cowden (Everything)</li>
<td valign="top"> <li>Keith Gasser (Survey)</li>
<div align="center" class="style2">David Anderson</div> <li>Li Simon (Developer)</li>
<div align="center" class="style2">Laurence Casey (Graphics)</div> </ul>
<div align="center" class="style2">Rogan Dawes</div> </p>
<div align="center" class="style2">Bruce Mayhew</div> </div>
</td> <div class="col-md-6">
<td valign="top"> <p>Past Contributors
<div align="center" class="style2">Sherif Koussa</div> <ul>
<div align="center" class="style2">Yiannis Pavlosoglou</div> <li>David Anderson (Developer/Design)</li>
<div align="center" class="style2"></div> <li>Christopher Blum (Lessons)</li>
<li>Laurence Casey (Graphics)</li>
</td> <li>Brian Ciomei (Bug fixes)</li>
</tr> <li>Rogan Dawes (Lessons)</li>
<tr> <li>Erwin Geirnaert (Solutions)</li>
<td height="25" valign="bottom"> <li>Aung Knant (Documentation)</li>
<div align="center"><span class="style1">Special Thanks <li>Ryan Knell (Lessons)</li>
for V5.4</span></div> <li>Christine Koppeit (Build)</li>
</td> <li>Sherif Kousa (Lessons/Documentation)</li>
<td height="25" valign="bottom"> <li>Reto Lippuner (Lessons)</li>
<div align="center"><span class="style1">Documentation <li>PartNet (Lessons)</li>
Contributers</span></div> <li>Yiannis Pavlosoglou (Lessons)</li>
</td> <li>Eric Sheridan (Lessons)</li>
</tr> <li>Alex Smolen (Lessons)</li>
<tr> <li>Chuck Willis (Lessons)</li>
<td> <li>Marcel Wirth (Lessons)</li>
<div align="center" class="style2">Brian Ciomei (Multitude of bug fixes)</div> </ul>
<div align="center" class="style2">To all who have sent comments</div> </p>
<p>Did we miss you? Our sincere apologies, as we know there have
</td> been many contributors over the years. If your name does not
<td> appear in any of the lists above, please send us a note. We'll
<div align="center" class="style2"> get you added with no further sacrifices required.</p>
<a href="http://www.zionsecurity.com/" target="_blank">Erwin Geirnaert</a></div> </div>
<div align="center" class="style2"> </div>
<a href="http://yehg.org/" target="_blank">Aung Khant</a></div> </div>
<div align="center" class="style2"> <div class="modal-footer">
<a href="http://www.softwaresecured.com" target="blank">Sherif Koussa</a> <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>
</td>
</tr>
<tr>
<td>
<div align="center" class="style2">&nbsp;</div>
</td>
</tr>
</table>
</div> </div>
<div align="center" class="style2">&nbsp;</div>
<div align="center" class="style2">&nbsp;</div>
<div align="center" class="style2">&nbsp;</div>
<div id="warning">WARNING<br />
While running this program, your machine is extremely vulnerable to
attack if you are not running on localhost. If you are NOT running on localhost (default configuration), You should disconnect from the network while using this program.
<br />
<br />
This program is for educational purposes only. Use of these techniques
without permission could lead to job termination, financial liability,
and/or criminal penalties.</div>
</div> </div>
<div class="modal-footer">
<button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>

View File

@ -57,7 +57,7 @@
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" /> <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<title>WebGoat V6.0</title> <title>WebGoat</title>
</head> </head>
<body class="animated fadeIn" ng-app="goatApp"> <body class="animated fadeIn" ng-app="goatApp">
@ -354,10 +354,11 @@
} }
</script> </script>
<!-- Modal --> <!-- About WebGoat Modal -->
<div class="modal fade" id="aboutModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"> <div class="modal fade" id="aboutModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
<div class="modal-dialog modal-lg"> <div class="modal-dialog modal-lg">
<div class="modal-content"> <div class="modal-content">
<jsp:include page="../pages/about.jsp"/>
</div> </div>
</div> </div>
</div> </div>

View File

@ -21,6 +21,7 @@
<http use-expressions="true"> <http use-expressions="true">
<intercept-url pattern="/login.mvc" access="permitAll" /> <intercept-url pattern="/login.mvc" access="permitAll" />
<intercept-url pattern="/logout.mvc" access="permitAll" /> <intercept-url pattern="/logout.mvc" access="permitAll" />
<intercept-url pattern="/index.jsp" access="permitAll" />
<intercept-url pattern="/servlet/AdminServlet/**" access="hasAnyRole('ROLE_WEBGOAT_ADMIN','ROLE_SERVER_ADMIN')" /> <intercept-url pattern="/servlet/AdminServlet/**" access="hasAnyRole('ROLE_WEBGOAT_ADMIN','ROLE_SERVER_ADMIN')" />
<intercept-url pattern="/JavaSource/**" access="hasRole('ROLE_SERVER_ADMIN')" /> <intercept-url pattern="/JavaSource/**" access="hasRole('ROLE_SERVER_ADMIN')" />
<intercept-url pattern="/**" access="hasAnyRole('ROLE_WEBGOAT_USER','ROLE_WEBGOAT_ADMIN','ROLE_SERVER_ADMIN')" /> <intercept-url pattern="/**" access="hasAnyRole('ROLE_WEBGOAT_USER','ROLE_WEBGOAT_ADMIN','ROLE_SERVER_ADMIN')" />

View File

@ -323,7 +323,7 @@
</mime-mapping> </mime-mapping>
<welcome-file-list> <welcome-file-list>
<welcome-file>login.mvc</welcome-file> <welcome-file>index.jsp</welcome-file>
</welcome-file-list> </welcome-file-list>
</web-app> </web-app>

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

View File

@ -74,16 +74,16 @@ img {
#header .brand { #header .brand {
float: left; float: left;
width: 240px; width: 240px;
min-height: 80px; height: 80px;
padding: 0 0 0 10px; padding: 0;
position: relative; position: relative;
background: #e84c3d url('img/logo.png') no-repeat 25px 26px; background: url('img/logoBG.jpg') no-repeat 0px 0px;
} }
#header .logo { #header .logo {
color: #fff; color: #fff;
font-size: 1.7em; font-size: 1.7em;
text-transform: uppercase; text-transform: uppercase;
padding: 23px 0 0 57px; padding: 23px 0 0 75px;
display: inline-block; display: inline-block;
} }
#header .logo span { #header .logo span {
@ -714,6 +714,17 @@ fieldset[disabled] .btn-warning.active {
color: #fff; color: #fff;
border: none; border: none;
} }
/* ==========================================================================
Modal
========================================================================== */
.modal-footer .btn + .btn {
margin-bottom: 5px;
}
.modal .modal-body.modal-scroll {
max-height: 350px;
overflow-y: auto;
}
/* ========================================================================== /* ==========================================================================
Media Queries Media Queries
========================================================================== */ ========================================================================== */
@ -774,7 +785,7 @@ fieldset[disabled] .btn-warning.active {
#topLinks { #topLinks {
float:right; float:right;
margin-right:5px;s margin-right:5px;
margin-top:3px; margin-top:3px;
} }

View File

@ -1,3 +1,4 @@
/*
body{ body{
min-width: 800px; min-width: 800px;
font-family: Arial,sans-serif; font-family: Arial,sans-serif;
@ -49,7 +50,7 @@ h5{
font-size: 100%; font-size: 100%;
color: #334d55; color: #334d55;
} }
*/
ul{ ul{
list-style-type: square; list-style-type: square;
} }

View File

@ -0,0 +1,3 @@
<%@ page session="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
<c:redirect url="/login.mvc"/>

View File

@ -151,7 +151,7 @@ goat.controller('goatLesson', function($scope, $http, $modal, $log, $templateCac
$scope.showAbout = function() { $scope.showAbout = function() {
$('#aboutModal').modal({ $('#aboutModal').modal({
remote: 'about.mvc' //remote: 'about.mvc'
}); });
}; };