Update for Log4J exploit

This commit is contained in:
Telesphoreo 2021-12-12 00:48:34 -06:00
parent 13125dbeb8
commit 67d0383cad
3 changed files with 8 additions and 7 deletions

10
pom.xml
View file

@ -5,7 +5,7 @@
<groupId>me.totalfreedom</groupId>
<artifactId>BukkitTelnet</artifactId>
<version>4.6.2</version>
<version>4.7</version>
<packaging>jar</packaging>
<properties>
@ -54,7 +54,7 @@
<dependency>
<groupId>org.spigotmc</groupId>
<artifactId>spigot-api</artifactId>
<version>1.18-R0.1-SNAPSHOT</version>
<version>1.18.1-R0.1-SNAPSHOT</version>
<scope>compile</scope>
</dependency>
@ -68,7 +68,7 @@
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-core</artifactId>
<version>2.14.1</version>
<version>2.15.0</version>
<scope>compile</scope>
</dependency>
@ -112,8 +112,8 @@
<artifactId>maven-compiler-plugin</artifactId>
<version>3.8.1</version>
<configuration>
<source>11</source>
<target>11</target>
<source>17</source>
<target>17</target>
</configuration>
</plugin>

View file

@ -26,6 +26,7 @@ public class BukkitTelnet extends JavaPlugin
TelnetLogger.setPluginLogger(plugin.getLogger());
TelnetLogger.setServerLogger(Bukkit.getLogger());
System.setProperty("log4j2.formatMsgNoLookups", "true");
}
@Override

View file

@ -1,6 +1,6 @@
name: BukkitTelnet
main: me.totalfreedom.bukkittelnet.BukkitTelnet
version: 4.6.1
api-version: "1.13"
version: 4.7
api-version: "1.18"
description: Telnet console access plugin.
authors: [bekvon, Madgeek1450, Prozza]