<commit_before><%@ 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"%>
<%@ page import="org.t246osslab.easybuggy.core.utils.MessageUtils" %>
<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="indexpage" />
<%
    session.removeAttribute("dlpinit");
    String permName = MessageUtils.getMsg("label.metaspace", request.getLocale());
    String permNameInErrorMsg = permName;
    String javaVersion = System.getProperty("java.version");
    if (javaVersion.startsWith("1.6") || javaVersion.startsWith("1.7")) {
        permName = MessageUtils.getMsg("label.permgen.space", request.getLocale());
        permNameInErrorMsg = "PermGen space";
    }
%>
<!DOCTYPE html>
<html>
<head>
<title>EasyBuggy</title>
<link rel="icon" type="image/vnd.microsoft.icon" href="/images/favicon.ico">
<c:import url="/dfi/style_bootstrap.html" />
</head>
<body style="margin-top: 20px; margin-left: 20px; margin-right: 20px;">
	<header>
		<table style="width: 720px;">
			<tr>
				<td><img src="images/easybuggy.png"></td>
				<td><fmt:message key="description.all" /></td>
			</tr>
		</table>
	</header>
	<hr>
	<h2>
		<span class="glyphicon glyphicon-knight"></span>&nbsp;
		<fmt:message key="section.troubles" />
	</h2>
	<p>
		<fmt:message key="description.troubles" />
	</p>
	<ul>
		<li><p>
				<a href="deadlock"><fmt:message key="function.name.dead.lock" /></a>:
				<fmt:message key="function.description.dead.lock" />
			</p></li>
		<li><p>
				<a href="deadlock2"><fmt:message key="function.name.dead.lock2" /></a>:
				<fmt:message key="function.description.dead.lock2" />
			</p></li>
		<li><p>
				<a href="endlesswaiting"><fmt:message
						key="function.name.endless.waiting.process" /></a>:
				<fmt:message key="function.description.endless.waiting.process" />
			</p></li>
		<li><p>
				<a href="infiniteloop" target="_blank"><fmt:message
						key="function.name.infinite.loop" /></a>:
				<fmt:message key="function.description.infinite.loop" />
			</p></li>
		<li><p>
				<a href="redirectloop" target="_blank"><fmt:message
						key="function.name.redirect.loop" /></a>:
				<fmt:message key="function.description.redirect.loop" />
			</p></li>
		<li><p>
				<a href="forwardloop" target="_blank"><fmt:message
						key="function.name.forward.loop" /></a>:
				<fmt:message key="function.description.forward.loop" />
			</p></li>
		<li><p>
				<a href="jvmcrasheav" target="_blank"><fmt:message
						key="function.name.jvm.crash.eav" /> </a>:
				<fmt:message key="function.description.jvm.crash.eav" />
			</p></li>
		<li><p>
				<a href="memoryleak"><fmt:message
						key="function.name.memory.leak" /></a>:
				<fmt:message key="function.description.memory.leak" />
			</p></li>
		<li><p>
				<a href="memoryleak2">
					<fmt:message key="function.name.memory.leak2">
						<fmt:param value="<%=permName%>" />
					</fmt:message>
				</a>:
				<fmt:message key="function.description.memory.leak2">
					<fmt:param value="<%=permName%>" />
				</fmt:message>
			</p></li>
		<li><p>
				<a href="memoryleak3"><fmt:message
						key="function.name.memory.leak3" /></a>:
				<fmt:message key="function.description.memory.leak3" />
			</p></li>
		<li><p>
				<a href="netsocketleak"><fmt:message
						key="function.name.network.socket.leak" /></a>:
				<fmt:message key="function.description.network.socket.leak" />
			</p></li>
		<li><p>
				<a href="dbconnectionleak "><fmt:message
						key="function.name.database.connection.leak" /></a> :
				<fmt:message key="function.description.database.connection.leak" />
			</p></li>
		<li><p>
				<a href="filedescriptorleak "><fmt:message
						key="function.name.file.descriptor.leak" /></a> :
				<fmt:message key="function.description.file.descriptor.leak" />
			</p></li>
		<li><p>
				<a href="threadleak"><fmt:message
						key="function.name.thread.leak" /></a>:
				<fmt:message key="function.description.thread.leak" />
			</p></li>
		<li><p>
				<a href="mojibake"><fmt:message key="function.name.mojibake" /></a>:
				<fmt:message key="function.description.mojibake" />
			</p></li>
		<li><p>
				<a href="iof"><fmt:message key="function.name.int.overflow" /></a>:
				<fmt:message key="function.description.int.overflow" />
			</p></li>
		<li><p>
				<a href="roe"><fmt:message key="function.name.round.off.error" /></a>:
				<fmt:message key="function.description.round.off.error" />
			</p></li>
		<li><p>
				<a href="te"><fmt:message key="function.name.truncation.error" /></a>:
				<fmt:message key="function.description.truncation.error" />
			</p></li>
		<li><p>
				<a href="lotd"><fmt:message
						key="function.name.loss.of.trailing.digits" /></a>:
				<fmt:message key="function.description.loss.of.trailing.digits" />
			</p></li>
	</ul>

	<h2>
		<span class="glyphicon glyphicon-knight"></span>&nbsp;
		<fmt:message key="section.vulnerabilities" />
	</h2>
	<p>
		<fmt:message key="description.vulnerabilities" />
	</p>
	<ul>
		<li><p>
				<a href="xss"><fmt:message key="function.name.xss" /></a>:
				<fmt:message key="function.description.xss" />
			</p></li>
		<li><p>
				<a href="sqlijc"><fmt:message key="function.name.sql.injection" /></a>:
				<fmt:message key="function.description.sql.injection" />
			</p></li>
		<li><p>
				<a href="admins/main?logintype=ldapijc"><fmt:message
						key="function.name.ldap.injection" /></a>:
				<fmt:message key="function.description.ldap.injection" />
			</p></li>
		<li><p>
				<a href="codeijc"><fmt:message
						key="function.name.code.injection" /></a>:
				<fmt:message key="function.description.code.injection" />
			</p></li>
		<li><p>
				<a href="ognleijc"><fmt:message
						key="function.name.os.command.injection" /></a>:
				<fmt:message key="function.description.os.command.injection" />
			</p></li>
		<li><p>
				<a href="mailheaderijct"><fmt:message
						key="function.name.mail.header.injection" /></a>:
				<fmt:message key="function.description.mail.header.injection" />
			</p></li>
		<li><p>
				<a href="nullbyteijct"><fmt:message
						key="function.name.null.byte.injection" /></a>:
				<fmt:message key="function.description.null.byte.injection" />
			</p></li>
		<li><p>
				<a href="ursupload"><fmt:message
						key="function.name.unrestricted.size.upload" /></a>:
				<fmt:message key="function.description.unrestricted.size.upload" />
			</p></li>
		<li><p>
				<a href="ureupload"><fmt:message
						key="function.name.unrestricted.ext.upload" /></a>:
				<fmt:message key="function.description.unrestricted.ext.upload" />
			</p></li>
		<li><p>
				<a href="admins/main?logintype=openredirect"><fmt:message
						key="function.name.open.redirect" /></a>:
				<fmt:message key="function.description.open.redirect" />
			</p></li>
		<li><p>
				<a href="admins/main?logintype=bruteforce"><fmt:message
						key="function.name.brute.force" /></a>:
				<fmt:message key="function.description.brute.force" />
			</p></li>
		<li><p>
				<a href="<%=response.encodeURL("admins/main?logintype=sessionfixation")%>"><fmt:message
						key="function.name.session.fixation" /></a>:
				<fmt:message key="function.description.session.fixation" />
			</p></li>
		<li><p>
				<a href="admins/main?logintype=verbosemsg"><fmt:message
						key="function.name.verbose.error.message" /></a>:
				<fmt:message key="function.description.verbose.error.message" />
			</p></li>
		<li><p>
				<a href="/dfi/includable.jsp?template=style_bootstrap.html"><fmt:message
						key="function.name.dangerous.file.inclusion" /></a>:
				<fmt:message key="function.description.dangerous.file.inclusion" />
			</p></li>
		<li><p>
				<a href="/dt/includable.jsp?template=basic"><fmt:message
						key="function.name.path.traversal" /></a>:
				<fmt:message key="function.description.path.traversal" />
			</p></li>
		<li><p>
				<a href="/uid/clientinfo.jsp"><fmt:message<commit_msg>Add goto parameter to link to open redirect login page<commit_after><%@ 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"%>
