1b774b11ac
[skip ci]
804 B
804 B
manualdecrypt
This tool can be used to inspect requests that the messages.google.com/web app sends
- Install Go 1.20 or higher and
protoc
(sudo apt install protobuf-compiler
on Debian). - Clone this repository (
git clone https://github.com/mautrix/gmessages.git
). - Enter this directory (
cd libgm/manualdecrypt
) and compile it (go build
). - Run
./manualdecrypt
- On first run, it'll ask for
pr_crypto_msg_enc_key
andpr_crypto_msg_hmac
from the localStorage of the messages for web app.
- On first run, it'll ask for
- Find the relevant
SendMessage
HTTP request in browser devtools and copy the entire raw request body (a bunch of nested JSON arrays). - Paste the request body into manualdecrypt, then press Ctrl+D on a blank line to tell it to parse the pasted data.