Hoxy
Intercept, decrypt, and process Girl's Frontline game data
Install / Use
/learn @kyoukaya/HoxyREADME
Hoxy
Hoxy is a proxy server designed to intercept, decrypt, and process Girl's Frontline game data.
Modified data can not be written back to the request or response at this point and only the global server is supported.
Hoxy also blocks requests to telemetry or ad domains that are frequently contacted if connecting from an android emulator. The block list is currently hardcoded in proxy/filters.go but may be user configurable in the future.
Usage
An example program is provided in cmd/example which initializes the packetlogger and constructioninfo mods.
Use go run cmd/example/hoxy.go to start the proxy server up, and then direct your client to use it.
Modules
Each module should initialize itself by calling proxy.RegisterMod(modName, initFunc) at program start up, either in the init() function or in the global scope.
The init function will be called when a user authenticates with the game server to set up the module for that user.
Here's an example from the constructioninfo mod:
func init() {
const modName = "Construction Info"
initFunc := func(userCtx *proxy.UserCtx) ([]*proxy.PacketHook, proxy.ShutdownCb, error) {
dollinfo.Init()
equipinfo.Init()
mod := &constructInfo{}
hooks := []*proxy.PacketHook{
proxy.NewPacketHook(modName, "SGun/developGun", 0, false, mod.handleGunConstruct),
proxy.NewPacketHook(modName, "SGun/developMultiGun", 0, false, mod.handleGunConstruct),
proxy.NewPacketHook(modName, "SEquip/develop", 0, false, mod.handleEquipConstruct),
proxy.NewPacketHook(modName, "SEquip/developMulti", 0, false, mod.handleEquipConstruct),
}
return hooks, func(bool) {}, nil
}
proxy.RegisterMod(modName, initFunc)
}
Packet Definitions
If you plan on using hoxy, please note that there will be many breaking changes to the packet definitions as JSON handling will be changed.
Definitions that start with the character "S" indicate that the packet originates from the server, likewise, a "C" prefix indicates that the packet originates from the client.
Definitions are discovered, not reversed from the game client, so definitions may be incomplete or missing. Please feel to contribute additional definitions or fixes to current definitions. Additionally, helpful comments about packet fields that are not immediately obvious are welcome.
Related Skills
node-connect
348.0kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
108.8kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
348.0kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
348.0kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
