/log4shellverify

A log4shell testing tool

Primary LanguageJava

The testcase testVulnerable() will test that the environment is vulnerable.

Building and running

$ mvn clean package
$ java -Dlog4j2.contextSelector=org.apache.logging.log4j.core.async.AsyncLoggerContextSelector -jar target/log4j2-1.0.jar

Apache Log4j 2 Tutorial

Article link : https://www.mkyong.com/logging/apache-log4j-2-tutorials/