log4j2-jndi-exploit-patcher

A utility that looks for log4j2 JNDI vulnerabilities in your jar files and fixes them

How to use:

Graphical interface:

  1. Start the program by double click;
  2. Select the root directory where you want to check the jar files for vulnerability;
  3. Select the directory where the fixed jar files will be placed;
  4. Replace the original jar files with the corrected ones from the output directory.

Console:

  1. Execute command: java -jar Log4j2-Jndi-Exploit-Patcher.jar path/to/target/dir path/to/output/dir
  2. Replace the original jar files with the corrected ones from the output directory.

GitHub

View Github