Skip to content

Commit 3b8d00b

Browse files
authored
fix: MySQL server typo & missing WiFi parameters (#64)
1 parent 06b3eaa commit 3b8d00b

4 files changed

Lines changed: 35 additions & 28 deletions

File tree

package-lock.json

Lines changed: 2 additions & 2 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 & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "bettercap-website",
33
"type": "module",
4-
"version": "0.1.0",
4+
"version": "1.0.0",
55
"scripts": {
66
"dev": "astro dev",
77
"start": "astro dev",

src/content/docs/modules/ethernet/servers/mysql.server.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ Stop mysql server.
2626

2727
### Examples
2828

29-
One liner to start the server and steal /etc/passwd from clients connecting to your Rogue MySQL server
29+
One liner to start the server and steal `/etc/hosts` from clients connecting to your Rogue MySQL server
3030

3131
```bash
3232
sudo bettercap -eval "set mysql.server.infile /etc/hosts; mysql.server on"

src/content/docs/modules/wifi.md

Lines changed: 31 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -104,30 +104,37 @@ Start a 802.11 channel hop attack, all client will be forced to change the chann
104104

105105
### Parameters
106106

107-
| Parameter | Default | Description |
108-
| ------------------------ | ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
109-
| `wifi.assoc.open` | `false` | Send association requests to open networks. |
110-
| `wifi.assoc.skip` | | Comma separated list of BSSID to skip while sending association requests. |
111-
| `wifi.assoc.silent` | `false` | If true, messages from wifi.assoc will be suppressed. |
112-
| `wifi.ap.bssid` | `<random mac>` | BSSID of the fake access point. |
113-
| `wifi.ap.channel` | `1` | Channel of the fake access point. |
114-
| `wifi.ap.encryption` | `true` | If true, the fake access point will use WPA2, otherwise it'll result as an open AP. |
115-
| `wifi.ap.ssid` | `FreeWifi` | SSID of the fake access point. |
116-
| `wifi.deauth.open` | `true` | Send wifi deauth packets to open networks. |
117-
| `wifi.deauth.skip` | | Comma separated list of BSSID to skip while sending deauth packets. |
118-
| `wifi.deauth.silent` | `false` | If true, messages from `wifi.deauth` will be suppressed. |
119-
| `wifi.handshakes.file` | `~/bettercap-wifi-handshakes.pcap` | File path of the pcap file to save handshakes to. |
120-
| `wifi.hop.period` | `250` | If channel hopping is enabled (empty `wifi.recon.channel`), this is the time in millseconds the algorithm will hop on every channel (it'll be doubled if both 2.4 and 5.0 bands are available). |
121-
| `wifi.interface` | | If filled, the module will use this interface instead of the one provided by the `-iface` argument or detected automatically. |
122-
| `wifi.region` | `BO` | Set the WiFi region to this value before activating the interface. |
123-
| `wifi.rssi.min` | `-200` | Minimum WiFi signal strength in dBm. |
124-
| `wifi.show.filter` | | Defines a regular expression filter for `wifi.show`. |
125-
| `wifi.show.limit` | `0` | If greater than zero, defines limit for `wifi.show`. |
126-
| `wifi.show.manufacturer` | `false` | If true, wifi.show will also show the devices manufacturers. |
127-
| `wifi.show.sort` | `rssi asc` | Defines sorting field (`rssi`, `bssid`, `essid`, `channel`, `encryption`, `clients`, `seen`, `sent`, `rcvd`) and direction (`asc` or `desc`) for `wifi.show`. |
128-
| `wifi.skip-broken` | `true` | If true, dot11 packets with an invalid checksum will be skipped. |
129-
| `wifi.source.file` | | If set, the wifi module will read from this pcap file instead of the hardware interface. |
130-
| `wifi.txpower` | `30` | Set WiFi transmission power to this value before activating the interface. |
107+
| Parameter | Default | Description |
108+
| ------------------------------------- | ---------------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
109+
| `wifi.assoc.acquired` | `false` | Send association to AP's for which key material was already acquired. |
110+
| `wifi.assoc.open` | `false` | Send association requests to open networks. |
111+
| `wifi.assoc.skip` | | Comma separated list of BSSID to skip while sending association requests. |
112+
| `wifi.assoc.silent` | `false` | If true, messages from wifi.assoc will be suppressed. |
113+
| `wifi.ap.bssid` | `<random mac>` | BSSID of the fake access point. |
114+
| `wifi.ap.channel` | `1` | Channel of the fake access point. |
115+
| `wifi.ap.encryption` | `true` | If true, the fake access point will use WPA2, otherwise it'll result as an open AP. |
116+
| `wifi.ap.ssid` | `FreeWifi` | SSID of the fake access point. |
117+
| `wifi.ap.ttl` | `300` | Seconds of inactivity for an access points to be considered not in range anymore. |
118+
| `wifi.channel_switch_announce.silent` | `false` | If true, messages from wifi.channel_switch_announce will be suppressed. |
119+
| `wifi.deauth.acquired` | `false` | Send wifi deauth packets from AP's for which key material was already acquired. |
120+
| `wifi.deauth.open` | `true` | Send wifi deauth packets to open networks. |
121+
| `wifi.deauth.skip` | | Comma separated list of BSSID to skip while sending deauth packets. |
122+
| `wifi.deauth.silent` | `false` | If true, messages from `wifi.deauth` will be suppressed. |
123+
| `wifi.fake_auth.silent` | `false` | If true, messages from wifi.fake_auth will be suppressed. |
124+
| `wifi.handshakes.aggregate` | `true` | If true, all handshakes will be saved inside a single file, otherwise a folder with per-network pcap files will be created. |
125+
| `wifi.handshakes.file` | `~/bettercap-wifi-handshakes.pcap` | File path of the pcap file to save handshakes to. |
126+
| `wifi.hop.period` | `250` | If channel hopping is enabled (empty `wifi.recon.channel`), this is the time in millseconds the algorithm will hop on every channel (it'll be doubled if both 2.4 and 5.0 bands are available). |
127+
| `wifi.interface` | | If filled, the module will use this interface instead of the one provided by the `-iface` argument or detected automatically. |
128+
| `wifi.region` | `BO` | Set the WiFi region to this value before activating the interface. |
129+
| `wifi.rssi.min` | `-200` | Minimum WiFi signal strength in dBm. |
130+
| `wifi.show.filter` | | Defines a regular expression filter for `wifi.show`. |
131+
| `wifi.show.limit` | `0` | If greater than zero, defines limit for `wifi.show`. |
132+
| `wifi.show.manufacturer` | `false` | If true, wifi.show will also show the devices manufacturers. |
133+
| `wifi.show.sort` | `rssi asc` | Defines sorting field (`rssi`, `bssid`, `essid`, `channel`, `encryption`, `clients`, `seen`, `sent`, `rcvd`) and direction (`asc` or `desc`) for `wifi.show`. |
134+
| `wifi.skip-broken` | `true` | If true, dot11 packets with an invalid checksum will be skipped. |
135+
| `wifi.source.file` | | If set, the wifi module will read from this pcap file instead of the hardware interface. |
136+
| `wifi.sta.ttl` | `300` | Seconds of inactivity for a client station to be considered not in range or not connected to its access point anymore. |
137+
| `wifi.txpower` | `30` | Set WiFi transmission power to this value before activating the interface. |
131138

132139
#### Bruteforce specific parameters
133140

0 commit comments

Comments
 (0)