-
Notifications
You must be signed in to change notification settings - Fork 207
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add feature of information disclosure
- Loading branch information
Showing
10 changed files
with
66 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
Mark, password | ||
David, p@s2w0rd | ||
Peter, pa33word | ||
James, pathwood |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<!DOCTYPE HTML> | ||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> | ||
<html> | ||
<head> | ||
<title>EasyBuggy</title> | ||
<c:import url="/dfi/style_bootstrap.html" /> | ||
</head> | ||
<body style="margin:20px;"> | ||
<ul> | ||
<li><p>User-Agent: <%=request.getHeader("user-agent")%></p></li> | ||
<li><p>Accept-Language: <%=request.getHeader("Accept-Language")%></p></li> | ||
</ul> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
<%@ page pageEncoding="UTF-8"%> | ||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | ||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> | ||
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> | ||
<c:set var="language" | ||
value="${not empty param.language ? param.language : not empty language ? language : pageContext.request.locale}" | ||
scope="session" /> | ||
<fmt:setLocale value="${language}" /> | ||
<fmt:setBundle basename="messages" /> | ||
<!DOCTYPE HTML> | ||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> | ||
<html> | ||
<head> | ||
<title>EasyBuggy</title> | ||
<c:import url="/dfi/style_bootstrap.html" /> | ||
</head> | ||
<body style="margin:20px;"> | ||
<a href="/logout"><fmt:message key="label.logout" /></a><hr/> | ||
<% request.setAttribute("systemProperties", java.lang.System.getProperties()); %> | ||
<table width="760"> | ||
<tr> | ||
<th>Key</th> | ||
<th>Value</th> | ||
</tr> | ||
<c:forEach var="entry" items="${systemProperties}"> | ||
<tr> | ||
<td> | ||
<c:out value="${entry.key}" /> | ||
</td> | ||
<td> | ||
<c:out value="${entry.value}" /> | ||
</td> | ||
</tr> | ||
</c:forEach> | ||
</table> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters