A proxy between the client and the server of a certain anime game
Click Here to view usage for go version
Highly recommended to use this version as there is a huge performance increase thanks to Night12138
WindSeed is not blocked on either of the proxies! for your safety
- Clone the Github Repository
git clone https://github.com/MoonlightPS/Iridium-gidra.git
cd Iridium-gidra- Install Poetry and use the following command to install the required dependencies
poetry install- Install python-kcp
cd python-kcp
python setup.py install- Run the following commands to start proxy
py -m gidra-
Use the following fiddler script to redirect dispatch
-
Use patched
UserAssembly.dllor the proxy won't work!! and be sure to change it back when you are not using the proxy!! -
Start the game and have fun!
/* 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");
}
}
};- Packets captured are saved after you exit out of gidra in console and can be found in
./gidra/packet_dump - proxy auto detects dispatch url and gateserver address when using the above fiddler script, you do not have to hardcode any of these!
[ { "index": int, "packetId": int, "protoName": string, "source": string, "time": float, "object": protobuf object } ]