forked from ahvonenj/wpe-packet-analyzer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
113 lines (96 loc) · 2.78 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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!doctype html>
<html>
<head>
<title>WPA</title>
<link rel = "shortcut icon" type = "image/png" href = "wpa/wpe.png"/>
<link rel = "stylesheet" type = "text/css" href = "wpa/index.css">
<link href='https://fonts.googleapis.com/css?family=Roboto' rel='stylesheet' type='text/css'>
<script src = "wpa/jquery-2.2.2.min.js"></script>
<script src = "wpa/index.js"></script>
<script src = "wpa/wpa.js"></script>
<script src = "wpa/packet.js"></script>
<script src = "wpa/hopper.js"></script>
<script>
var wpa = null;
$(document).ready(function()
{
wpa = new Wpa($('#wpa-packet-table'), $('#wpa-analyze'));
refreshSavedPackets();
wpa.DemoLoadPackets();
});
</script>
</head>
<body>
<div id = "wpa-wrapper">
<div id = "wpa-left">
<h1>Packet input</h1>
<div id = "wpa-packet-table-wrapper">
<table id = "wpa-packet-table">
<tr>
<th>#</th>
<th>Options</th>
<th>Bytes</th>
</tr>
<tr>
<td>1</td>
<td>
<input type = "button" value = "Open" class = "wpa-packet-opt"/>
</td>
<td>
<textarea class = "wpa-packet-textarea">
</textarea>
</td>
</tr>
<tr>
<td>2</td>
<td>
<input type = "button" value = "Open" class = "wpa-packet-opt"/>
</td>
<td>
<textarea class = "wpa-packet-textarea">
</textarea>
</td>
</tr>
</table>
</div>
<div id = "wpa-left-control-wrapper">
<input type = "button" value = "Help" id = "help" class = "wpa-button"/>
<input type = "button" value = "Delete all packets" id = "deletepackets" class = "wpa-button"/>
<input type = "button" value = "Load packets" id = "loadpackets" class = "wpa-button"/>
<input type = "button" value = "Save packets" id = "savepackets" class = "wpa-button"/>
<input type = "button" value = "Analyze packets" id = "analyzepackets" class = "wpa-button"/>
<input type = "button" value = "New WPE packet" id = "newpacket" class = "wpa-button"/>
<div id = "wpa-console-wrapper">
<textarea id = "wpa-console" readonly></textarea>
</div>
</div>
</div>
<div id = "wpa-right">
<h1>Analyzed output</h1>
<div id = "wpa-analyze-wrapper">
<div id = "wpa-analyze"></div>
</table>
</div>
</div>
<div class = "wpa-hider"></div>
<div id = "loadpacketsmodal" class = "wpa-modal">
<div class = "wpa-modal-toolbar">
<div class = "wpa-modal-close">
X
</div>
<div class = "wpa-modal-refresh">
REFRESH LIST
</div>
</div>
<div class = "wpa-modal-content">
<table id = "wpa-saved-packets">
<tr>
<th>KEY</th>
<th>LOAD?</th>
<th>DELETE?</th>
</tr>
</table>
</div>
</div>
</body>
</html>