-
-
Notifications
You must be signed in to change notification settings - Fork 45
/
index.html
72 lines (61 loc) · 1.83 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
<!DOCTYPE html>
<html>
<head>
<meta content="text/html;charset=utf-8" http-equiv="Content-Type">
<meta content="utf-8" http-equiv="encoding">
<link rel="icon" type="image/png" href="https://qeeqbox.com/images/icon.png" />
<title>Raven Example</title>
<style type="text/css">
html {
overflow: auto;
}
html,
body {
height: 100%;
margin: 0px;
padding: 0px;
border: none;
}
iframe {
height: 100%;
width: 100%;
margin: 0px;
padding: 0px;
display: block;
border: none;
overflow: hidden;
}
</style>
</head>
<body>
<iframe id="raven-iframe" src="src/raven.html" frameborder="0" width="100%" height="100%" scrolling="auto"></iframe>
<script type="text/javascript">
document.getElementById('raven-iframe').addEventListener("load", function() {
var raven_options = {
'world_type': null,
'selected_countries': [],
'remove_countries': ['aq'],
'height': window.innerHeight,
'width': window.innerWidth,
'backup_background_color': '#212222',
'orginal_country_color': '#737373',
'clicked_country_color': '#6c4242',
'selected_country_color': '#ff726f',
'global_timeout': 2000,
'global_stats_limit': 10,
'db_length': 1000,
'live_attacks_limit':50,
'location': 'scripts',
'panels': ['multi-output', 'single-output','tooltip', 'random', 'insert','taskbar','logo'],
'disable': [],
'websocket':{'server':'ws://'+window.location.hostname+':5678',
'request_timeout':3000},
'verbose': false
}
window['raven'] = document.getElementById('raven-iframe').contentWindow.raven
window['raven'].init_all(raven_options)
window['raven'].init_world()
});
</script>
</body>
</html>