forked from appsecco/dvna
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlayout.ejs
48 lines (43 loc) · 1.52 KB
/
layout.ejs
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<!DOCTYPE html>
<html lang="en">
<head>
<% include ../common/head %>
</head>
<body>
<% include ../common/navigation %>
<div class='container' style='min-height: 450px'><div class='row'><div class='col-md-12'>
<div class='row'>
<div class='col-md-3'>
<div class='list-group'>
<h4>OWASP Top 10 2017</h4>
<% for (var vulnKey in vulnerabilities) { %>
<% if (vulnKey[1]!='x') { %>
<a href="/learn/vulnerability/<%=vulnKey%>" class='list-group-item'>
<i class='fa fa-angle-double-right'></i> <%=vulnerabilities[vulnKey]%>
</a>
<% } %>
<% } %>
<h4>OWASP Top 10 2013</h4>
<% for (var vulnKey in vulnerabilities) { %>
<% if (vulnKey[1]=='x') { %>
<a href="/learn/vulnerability/<%=vulnKey%>" class='list-group-item'>
<i class='fa fa-angle-double-right'></i> <%=vulnerabilities[vulnKey]%>
</a>
<% } %>
<% } %>
</div>
</div>
<div class='col-md-9'>
<h3><%=vuln_title%></h3>
<h4>Scenario</h4>
<%- include(vuln_scenario) %>
<h4>Overview</h4>
<%- include(vuln_description) %>
<h4>Reference</h4>
<%- include(vuln_reference) %>
</div>
</div>
</div></div></div>
<% include ../common/footer %>
</body>
</html>