Skip to content

Commit d9107d8

Browse files
committed
minor improvements
1 parent ee080d4 commit d9107d8

6 files changed

Lines changed: 84 additions & 30 deletions

File tree

astro.config.mjs

Lines changed: 30 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,13 @@ import { defineConfig } from "astro/config";
33
import starlight from "@astrojs/starlight";
44
import starlightAutoSidebar from "starlight-auto-sidebar";
55
import starlightFullViewMode from "starlight-fullview-mode";
6+
import sitemap from "@astrojs/sitemap";
67

78
// https://astro.build/config
89
export default defineConfig({
910
site: "https://www.bettercap.org",
1011
integrations: [
12+
sitemap(),
1113
starlight({
1214
title: "bettercap",
1315
editLink: {
@@ -52,15 +54,35 @@ export default defineConfig({
5254
{
5355
tag: "script",
5456
attrs: {
55-
src: "https://evilsocket.net/a.js",
57+
type: "application/ld+json",
5658
},
57-
},
58-
{
59-
tag: "script",
60-
attrs: {
61-
type: "text/javascript",
62-
},
63-
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' });",
59+
content: JSON.stringify({
60+
"@context": "https://schema.org",
61+
"@type": "SoftwareApplication",
62+
"name": "BetterCAP",
63+
"description": "The Swiss Army knife for WiFi, Bluetooth Low Energy, wireless HID hijacking, CAN-bus and IPv4/IPv6 network reconnaissance and MITM attacks.",
64+
"applicationCategory": "SecurityApplication",
65+
"operatingSystem": "Linux, macOS, Windows, Android",
66+
"url": "https://www.bettercap.org",
67+
"downloadUrl": "https://github.com/bettercap/bettercap/releases",
68+
"softwareVersion": "2.x",
69+
"offers": {
70+
"@type": "Offer",
71+
"price": "0",
72+
"priceCurrency": "USD"
73+
},
74+
"author": {
75+
"@type": "Person",
76+
"name": "Simone Margaritelli",
77+
"url": "https://www.evilsocket.net",
78+
"sameAs": [
79+
"https://github.com/evilsocket",
80+
"https://twitter.com/evilsocket"
81+
]
82+
},
83+
"codeRepository": "https://github.com/bettercap/bettercap",
84+
"programmingLanguage": "Go"
85+
}),
6486
},
6587
],
6688
}),

package-lock.json

Lines changed: 17 additions & 20 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
"astro": "astro"
1111
},
1212
"dependencies": {
13+
"@astrojs/sitemap": "^3.7.0",
1314
"@astrojs/starlight": "~0.36.2",
1415
"astro": "~5.15.9",
1516
"astro-embed": "~0.9.2",

public/llms.txt

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# BetterCAP
2+
3+
> BetterCAP is the Swiss Army knife for WiFi, Bluetooth Low Energy, wireless HID hijacking, CAN-bus and IPv4/IPv6 network reconnaissance and MITM attacks. It is a powerful, easily extensible and portable framework written in Go.
4+
5+
BetterCAP provides security researchers, red teamers and reverse engineers with an easy to use, all-in-one solution for performing reconnaissance and attacks on various wireless and network protocols. The tool supports WiFi network scanning, deauthentication attacks, and automatic WPA/WPA2 handshake capture. It includes Bluetooth Low Energy device scanning with characteristics enumeration, reading and writing capabilities. For 2.4GHz wireless devices, it supports MouseJacking attacks with over-the-air HID frame injection using DuckyScript.
6+
7+
Network capabilities include passive and active IP host probing, ARP/DNS/DHCPv6/NDP spoofers for MITM attacks on IPv4 and IPv6 networks, proxies at packet, TCP and HTTP/HTTPS levels with JavaScript plugin support, a network sniffer for credential harvesting and protocol fuzzing, and a fast port scanner.
8+
9+
BetterCAP also provides CAN-bus support for reading, injecting, fuzzing, and OBD2 parsing. It features a REST API with websocket event notifications and an easy to use web user interface.
10+
11+
## Supported Platforms
12+
13+
BetterCAP runs on Linux, macOS, Windows, Android, and Docker containers.
14+
15+
## Allowed Usage
16+
17+
AI bots are permitted to index and analyze public documentation for educational and research purposes. This includes summarizing features, explaining usage patterns, and providing technical guidance. Usage must attribute content to the BetterCAP project and link to the official documentation at https://www.bettercap.org for complete information.
18+
19+
## Contact Information
20+
21+
- GitHub: https://github.com/bettercap/bettercap
22+
- Documentation: https://www.bettercap.org
23+
- Discord: https://discord.gg/btZpkp45gQ
24+
- Author Blog: https://www.evilsocket.net/tags/bettercap/
25+
26+
## Related Resources
27+
28+
- Source Code: https://github.com/bettercap/bettercap
29+
- Documentation: https://www.bettercap.org
30+
- Installation Guide: https://www.bettercap.org/project/installation/
31+
- Web UI Documentation: https://www.bettercap.org/usage/web_ui/
32+
- REST API Reference: https://www.bettercap.org/modules/core/apirest/

public/robots.txt

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
User-agent: *
2-
Disallow:
2+
Disallow:
3+
4+
Sitemap: https://www.bettercap.org/sitemap-index.xml

src/content/docs/project/introduction.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ sidebar:
77

88
import { Tweet } from "astro-embed";
99

10-
#### ベッターキャップ!
10+
## Overview
1111

1212
bettercap is a powerful, easily extensible and portable framework written in Go which aims to offer to security researchers, red teamers and reverse engineers an **easy to use**, **all-in-one solution** with all the features they might possibly need for performing reconnaissance and attacking [WiFi](/modules/wifi/) networks, [Bluetooth Low Energy](/modules/ble/) devices, wireless [HID](/modules/hid/) devices, [CAN-bus](/modules/canbus/) and [IPv4/IPv6](/modules/ethernet/netprobe) networks.
1313

0 commit comments

Comments
 (0)