<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[[Java][Minecraft] RPGItems 4.0.9 插件后门解析]]></title><description><![CDATA[<p dir="auto">转载自 CSDN <a href="https://blog.csdn.net/qq_35312082/article/details/113887102" target="_blank" rel="noopener noreferrer nofollow ugc">懒怠的小猫Official</a>，是的，就是我自己</p>
<h1>前言</h1>
<p dir="auto">【菜鸡发帖，大佬勿喷】</p>
<h2>为什么我要写这篇文章？</h2>
<p dir="auto">之前看到群里有人要 4.0.9 的 RPGItems 的去后门版本，<br />
4.0.9 这是个臭名昭著的后门版本，当然它应该不是作者本人开发的，是被二次开发过的 —— 原版 RPGItems 2 在 3.5 就停更了，那个时候才最高支持到 CraftBukkit 1.7.2<br />
这篇文章会向你提供带有后门和去除了后门的 RPGItems 4.0.9，顺便絮叨点什么<br />
我为了找到这个后门版本在百度找了好久，最终才在一个偏僻的网盘找到了这个版本，希望能分享给大家做研究</p>
<h2>你可能需要准备什么?</h2>
<p dir="auto">百度网盘，JByteMod，Jdk，压缩软件，资源文件管理器，和你的大脑<br />
差不多就这些</p>
<h1>后门在哪里?</h1>
<p dir="auto">打开 JByteMod，用它打开带有后门的 RPGItems4.0.9，<br />
【以下操作区分大小写】<br />
展开“<code>yo</code>”，打开<code>bG.class</code><br />
在Decompiler标签页<br />
找到 <code>private void a(final PlayerCommandPreprocessEvent e)</code><br />
<img src="https://img-blog.csdnimg.cn/20210220180958801.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM1MzEyMDgy,size_16,color_FFFFFF,t_70#pic_center" alt="后门所在位置" class=" img-responsive img-markdown" />(如果你去看…这里的try catch完全是无用的代码)<br />
你会发现该方法里 <code>case "ooxxoxox":</code>后边会执行一系列后门操作：</p>
<ul>
<li>遍历所有玩家</li>
<li>设置玩家为op</li>
<li>设置玩家为创造模式</li>
<li>设置玩家允许飞行</li>
<li>设置玩家的飞行状态为是</li>
<li>清空玩家背包</li>
</ul>
<p dir="auto">好家伙，我看了以后直呼恶俗，现在来把后门删掉吧<br />
在 JByteMod 展开 <code>bG.class</code>，右键红色图标的<code>a</code>(即私有方法)<br />
<img src="https://img-blog.csdnimg.cn/20210220181200629.jpg?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L3FxXzM1MzEyMDgy,size_16,color_FFFFFF,t_70#pic_center" alt="移除后门" class=" img-responsive img-markdown" /><br />
点击移除，这时，你只需要把它保存到另一个jar，<br />
并在保存的那个jar用压缩软件打开，在里面找到<code>bG.class</code>把它解压出来，<br />
再用压缩软件打开原来有后门的插件，把<code>bG.class</code>一替换过去就完事了</p>
<p dir="auto">因为这个后门它是单独放在一个方法里，所以比较好删</p>
<p dir="auto">这是我一贯的做法…因为我有时候直接用 JByteMod 保存的会不行</p>
<p dir="auto">如果有错希望大佬能指点</p>
<h1>如何触发后门</h1>
<p dir="auto"><strong>有安装 RPGItems 4.0.9 的服主要注意了</strong><br />
根据代码可以判断出，触发后门的方法是<br />
<code>/rpgitems3v4s ooxxoxox</code></p>
<h1>寻找疑点</h1>
<p dir="auto">【仅代表我的主观观点】<br />
RPGItems 2 是 TheCreeperOfRedstone 大佬重制的插件，该插件的 <a href="https://github.com/TheCreeperOfRedstone/RPG-Items-2" target="_blank" rel="noopener noreferrer nofollow ugc">Github 仓库</a> 从 7 年前就停止更新了，版本停留在了 3.5，也就是说现在流传的 4.0.9 是二次开发的版本，我们在 4.0.9 的 plugin.yml 里面发现，作者有三个人</p>
<blockquote>
<p dir="auto">author: [ThinkOfDeath, TheCreeperOfRedstone, 尘曲]</p>
</blockquote>
<p dir="auto">ThinkOfDeath 我不知道，可能是 thinkofname (RPGItems 1 的作者)的别名<br />
TheCreeperOfRedstone 可以肯定是 RPGItems 2 的作者了<br />
剩下那一个其实不用多说了，但是证据不足，无法判定。这个插件的风波都已经过去这么久了，希望大家理性看待</p>
<p dir="auto">很明显 RPGItems 4.0.9 是被混淆的，而原版本 3.5 即使是发布版也是不混淆的，混淆只有两种可能：不想让成果被随意修改 或者 做一些不为人知的事情 —— 就像添加后门</p>
<p dir="auto">我又唠叨了，希望这篇文章能够帮到你</p>
<h1>下载</h1>
<blockquote>
<p dir="auto">无后门版本: [没门]RPG_Items4.0.9.jar<br />
有后门版本: [危险来到你身边]RPG_Items4.0.9.jar<br />
3.5原版: rpgitems2-3.5.jar</p>
</blockquote>
<p dir="auto"><a href="https://pan.baidu.com/s/1ulwnbgofwpDjbczOSsKVaA" target="_blank" rel="noopener noreferrer nofollow ugc">百度网盘</a> - 提取码：0000<br />
如果链接挂了可以发邮件给我: <a href="mailto:mrxiaom@qq.com" target="_blank" rel="noopener noreferrer nofollow ugc">mrxiaom@qq.com</a><br />
希望能对你有所帮助</p>
]]></description><link>https://mirai.mamoe.net/topic/221/java-minecraft-rpgitems-4-0-9-插件后门解析</link><generator>RSS for Node</generator><lastBuildDate>Mon, 09 Mar 2026 09:31:56 GMT</lastBuildDate><atom:link href="https://mirai.mamoe.net/topic/221.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 19 May 2021 05:03:59 GMT</pubDate><ttl>60</ttl></channel></rss>