Giter Club home page Giter Club logo

what_is_that's Introduction

Iridium-gidra

A proxy between the client and the server of a certain anime game (Written in GoLang by Night12138)

Usage (Go version)

Highly recommended to use this version as there is a huge performance increase

  1. Clone the GitHub Repository
git clone https://github.com/MoonlightPS/Iridium-gidra.git
cd Iridium-gidra/gover
  1. Install GoLang

  2. Run the following commands to start the proxy

go install
go run main.go
  1. Use the following fiddler script to redirect dispatch

  2. Use patched UserAssembly.dll or the proxy won't work!! and be sure to change it back when you are not using the proxy!!

  3. Start the game and have fun!

  • Make sure you have installed gcc and g++ on your system and added them to your PATH

For your safety

MHY will frequently update their resource files, so our hardcoded checksums are not always available. For your account safety, it is recommended that you enable bypass mode.

  1. Install npcap on windows or libpcap on linux

  2. Run go build -tags bypass to build the bypass version

  3. Run gover.exe --bypass on windows or .\gover --bypass on linux to enable runtime bypass

  4. (Known issue) Make sure your game was the first startup after start bypass mode. If it report decrypt data failed, please logout then completely quit the game and restart to re-login

  • Make sure you have installed gcc and g++ on your system and added them to your PATH (just install mingw)

Fiddler Script

/* Gidra proxy fiddler script */
import System;
import System.Windows.Forms;
import Fiddler;
import System.Text.RegularExpressions;

class Handlers
{
    static function OnBeforeRequest(oS: Session) {

        if(oS.host.EndsWith("dispatch.yuanshen.com")) {
            oS.oRequest.headers.UriScheme = "http";
            oS.oRequest.headers.Add('url',oS.host);
            oS.host = "localhost";
            oS.port = 8081;
        }

        if(oS.host.Contains("overseauspider.yuanshen.com")){
            oS.oRequest.FailSession(404, "Blocked", "your mom");
        }
    }
};

Usage of blacklist and whitelist

  • Open whitelist.txt/blacklist.txt
  • Add any packet by its name and separate them with ","
  • You can use spaces for convenience like this "PingRsp, PingReq, WindSeedType3Notify, etc.".
  • If you have whitelist enabled, you can't use blacklist (why would you even want to use both?).

Note

  • Packets captured by gover are stored in ./gover and are saved as soon as you quit the game or exit the console
  • proxy auto detects dispatch url and gateserver address when using the above fiddler script, you do not have to hardcode any of these!

Format of packet capture:

[
  {
    "index": int,
    "packetId": int,
    "protoName": string,
    "source": string,
    "time": float,
    "object": protobuf object
  }
]

You can use splitter.py to split the packet capture into multiple files
Use python splitter.py <filename> to split the file Use blacklist.txt to blacklist certain packets Just type protoname in the file to blacklist it, separate them with ,

what_is_that's People

Contributors

penelopeep avatar user786875 avatar

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.