|
|
Mod Detection Preventer (模组检测防止器)Github |相关wiki |源站链接支持: fabric修复了一项安全漏洞,防止服务器检测到您安装了哪些模组。
*Mod Detection Preventer*
这是一个简单的模组,防止了一种安全漏洞,该漏洞使得服务器能够检测到客户端安装了哪些模组。
尽管我会尽力保持此模组的更新,但服务器管理员可能会找到一种新的方法来访问您的模组列表。建议您始终遵守服务器规定。
漏洞说明
Minecraft有一个功能,允许使用者通过已设置的按键绑定或翻译键指定文本(在聊天、牌子或bossbar中)。客户端然后会用存储的值替换翻译键或按键绑定。服务器可以通过向客户端提供带有这种占位符的牌子(例如Sodium:\'sodium.option_impact.low\')来滥用这一点。通过立即关闭牌子屏幕,客户端会将编辑后的文本发送给服务器,而不必看到打开牌子屏幕。然后,服务器可以检测您是否安装了特定的模组,方法是检查您的客户端是否将占位符替换为相应的文本(\'sodium.option_impact.low\' -> \'Low\')。如果您没有安装Sodium,则占位符将保留在那里(\'sodium.option_impact.low\' -> \'sodium.option_impact.low\')。
这也适用于铁砧屏幕。服务器可以提示您打开铁砧屏幕,其中一个重命名槽中有一个翻译键作为其名称的物品。客户端然后会将物品重命名为相应的值并将更新发送给服务器。(非常感谢Frog,Discord上的\'@croaak\',他找到了这个方法)
这种检测方法适用于任何具有自定义翻译的模组。
解决方法
此模组通过简单地不解析任何牌子上的翻译或按键绑定占位符(除了原版占位符)来修复此问题。这样一来,服务器无法使用此方法来检测已安装的模组。
要验证此方法是否有效,您可以在[test world](链接)中进行测试。
截图:
https://i.sodamc.com/modrinth/WWfoVdu6QJ.jpg?x-oss-process=style/forge2]
来自Modrinth所有游戏版本1.20.31.20.41.201.20.11.20.2所有类型fabricMod Detection Preventer 1.2.0-1.20.4ModDetectionPreventer+1.20.4-1.2.0.jar下载1.2.0#ReleasePrevent the server accessing your installed mods by sending you an anvil screen (thanks to @croaak for figuring this out).展开版本: 1.2.0支持游戏: 1.20.3, 1.20.4类型:FabricRelease下载次数: 143,936Mod Detection Preventer 1.2.0-1.20.2ModDetectionPreventer+1.20.2-1.2.0.jar下载1.2.0#ReleasePrevent the server accessing your installed mods by sending you an anvil screen (thanks to @croaak for figuring this out).展开版本: 1.2.0支持游戏: 1.20, 1.20.1, 1.20.2类型:FabricRelease下载次数: 23,521ModDetectionPreventer 1.1.0-1.20.4ModDetectionPreventer+1.20.4-1.1.0.jar下载1.1.0#ReleaseAdd filtering for translation keys on signs that are not keybinds (thanks to @leumasme for pointing the issue out)展开版本: 1.1.0支持游戏: 1.20.3, 1.20.4类型:FabricRelease下载次数: 100,173ModDetectionPreventer 1.1.0-1.20.2ModDetectionPreventer+1.20.2-1.1.0.jar下载1.1.0#ReleaseAdd filtering for translation keys on signs that are not keybinds (thanks to @leumasme for pointing the issue out)展开版本: 1.1.0支持游戏: 1.20, 1.20.1, 1.20.2类型:FabricRelease下载次数: 4,941ModDetectionPreventer 1.0.0-1.20.4ModDetectionPreventer+1.20.4-1.0.0.jar下载1.0.0#Release展开版本: 1.0.0支持游戏: 1.20.3, 1.20.4类型:FabricRelease下载次数: 29,886ModDetectionPreventer 1.0.0-1.20.2ModDetectionPreventer+1.20.2-1.0.0.jar下载1.0.0#Release展开版本: 1.0.0支持游戏: 1.20, 1.20.1, 1.20.2类型:FabricRelease下载次数: 146全部版本
markdown_parsed
文章类型:收录
layui.use([\'form\'], function(){
var form = layui.form;
});
Mod Detection Preventer |
楼主
2025-8-10 18:29:30
回复(0)
收起回复
|