royale-proxy / node-cr-proxy

A simple Clash Royale proxy, implementing the new encryption, built on top of Node
GNU Lesser General Public License v3.0
36 stars 13 forks source link
clash-royale nodejs proxy

node-cr-proxy

clash royale licence

Clash Royale Proxy - Intercepts the traffic between your Clash Royale App and their servers, decrypts the protocol and decodes the messages.

Don't like NodeJs, prefer python? Get the python proxy.

How to use it?

Setting up the proxy server

Prerequisites

Clone the code

git clone https://github.com/royale-proxy/node-cr-proxy && cd node-cr-proxy

npm install

cp settings.json.example settings.json / copy settings.json.example settings.json

Setting up your device

Android

iPhone

Running the proxy

node index

node index --verbose will display the contents of the messages on the screen as well as show debug info when messages are missing/incomplete

node index --dump ./packets will save decrypted packets into the packets folder with a format of messageId.bin (ex: 10101.bin) -- Make sure the folder exists.

node index --replay ./packets/10101.bin will decode the 10101 packet using definitions, useful when trying to decode a new message

node index --help will show you the command line help

What's the status?

This project has been abandoned