Files
meshcore-analyzer/cmd
you ef7dec8aa5 feat: add channel discovery tool for hashtag brute-forcing
Adds cmd/channel-discover, a CLI tool that discovers MeshCore hashtag
channel names by brute-forcing SHA256-derived keys against captured
GRP_TXT packets.

How it works:
1. Extracts undecrypted GRP_TXT packets from CoreScope SQLite DB
2. Generates candidate #channel names from a 480+ word default wordlist
3. Filters by 1-byte channelHash match (1/256 false positive rate)
4. Verifies via full HMAC + AES-128-ECB decryption
5. Reports discovered channels with sample decrypted messages

CLI: channel-discover -db <path> [-wordlist file] [-name '#guess'] [-verbose] [-json]

Reuses the same crypto from cmd/ingestor/decoder.go (HMAC-SHA256 MAC +
AES-128-ECB). Includes tests for key derivation, hash computation, and
decryption validation.
2026-04-05 01:17:38 +00:00
..