docs: refresh docs and screenshots, drop em dashes, add scripts/screenshots.sh
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
No files matched your search
@@ -33,7 +33,7 @@ The CLI and the desktop app are thin clients: both call the core's `Engine`. The
|
||||
|
||||
## Platform
|
||||
|
||||
Capture and monitor mode are **Linux** (`AF_PACKET` + netlink). Parsing (`radiotap`, `dot11`, `eapol`, `handshake`), cracking (`crack`) and `.pcap` are cross-platform, being offline — which is why the tests run on Linux in CI.
|
||||
Capture and monitor mode are **Linux** (`AF_PACKET` + netlink). Parsing (`radiotap`, `dot11`, `eapol`, `handshake`), cracking (`crack`) and `.pcap` are cross-platform, being offline, which is why the tests run on Linux in CI.
|
||||
|
||||
## UI transport
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
The `sabia` binary has the global option `--audit <file>` (audit trail; default `.sabia-audit.log`) and the commands below. Capture and monitor mode require Linux and root; analysis and cracking run on any platform.
|
||||
|
||||
## `iface` — interfaces and monitor mode
|
||||
## `iface`: interfaces and monitor mode
|
||||
|
||||
```bash
|
||||
sabia iface list # Wi-Fi interfaces and their modes
|
||||
@@ -12,7 +12,7 @@ sabia iface channels <iface> # channels the radio supports [--json]
|
||||
sudo sabia iface monitor <iface> on # enable monitor mode (on|off)
|
||||
```
|
||||
|
||||
## `scan` — capture the air
|
||||
## `scan`: capture the air
|
||||
|
||||
```bash
|
||||
sudo sabia scan <iface> [options]
|
||||
@@ -30,29 +30,29 @@ sudo sabia scan <iface> [options]
|
||||
|
||||
Shows networks (APs), clients and handshakes seen (4-way and PMKID).
|
||||
|
||||
## `analyze` — read a `.pcap` offline
|
||||
## `analyze`: read a `.pcap` offline
|
||||
|
||||
```bash
|
||||
sabia analyze <file.pcap> [--json]
|
||||
```
|
||||
|
||||
## `crack` — dictionary cracking
|
||||
## `crack`: dictionary cracking
|
||||
|
||||
```bash
|
||||
sabia crack <file.pcap> --wordlist <list.txt> [--bssid <mac>] [--station <mac>] [--rules] [--json]
|
||||
```
|
||||
|
||||
Recomputes the PMK with PBKDF2-HMAC-SHA1 and checks the MIC (4-way) or the PMKID, for WPA/WPA2-PSK. `--bssid`/`--station` filter which handshake to use. `--rules` applies hashcat-style mutations (uppercase, numeric/symbol suffixes, simple leet) to each dictionary word — multiplies the time for real. The desktop app and `sabia ui` additionally offer the bundled 9.7M-password dictionary by default, mask brute force (`?d?l?u?s?a`), and `.hc22000` export.
|
||||
Recomputes the PMK with PBKDF2-HMAC-SHA1 and checks the MIC (4-way) or the PMKID, for WPA/WPA2-PSK. `--bssid`/`--station` filter which handshake to use. `--rules` applies hashcat-style mutations (uppercase, numeric/symbol suffixes, simple leet) to each dictionary word, multiplies the time for real. The desktop app and `sabia ui` additionally offer the bundled 9.7M-password dictionary by default, mask brute force (`?d?l?u?s?a`), and `.hc22000` export.
|
||||
|
||||
## `deauth` — authorized deauthentication test
|
||||
## `deauth`: authorized deauthentication test
|
||||
|
||||
```bash
|
||||
sudo sabia deauth <iface> --bssid <mac> [--station <mac>] [--count 5] [--reason 7] --yes
|
||||
```
|
||||
|
||||
Without `--station`, the target is broadcast. The **`--yes`** flag confirms you are authorized to test this network — without it, the command refuses. It is recorded in the audit trail.
|
||||
Without `--station`, the target is broadcast. The **`--yes`** flag confirms you are authorized to test this network, without it, the command refuses. It is recorded in the audit trail.
|
||||
|
||||
## `doctor` — diagnostics
|
||||
## `doctor`: diagnostics
|
||||
|
||||
```bash
|
||||
sabia doctor [--json]
|
||||
@@ -60,21 +60,21 @@ sabia doctor [--json]
|
||||
|
||||
Checks privileges, tools (`iw`, `ip`) and monitor-capable interfaces.
|
||||
|
||||
## `audit` — audit trail
|
||||
## `audit`: audit trail
|
||||
|
||||
```bash
|
||||
sabia audit verify [file] # check the hash-chain integrity
|
||||
sabia audit show [--limit 20] # latest entries
|
||||
```
|
||||
|
||||
## `update` — updating
|
||||
## `update`: updating
|
||||
|
||||
```bash
|
||||
sabia update # check for a new version
|
||||
sabia update --apply # download, verify the SHA-256 and swap the executable
|
||||
```
|
||||
|
||||
## `ui` — desktop/web interface
|
||||
## `ui`: desktop/web interface
|
||||
|
||||
```bash
|
||||
sabia ui [--port 4337] [--no-open]
|
||||
|
||||
|
Before Width: | Height: | Size: 176 KiB After Width: | Height: | Size: 178 KiB |
|
Before Width: | Height: | Size: 179 KiB After Width: | Height: | Size: 180 KiB |
|
Before Width: | Height: | Size: 190 KiB After Width: | Height: | Size: 192 KiB |
|
Before Width: | Height: | Size: 193 KiB After Width: | Height: | Size: 193 KiB |
|
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 109 KiB |
|
Before Width: | Height: | Size: 110 KiB After Width: | Height: | Size: 109 KiB |
|
Before Width: | Height: | Size: 113 KiB After Width: | Height: | Size: 115 KiB |
|
Before Width: | Height: | Size: 115 KiB After Width: | Height: | Size: 115 KiB |
|
Before Width: | Height: | Size: 18 KiB After Width: | Height: | Size: 17 KiB |
|
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 19 KiB |
@@ -13,7 +13,7 @@ The desktop app (Tauri) and the browser version (`sabia ui`) are the same front-
|
||||
- **Authorized-use notice**, always in view: use only on your own networks or with authorization; every monitor activation and capture goes into the local audit trail.
|
||||
- **Networks seen:** live table with SSID, signal bars, channel and a color-coded security badge (open, WEP, WPA/WPA2, WPA3). Row order is stable (arrival order, signal rounded to 4 dBm buckets) so it doesn't shuffle under the cursor as signal fluctuates.
|
||||
- **Channels view:** interference/overlap scoring per band with a recommended channel.
|
||||
- **Network detail → Attacks tab:** directional/continuous deauthentication, PMF probing, clientless PMKID hunting, handshake capture (auto-resumes the capture session if it was stopped), cracking (bundled 9.7M-password dictionary, mutation rules, mask brute force), `.hc22000` export, WPS PIN/Pixie Dust, Evil Twin with captive portal (WPA/WPA2-PSK), and — only shown for 802.1X networks — the Enterprise Evil Twin variant that captures credentials automatically. Every action requires the authorized-use checkbox and is logged to the audit trail.
|
||||
- **Network detail → Attacks tab:** directional/continuous deauthentication, PMF probing, clientless PMKID hunting, handshake capture (auto-resumes the capture session if it was stopped), cracking (bundled 9.7M-password dictionary, mutation rules, mask brute force), `.hc22000` export, WPS PIN/Pixie Dust, Evil Twin with captive portal (WPA/WPA2-PSK), and, only shown for 802.1X networks, the Enterprise Evil Twin variant that captures credentials automatically. Every action requires the authorized-use checkbox and is logged to the audit trail.
|
||||
- **Report:** a paginated, printable audit report (cover, table of contents, findings, channel scoring, networks/clients/handshakes, audit trail) previewed in a dialog and printable to PDF from the browser.
|
||||
|
||||
<p align="center"><img src="img/attack-light-en.png" width="900" alt="Network detail dialog showing the Attacks tab (deauthentication, handshake capture, cracking, PMF, WPS and Evil Twin)"></p>
|
||||
@@ -34,3 +34,5 @@ Monitor mode and capture require root/admin. On startup, the app elevates automa
|
||||
|
||||
They show the real interface running with synthetic audit data: 7 access points across 2.4 and 5 GHz (covering open, WEP, WPA/WPA2, WPA3 and 802.1X Enterprise), simulated client stations, and captured handshakes. No real third-party network data appears.
|
||||
|
||||
Regenerate them all with `scripts/screenshots.sh` (no Wi-Fi hardware needed): it serves the real UI with `sabia ui` and answers `/api/*` from `scripts/screenshots/mock-api.mjs`.
|
||||
|
||||
@@ -33,7 +33,7 @@ A CLI e o app desktop são clientes finos: ambos chamam o `Engine` do núcleo. A
|
||||
|
||||
## Plataforma
|
||||
|
||||
Captura e modo monitor são **Linux** (`AF_PACKET` + netlink). Parsing (`radiotap`, `dot11`, `eapol`, `handshake`), quebra (`crack`) e `.pcap` são multiplataforma, por serem offline — por isso os testes rodam em Linux no CI.
|
||||
Captura e modo monitor são **Linux** (`AF_PACKET` + netlink). Parsing (`radiotap`, `dot11`, `eapol`, `handshake`), quebra (`crack`) e `.pcap` são multiplataforma, por serem offline, por isso os testes rodam em Linux no CI.
|
||||
|
||||
## Transporte da UI
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
|
||||
O binário `sabia` tem a opção global `--audit <arquivo>` (trilha de auditoria; padrão `.sabia-audit.log`) e os comandos abaixo. Captura e modo monitor exigem Linux e root; análise e quebra rodam em qualquer plataforma.
|
||||
|
||||
## `iface` — interfaces e modo monitor
|
||||
## `iface`: interfaces e modo monitor
|
||||
|
||||
```bash
|
||||
sabia iface list # interfaces Wi-Fi e seus modos
|
||||
@@ -12,7 +12,7 @@ sabia iface channels <iface> # canais que o rádio suporta [--json]
|
||||
sudo sabia iface monitor <iface> on # liga o modo monitor (on|off)
|
||||
```
|
||||
|
||||
## `scan` — captura o ar
|
||||
## `scan`: captura o ar
|
||||
|
||||
```bash
|
||||
sudo sabia scan <iface> [opções]
|
||||
@@ -30,29 +30,29 @@ sudo sabia scan <iface> [opções]
|
||||
|
||||
Mostra redes (APs), clientes e handshakes vistos (4-way e PMKID).
|
||||
|
||||
## `analyze` — lê um `.pcap` offline
|
||||
## `analyze`: lê um `.pcap` offline
|
||||
|
||||
```bash
|
||||
sabia analyze <arquivo.pcap> [--json]
|
||||
```
|
||||
|
||||
## `crack` — quebra por dicionário
|
||||
## `crack`: quebra por dicionário
|
||||
|
||||
```bash
|
||||
sabia crack <arquivo.pcap> --wordlist <lista.txt> [--bssid <mac>] [--station <mac>] [--rules] [--json]
|
||||
```
|
||||
|
||||
Recalcula a PMK com PBKDF2-HMAC-SHA1 e confere o MIC (4-way) ou o PMKID, para WPA/WPA2-PSK. `--bssid`/`--station` filtram qual handshake usar. `--rules` aplica mutações estilo hashcat (maiúscula, sufixos numéricos/símbolos, leet simples) a cada palavra do dicionário — multiplica o tempo de verdade. O app desktop e o `sabia ui` oferecem também o dicionário embutido de 9,7 milhões de senhas por padrão, força bruta por máscara (`?d?l?u?s?a`) e exportação em `.hc22000`.
|
||||
Recalcula a PMK com PBKDF2-HMAC-SHA1 e confere o MIC (4-way) ou o PMKID, para WPA/WPA2-PSK. `--bssid`/`--station` filtram qual handshake usar. `--rules` aplica mutações estilo hashcat (maiúscula, sufixos numéricos/símbolos, leet simples) a cada palavra do dicionário, multiplica o tempo de verdade. O app desktop e o `sabia ui` oferecem também o dicionário embutido de 9,7 milhões de senhas por padrão, força bruta por máscara (`?d?l?u?s?a`) e exportação em `.hc22000`.
|
||||
|
||||
## `deauth` — teste autorizado de desautenticação
|
||||
## `deauth`: teste autorizado de desautenticação
|
||||
|
||||
```bash
|
||||
sudo sabia deauth <iface> --bssid <mac> [--station <mac>] [--count 5] [--reason 7] --yes
|
||||
```
|
||||
|
||||
Sem `--station`, o destino é broadcast. A flag **`--yes`** confirma que você tem autorização para testar esta rede — sem ela, o comando recusa. Fica na trilha de auditoria.
|
||||
Sem `--station`, o destino é broadcast. A flag **`--yes`** confirma que você tem autorização para testar esta rede, sem ela, o comando recusa. Fica na trilha de auditoria.
|
||||
|
||||
## `doctor` — diagnóstico
|
||||
## `doctor`: diagnóstico
|
||||
|
||||
```bash
|
||||
sabia doctor [--json]
|
||||
@@ -60,21 +60,21 @@ sabia doctor [--json]
|
||||
|
||||
Confere privilégios, ferramentas (`iw`, `ip`) e interfaces com suporte a modo monitor.
|
||||
|
||||
## `audit` — trilha de auditoria
|
||||
## `audit`: trilha de auditoria
|
||||
|
||||
```bash
|
||||
sabia audit verify [arquivo] # confere a integridade da cadeia por hash
|
||||
sabia audit show [--limit 20] # últimas entradas
|
||||
```
|
||||
|
||||
## `update` — atualização
|
||||
## `update`: atualização
|
||||
|
||||
```bash
|
||||
sabia update # verifica se há versão nova
|
||||
sabia update --apply # baixa, confere o SHA-256 e troca o executável
|
||||
```
|
||||
|
||||
## `ui` — interface gráfica
|
||||
## `ui`: interface gráfica
|
||||
|
||||
```bash
|
||||
sabia ui [--port 4337] [--no-open]
|
||||
|
||||
@@ -11,9 +11,9 @@ O app desktop (Tauri) e a versão no navegador (`sabia ui`) são o mesmo front-e
|
||||
- **Sidebar de interfaces:** lista as interfaces Wi-Fi; selecione uma para trabalhar. No rodapé ficam a versão e o botão de **atualização** em um clique.
|
||||
- **Painel de captura:** cabeçalho com o modo atual (managed/monitor), uma **linha de sinal animada**, e os botões **ativar modo monitor** e **iniciar captura**.
|
||||
- **Aviso de uso autorizado**, sempre à vista: use só em redes próprias ou com autorização; toda ativação de monitor e captura entra na trilha de auditoria local.
|
||||
- **Redes vistas:** tabela em tempo real com SSID, barras de sinal, canal e um selo de segurança por cor (aberta, WEP, WPA/WPA2, WPA3). A ordem das linhas é estável (ordem de chegada, sinal arredondado em buckets de 4 dBm) — não fica trocando de posição debaixo do cursor conforme o sinal oscila.
|
||||
- **Redes vistas:** tabela em tempo real com SSID, barras de sinal, canal e um selo de segurança por cor (aberta, WEP, WPA/WPA2, WPA3). A ordem das linhas é estável (ordem de chegada, sinal arredondado em buckets de 4 dBm), não fica trocando de posição debaixo do cursor conforme o sinal oscila.
|
||||
- **Visão de canais:** pontuação de interferência/sobreposição por banda, com canal recomendado.
|
||||
- **Detalhe da rede → aba Ataques:** desautenticação direcional/contínua, teste de PMF, caça de PMKID sem cliente, captura de handshake (religa a captura sozinha se ela tiver sido parada), quebra de senha (dicionário embutido de 9,7 milhões de senhas, regras de mutação, força bruta por máscara), exportação `.hc22000`, WPS PIN/Pixie Dust, Evil Twin com portal cativo (WPA/WPA2-PSK) e — só exibido para redes 802.1X — a variante Enterprise do Evil Twin, que captura credenciais automaticamente. Toda ação exige o checkbox de autorização e fica registrada na trilha de auditoria.
|
||||
- **Detalhe da rede → aba Ataques:** desautenticação direcional/contínua, teste de PMF, caça de PMKID sem cliente, captura de handshake (religa a captura sozinha se ela tiver sido parada), quebra de senha (dicionário embutido de 9,7 milhões de senhas, regras de mutação, força bruta por máscara), exportação `.hc22000`, WPS PIN/Pixie Dust, Evil Twin com portal cativo (WPA/WPA2-PSK) e, só exibido para redes 802.1X, a variante Enterprise do Evil Twin, que captura credenciais automaticamente. Toda ação exige o checkbox de autorização e fica registrada na trilha de auditoria.
|
||||
- **Relatório:** relatório de auditoria paginado e imprimível (capa, sumário, achados, pontuação de canais, redes/clientes/handshakes, trilha de auditoria), pré-visualizado num diálogo e imprimível em PDF pelo navegador.
|
||||
|
||||
<p align="center"><img src="../img/attack-light-pt.png" width="900" alt="Diálogo de detalhes da rede exibindo a aba de Ataques (desautenticação, captura de handshake, quebra de senha, PMF, WPS e Evil Twin)"></p>
|
||||
@@ -34,3 +34,5 @@ Temas **Auto, Claro e Escuro** e interface em **português e inglês**. O idioma
|
||||
|
||||
Elas mostram a interface real rodando com dados sintéticos de auditoria: 7 pontos de acesso cobrindo 2,4 e 5 GHz (aberta, WEP, WPA/WPA2, WPA3 e 802.1X Enterprise), estações de clientes simuladas e handshakes capturados. Nenhum dado de rede real de terceiros é exibido.
|
||||
|
||||
Regere todas com `scripts/screenshots.sh` (sem precisar de hardware Wi-Fi): ele serve a interface real com `sabia ui` e responde `/api/*` a partir de `scripts/screenshots/mock-api.mjs`.
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
[English](../support.md) · **Português**
|
||||
|
||||
Matriz do que existe hoje (versão 1.0.3). Para o que vem a seguir, veja o [ROADMAP](../../ROADMAP.pt-BR.md).
|
||||
Matriz do que existe hoje (versão 1.0.7). Para o que vem a seguir, veja o [ROADMAP](../../ROADMAP.pt-BR.md).
|
||||
|
||||
## Plataformas
|
||||
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
|
||||
[English](support.md) · [Português](pt-BR/suporte.md)
|
||||
|
||||
Matrix of what exists today (version 1.0.3). For what comes next, see the [ROADMAP](../ROADMAP.md).
|
||||
Matrix of what exists today (version 1.0.7). For what comes next, see the [ROADMAP](../ROADMAP.md).
|
||||
|
||||
## Platforms
|
||||
|
||||
|
||||