forked from appsecco/dvna
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathlearn.ejs
68 lines (64 loc) · 3.04 KB
/
learn.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
<!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'>
<% if (messages.success) { %>
<div class="alert alert-success"><%=messages.success%></div>
<% } else if (messages.danger) { %>
<div class="alert alert-danger"><%= messages.danger %></div>
<% } else if (messages.warning) {%>
<div class="alert alert-warning"><%= messages.warning %></div>
<% } else if (messages.info) {%>
<div class="alert alert-info"><%= messages.info %></div>
<% } %>
<h3>Welcome to <strong>Damn Vulnerable NodeJS Application</strong></h3>
<p>The <i>Damn Vulnerable NodeJS Application</i> implements a set of intentionally vulnerable functions in NodeJS for learning purpose.
Start by selecting one of the vulnerability class from the left menu or select one of the link below </p>
<h4>OWASP Top 10 2017</h4>
<ul>
<% for (var vulnKey in vulnerabilities) { %>
<% if (vulnKey[1]!='x') { %>
<li><a href='/learn/vulnerability/<%=vulnKey%>'> <%=vulnerabilities[vulnKey]%> </a></li>
<% } %>
<% } %>
</ul>
<h4>OWASP Top 10 2013</h4>
<ul>
<% for (var vulnKey in vulnerabilities) { %>
<% if (vulnKey[1]=='x') { %>
<li><a href='/learn/vulnerability/<%=vulnKey%>'> <%=vulnerabilities[vulnKey]%> </a></li>
<% } %>
<% } %>
</ul>
</div>
</div>
</div></div></div>
<% include common/footer %>
</body>
</html>