This repository has been archived by the owner on Apr 14, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 5
/
index.html
129 lines (123 loc) · 5.54 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
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
<html>
<head>
<title>Context.js demo</title>
<link rel="stylesheet" href="./styles.css" type="text/css" />
<link rel="stylesheet" href="./context/skins/chrome-dark.css" type="text/css" id="skin" />
</head>
<body>
<div class="no centered container">
<div class="watermark">
Context.js
</div>
</div>
<script src="./context/context.js"></script>
<script>
const skinActivator = e => {
const skin = document.getElementById('skin');
skin.setAttribute('href', `./context/skins/${e.data.value}.css`);
e.handled = true;
};
const skinsContextMenu = new ContextMenu(document.body, [
{text: 'Chrome Dark', value: 'chrome-dark', onclick: skinActivator},
{text: 'Chrome Bright', value: 'chrome-bright', onclick: skinActivator},
{text: 'Hackerman', value: 'hackerman', onclick: skinActivator},
{text: 'Kali Dark', value: 'kali_dark', onclick: skinActivator}
]);
const kaliContextMenu = new ContextMenu(document.body, [
{text: 'Information Gathering', hotkey: '❯', subitems: [
{text: 'DNS Analysis', hotkey: '❯', subitems: [
{text: 'dnsenum'},
{text: 'dnsrecon'},
{text: 'fierce'}
]},
{text: 'IDS/IPS Identification', hotkey: '❯', subitems: [
{text: 'lbd'},
{text: 'wafw00f'}
]},
{text: 'Live Host Identification', hotkey: '❯', subitems: [
{text: 'arping'},
{text: 'fping'},
{text: 'hping3'},
{text: 'masscan'},
{text: 'thcping6'}
]},
{text: 'Network & Port Scanners', hotkey: '❯', subitems: [
{text: 'masscan'},
{text: 'nmap'}
]},
{text: 'OSINT Analysis', hotkey: '❯', subitems: [
{text: 'maltego'},
{text: 'theharvester'}
]},
{text: 'Route Analysis', hotkey: '❯', subitems: [
{text: 'netdiscover'},
{text: 'netmask'}
]},
{text: 'SMB Analysis', hotkey: '❯', subitems: [
{text: 'enum4linux'},
{text: 'nbtscan'},
{text: 'smbmap'}
]},
{text: 'SMTP Analysis', hotkey: '❯', subitems: [
{text: 'swaks'}
]},
{text: 'SNMP Analysis', hotkey: '❯', subitems: [
{text: 'onesixtyone'},
]},
{text: 'SSL Analysis', hotkey: '❯', subitems: [
{text: 'ssldump'},
{text: 'sslh'},
{text: 'sslcan'},
{text: 'sslyze'}
]},
{text: 'dmitry'},
{text: 'ike-scan'},
{text: 'maltego'},
{text: 'netdiscover'},
{text: 'nmap'},
{text: 'recon-ng'},
{text: 'sparta'}
]},
{text: 'Vulnerability Analysis', hotkey: '❯', subitems: [
{text: 'Fuzzing Tools', hotkey: '❯', subitems: [
{text: 'spike-generic_chunked'},
{text: 'spike-generic_listen_tcp'},
{text: 'spike-generic_send_tcp'},
{text: 'spike-generic_send_udp'},
]},
{text: 'VoIP Tools', hotkey: '❯', subitems: [
{text: 'voiphopper'},
]},
{text: 'nikto'},
{text: 'nmap'},
{text: 'sparta'},
{text: 'unix-privesc-check'},
]},
null,
{text: 'Click here!', onclick: e => {
e.handled = true;
e.label.innerText = 'Clicked!';
e.data.text = e.label.innerText;
}},
{text: 'Skins', hotkey: '❯', submenu: skinsContextMenu}
]);
const chromeContextMenu = new ContextMenu(document.body, [
{text: 'Back', hotkey: 'Alt+Left arrow', disabled: true},
{text: 'Forward', hotkey: 'Alt+Right arrow', disabled: true},
{text: 'Reload', hotkey: 'Ctrl+R'},
null,
{text: 'Save as...', hotkey: 'Ctrl+S'},
{text: 'Print...', hotkey: 'Ctrl+P'},
{text: 'Cast...'},
{text: 'Translate to English'},
null,
{text: 'View page source', hotkey: 'Ctrl+U'},
{text: 'Inspect', hotkey: 'Ctrl+Shift+I'},
null,
{text: 'Kali tools', hotkey: '❯', submenu: kaliContextMenu},
{text: 'Skins', hotkey: '❯', submenu: skinsContextMenu}
]);
chromeContextMenu.install();
</script>
</body>
</html>