Skip to content

A simple Clash Royale proxy, implementing the new encryption, built on top of Node

License

Notifications You must be signed in to change notification settings

ianchn/node-cr-proxy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

  • Please see cr-patcher for instructions on how to get your apk ready to use the proxy.

iPhone

  • We do not have a patcher at this time.

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 is a work in progress, but the proxy is pretty much complete. We do need help defining the network messages, so head over to cr-messages, clone and contribute!

I don't know what I'm doing, can you help me?

Please only use the issue tracker for actual bugs. If you need help, you are more than welcomed to join our discord server.

About

A simple Clash Royale proxy, implementing the new encryption, built on top of Node

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%