Share
## https://sploitus.com/exploit?id=EA3C5D7E-0CC8-5AEC-8D7F-3C245A834DDA
# log4j-fix-CVE-2021-44228
Windows Batch Script to Scan all the local drive and Fix the log4j(CVE-2021-44228) impacted jars

Below configurations are needed to make it work

SET **ZIP_PATH**=C:\PROGRA~1\7-Zip\7z.exe

set **RESULT_FILE_NAM**E=log4j_impacted_jars

set **APPLY_FIX**=FALSE

set **LOG4J_LOG_DIR**=%temp%

**ZIP_PATH** should point to the 7Zip executable


**APPLY_FIX**

  TRUE -> Scan and fix all the jars
  
  FALSE -> Scan and report all the impacted jars in the txt file