<%@ page import="org.t246osslab.easybuggy.core.utils.MessageUtils" %>
<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="indexpage" />
<%
    session.removeAttribute("dlpinit");
    String permName = MessageUtils.getMsg("label.metaspace", request.getLocale());
    String permNameInErrorMsg = permName;
    String javaVersion = System.getProperty("java.version");
    if (javaVersion.startsWith("1.6") || javaVersion.startsWith("1.7")) {
        permName = MessageUtils.getMsg("label.permgen.space", request.getLocale());
        permNameInErrorMsg = "PermGen space";
    }
%>
<!DOCTYPE html>
<html>
<head>
<title>EasyBuggy</title>
<link rel="icon" type="image/vnd.microsoft.icon" href="/images/favicon.ico">
<c:import url="/dfi/style_bootstrap.html" />
</head>
<body style="margin-top: 20px; margin-left: 20px; margin-right: 20px;">
	<header>
		<table style="width: 720px;">
			<tr>
				<td><img src="images/easybuggy.png"></td>
				<td><fmt:message key="description.all" /></td>
			</tr>
		</table>
	</header>
	<hr>
	<h2>
		<span class="glyphicon glyphicon-knight"></span>&nbsp;
		<fmt:message key="section.troubles" />
	</h2>
	<p>
		<fmt:message key="description.troubles" />
	</p>
	<ul>
		<li><p>
				<a href="deadlock"><fmt:message key="function.name.dead.lock" /></a>:
				<fmt:message key="function.description.dead.lock" />
			</p></li>
		<li><p>
				<a href="deadlock2"><fmt:message key="function.name.dead.lock2" /></a>:
				<fmt:message key="function.description.dead.lock2" />
			</p></li>
		<li><p>
				<a href="endlesswaiting"><fmt:message
						key="function.name.endless.waiting.process" /></a>:
				<fmt:message key="function.description.endless.waiting.process" />
			</p></li>
		<li><p>
				<a href="infiniteloop" target="_blank"><fmt:message
						key="function.name.infinite.loop" /></a>:
				<fmt:message key="function.description.infinite.loop" />
			</p></li>
		<li><p>
				<a href="redirectloop" target="_blank"><fmt:message
						key="function.name.redirect.loop" /></a>:
				<fmt:message key="function.description.redirect.loop" />
			</p></li>
		<li><p>
				<a href="forwardloop" target="_blank"><fmt:message
						key="function.name.forward.loop" /></a>:
				<fmt:message key="function.description.forward.loop" />
			</p></li>
		<li><p>
				<a href="jvmcrasheav" target="_blank"><fmt:message
						key="function.name.jvm.crash.eav" /> </a>:
				<fmt:message key="function.description.jvm.crash.eav" />
			</p></li>
		<li><p>
				<a href="memoryleak"><fmt:message
						key="function.name.memory.leak" /></a>:
				<fmt:message key="function.description.memory.leak" />
			</p></li>
		<li><p>
				<a href="memoryleak2">
					<fmt:message key="function.name.memory.leak2">
						<fmt:param value="<%=permName%>" />
					</fmt:message>
				</a>:
				<fmt:message key="function.description.memory.leak2">
					<fmt:param value="<%=permName%>" />
				</fmt:message>
			</p></li>
		<li><p>
				<a href="memoryleak3"><fmt:message
						key="function.name.memory.leak3" /></a>:
				<fmt:message key="function.description.memory.leak3" />
			</p></li>
		<li><p>
				<a href="netsocketleak"><fmt:message
						key="function.name.network.socket.leak" /></a>:
				<fmt:message key="function.description.network.socket.leak" />
			</p></li>
		<li><p>
				<a href="dbconnectionleak "><fmt:message
						key="function.name.database.connection.leak" /></a> :
				<fmt:message key="function.description.database.connection.leak" />
			</p></li>
		<li><p>
				<a href="filedescriptorleak "><fmt:message
						key="function.name.file.descriptor.leak" /></a> :
				<fmt:message key="function.description.file.descriptor.leak" />
			</p></li>
		<li><p>
				<a href="threadleak"><fmt:message
						key="function.name.thread.leak" /></a>:
				<fmt:message key="function.description.thread.leak" />
			</p></li>
		<li><p>
				<a href="mojibake"><fmt:message key="function.name.mojibake" /></a>:
				<fmt:message key="function.description.mojibake" />
			</p></li>
		<li><p>
				<a href="iof"><fmt:message key="function.name.int.overflow" /></a>:
				<fmt:message key="function.description.int.overflow" />
			</p></li>
		<li><p>
				<a href="roe"><fmt:message key="function.name.round.off.error" /></a>:
				<fmt:message key="function.description.round.off.error" />
			</p></li>
		<li><p>
				<a href="te"><fmt:message key="function.name.truncation.error" /></a>:
				<fmt:message key="function.description.truncation.error" />
			</p></li>
		<li><p>
				<a href="lotd"><fmt:message
						key="function.name.loss.of.trailing.digits" /></a>:
				<fmt:message key="function.description.loss.of.trailing.digits" />
			</p></li>
	</ul>

	<h2>
		<span class="glyphicon glyphicon-knight"></span>&nbsp;
		<fmt:message key="section.vulnerabilities" />
	</h2>
	<p>
		<fmt:message key="description.vulnerabilities" />
	</p>
	<ul>
		<li><p>
				<a href="xss"><fmt:message key="function.name.xss" /></a>:
				<fmt:message key="function.description.xss" />
			</p></li>
		<li><p>
				<a href="sqlijc"><fmt:message key="function.name.sql.injection" /></a>:
				<fmt:message key="function.description.sql.injection" />
			</p></li>
		<li><p>
				<a href="admins/main?logintype=ldapijc"><fmt:message
						key="function.name.ldap.injection" /></a>:
				<fmt:message key="function.description.ldap.injection" />
			</p></li>
		<li><p>
				<a href="codeijc"><fmt:message
						key="function.name.code.injection" /></a>:
				<fmt:message key="function.description.code.injection" />
			</p></li>
		<li><p>
				<a href="ognleijc"><fmt:message
						key="function.name.os.command.injection" /></a>:
				<fmt:message key="function.description.os.command.injection" />
			</p></li>
		<li><p>
				<a href="mailheaderijct"><fmt:message
						key="function.name.mail.header.injection" /></a>:
				<fmt:message key="function.description.mail.header.injection" />
			</p></li>
		<li><p>
				<a href="nullbyteijct"><fmt:message
						key="function.name.null.byte.injection" /></a>:
				<fmt:message key="function.description.null.byte.injection" />
			</p></li>
		<li><p>
				<a href="ursupload"><fmt:message
						key="function.name.unrestricted.size.upload" /></a>:
				<fmt:message key="function.description.unrestricted.size.upload" />
			</p></li>
		<li><p>
				<a href="ureupload"><fmt:message
						key="function.name.unrestricted.ext.upload" /></a>:
				<fmt:message key="function.description.unrestricted.ext.upload" />
			</p></li>
		<li><p>
				<a href="admins/main?logintype=openredirect&goto=/uid/serverinfo.jsp"><fmt:message
						key="function.name.open.redirect" /></a>:
				<fmt:message key="function.description.open.redirect" />
			</p></li>
		<li><p>
				<a href="admins/main?logintype=bruteforce"><fmt:message
						key="function.name.brute.force" /></a>:
				<fmt:message key="function.description.brute.force" />
			</p></li>
		<li><p>
				<a href="<%=response.encodeURL("admins/main?logintype=sessionfixation")%>"><fmt:message
						key="function.name.session.fixation" /></a>:
				<fmt:message key="function.description.session.fixation" />
			</p></li>
		<li><p>
				<a href="admins/main?logintype=verbosemsg"><fmt:message
						key="function.name.verbose.error.message" /></a>:
				<fmt:message key="function.description.verbose.error.message" />
			</p></li>
		<li><p>
				<a href="/dfi/includable.jsp?template=style_bootstrap.html"><fmt:message
						key="function.name.dangerous.file.inclusion" /></a>:
				<fmt:message key="function.description.dangerous.file.inclusion" />
			</p></li>
		<li><p>
				<a href="/dt/includable.jsp?template=basic"><fmt:message
						key="function.name.path.traversal" /></a>:
				<fmt:message key="function.description.path.traversal" />
			</p></li>
		<li><p>
				<a href="/uid/clientinfo.jsp"><fmt:message
{'fraction_non_alphanumeric': 0.22210578227099, 'fraction_numerical': 0.003698680803846628, 'mean_word_length': 3.838353713092753, 'pattern_counts': {'":': 0, '<': 667, '<?xml version=': 0, '>': 665, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1972598', 'n_tokens_mistral': 6974, 'n_tokens_neox': 5820, 'n_words': 794}