
Windows Batch Scrip to Fix the log4j-issue-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_NAME=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