项目介绍

kyoukaya/hoxy 是一个托管在 GitHub 上的开源项目,主要使用 Go 编写,目前获得 22 个 Star、4 次 Fork。

仓库全名
kyoukaya/hoxy
Star 数
22
Fork 数
4
未关闭 Issue
7

README 摘要

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…

完整内容见 GitHub 原始 README 或本页 。

常见问题

hoxy 用什么语言开发?

主要使用 Go 编写,目前有 22 个 Star。

如何获取 hoxy 的源码?

可以直接克隆仓库:git clone https://github.com/kyoukaya/hoxy.git,默认分支为 master;安装与运行步骤见仓库 README。

hoxy 最近还在维护吗?

仓库最近一次更新为 2022年12月5日,当前有 7 个未关闭 Issue;Star 数为 22,可作为社区活跃度的参考。

关于

GitHub 原始描述(英文)

Intercept, decrypt, and process Girl's Frontline game data

描述取自 GitHub 官方 API,保持仓库作者书写的原文。

简要分析

热度分
32
价值分
14
活跃状态
归档

语言占比

Go

贡献者

README

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.

评论

暂无评论