-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
57 lines (47 loc) · 1.82 KB
/
index.html
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
<!doctype html>
<html>
<head>
<title>NetVis Network Visualiser</title>
<link rel="stylesheet" href="css/style.css">
<link rel="shortcut icon" href="favicon.ico">
<meta charset='utf-8'>
</head>
<body>
<header>
<h1>NetVis</h1>
</header>
<div id="main">
<div class="sidebar">
<h2>Devices</h2>
<ul data-bind="foreach: hosts">
<li data-bind="text: addresses.ipv4, click: $parent.selectedHost">
<img src='images/spiffygif_78x78.gif'>
</li>
</ul>
</div>
<div class="panel" data-bind="with: selectedHost">
<h1 data-bind="text: addresses.ipv4"></h1>
<div class="vulns">
<h2>Services</h2>
<div data-bind="foreach: {data: Object.keys(tcp), as: '_port_key'}">
<h3 data-bind="text: $parent.tcp[_port_key].name"></h3>
<p><strong>Product:	</strong><span data-bind="text: $parent.tcp[_port_key].product"></span></p>
<p><strong>Version:	</strong><span data-bind="text: $parent.tcp[_port_key].version">Unknown</span></p>
<p><strong>CPE:	</strong><span data-bind="text: $parent.tcp[_port_key].cpe">Unknown</span></p>
<h4>Vulnerabilities</h4>
<div class="vulnlist" data-bind="foreach: $parent.tcp[_port_key].vulnerabilities">
<p><strong>Summary: </strong><span data-bind="text: summary"></span></p>
<p><strong>CVE: </strong><span data-bind="text: id"></span></p>
<p><strong>Date Published: </strong><span data-bind="text: Published"></span></p>
</div>
</div>
</div>
</div>
</div>
<script src="vendor/jquery/dist/jquery.js"></script>
<script src="vendor/underscore/underscore.js"></script>
<script src="vendor/knockout/dist/knockout.js"></script>
<script src="js/templates/index.js" charset="utf-8"></script>
<script src="js/ben-main.js" charset="utf-8"></script>
</body>
</html>