GithubHelp home page GithubHelp logo

royale-proxy / node-cr-proxy Goto Github PK

View Code? Open in Web Editor NEW
36.0 9.0 13.0 35 KB

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

License: GNU Lesser General Public License v3.0

JavaScript 100.00%
proxy clash-royale nodejs

node-cr-proxy's Introduction

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 project has been abandoned

node-cr-proxy's People

Contributors

srabouin avatar tarik02 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

node-cr-proxy's Issues

Discord server question

Hey, sorry to bother with a little off-topic question, but do you perhaps still have a Discord server related to data mining of Supercell games? I've been in such server over a year ago, no idea honestly what happened since - did I leave it, have I been kicked, have it gotten deleted? The invite from an old revision of the README is invalid too.

Or any non-Discord place? Something about Brawl Stars or Supercell games in general?

Love, Nicofisi
<3

Out of bounds error

I got error. Stack:

TypeError: "value" argument is out of bounds
    at checkInt (buffer.js:1039:11)
    at Buffer.writeInt16LE (buffer.js:1207:5)
    at Nonce.increment (/home/tarik02/work/programming/clashroyale/node-cr-proxy/lib/nonce.js:30:21)
    at ServerCrypto.decrypt (/home/tarik02/work/programming/clashroyale/node-cr-proxy/lib/crypto.js:67:31)
    at ServerCrypto.decryptPacket (/home/tarik02/work/programming/clashroyale/node-cr-proxy/lib/server/crypto.js:43:38)
    at /home/tarik02/work/programming/clashroyale/node-cr-proxy/index.js:128:30
    at PacketReceiver.packetize (/home/tarik02/work/programming/clashroyale/node-cr-proxy/lib/packetreceiver.js:29:21)
    at Socket.<anonymous> (/home/tarik02/work/programming/clashroyale/node-cr-proxy/index.js:118:34)
    at emitOne (events.js:96:13)
    at Socket.emit (events.js:188:7)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.