mirror of
https://github.com/Kpa-clawbot/meshcore-analyzer.git
synced 2026-04-28 23:55:19 +00:00
ef7dec8aa5
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.