-
Notifications
You must be signed in to change notification settings - Fork 307
Expand file tree
/
Copy pathastro.config.mjs
More file actions
108 lines (107 loc) · 3.58 KB
/
astro.config.mjs
File metadata and controls
108 lines (107 loc) · 3.58 KB
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
// @ts-check
import sitemap from "@astrojs/sitemap";
import starlight from "@astrojs/starlight";
import { defineConfig } from "astro/config";
import starlightAutoSidebar from "starlight-auto-sidebar";
import starlightFullViewMode from "starlight-fullview-mode";
// https://astro.build/config
export default defineConfig({
site: "https://www.bettercap.org",
integrations: [
sitemap(),
starlight({
title: "bettercap",
editLink: {
baseUrl: "https://github.com/bettercap/website/edit/master/",
},
social: [
{
icon: "github",
label: "GitHub",
href: "https://github.com/bettercap/bettercap",
},
{
icon: "rss",
label: "Blog",
href: "https://www.evilsocket.net/tags/bettercap/",
},
],
sidebar: [
{
label: "Project",
autogenerate: { directory: "project" },
},
{
label: "Usage",
autogenerate: { directory: "usage" },
},
{
label: "Modules",
autogenerate: { directory: "modules" },
},
],
favicon: "/favicon.png",
plugins: [starlightAutoSidebar(), starlightFullViewMode()],
head: [
{
tag: "meta",
attrs: {
name: "keywords",
content: "WiFi security tool, Bluetooth hacking tool, Network reconnaissance software, MITM attack tool, Wireless HID hijacking tool, CAN-bus security tool, IPv4 network analysis tool, IPv6 network security tool",
},
},
{
tag: "script",
attrs: {
src: "https://platform.twitter.com/widgets.js",
async: true,
},
},
{
tag: "script",
attrs: {
src: "https://evilsocket.net/a.js",
},
},
{
tag: "script",
attrs: {
type: "text/javascript",
},
content: "A['\\u0069\\u006E\\u0069\\u0074']({ '\\u0061\\u0063\\u0074\\u0069\\u006F\\u006E': 'none', 'statsEndpoint': '\\u0068\\u0074\\u0074\\u0070\\u0073\\u003A\\u002F\\u002F\\u006E\\u006F\\u0062\\u006F\\u0074\\u002D\\u0073\\u0074\\u0061\\u0074\\u0073\\u002E\\u0065\\u0076\\u0069\\u006C\\u0073\\u006F\\u0063\\u006B\\u0065\\u0074\\u002E\\u0077\\u006F\\u0072\\u006B\\u0065\\u0072\\u0073\\u002E\\u0064\\u0065\\u0076\\u002F\\u006C\\u006F\\u0067' });",
},
{
tag: "script",
attrs: {
type: "application/ld+json",
},
content: JSON.stringify({
"@context": "https://schema.org",
"@type": "SoftwareApplication",
"name": "BetterCAP",
"description": "The Swiss Army knife for WiFi, Bluetooth Low Energy, wireless HID hijacking, CAN-bus and IPv4/IPv6 network reconnaissance and MITM attacks.",
"applicationCategory": "SecurityApplication",
"operatingSystem": "Linux, macOS, Windows, Android",
"url": "https://www.bettercap.org",
"downloadUrl": "https://github.com/bettercap/bettercap/releases",
"softwareVersion": "2.x",
"offers": {
"@type": "Offer",
"price": "0",
"priceCurrency": "USD"
},
"author": {
"@type": "Person",
"name": "Simone Margaritelli",
"url": "https://www.evilsocket.net",
"sameAs": [
"https://github.com/evilsocket",
"https://twitter.com/evilsocket"
]
}
}),
},
],
}),
],
});