Skip to content

Commit 06f3e1c

Browse files
authored
Added jar for unix operating systems
1 parent 185e720 commit 06f3e1c

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,23 @@ log4j2-scan is single binary command-line tool for CVE-2021-44228 vulnerability
55
### Download
66
* [log4j2-scan 1.1.0 (Windows x64)](https://github.com/logpresso/CVE-2021-44228-Scanner/releases/download/v1.1.0/logpresso-log4j2-scan-1.1.0-win64.7z)
77
* [log4j2-scan 1.1.0 (Linux x64)](https://github.com/logpresso/CVE-2021-44228-Scanner/releases/download/v1.1.0/logpresso-log4j2-scan-1.1.0-linux.tar.gz)
8+
* [log4j2-scan 1.1.0 (Any OS, 5KB)](https://github.com/logpresso/CVE-2021-44228-Scanner/releases/download/v1.1.0/logpresso-log4j2-scan-1.1.0.jar)
89

910
### How to use
1011
Just run log4j2-scan.exe or log4j2-scan with target directory path.
1112

13+
On Windows
1214
```
1315
log4j2-scan [--fix] target_path
1416
```
17+
On Linux
18+
```
19+
./log4j2-scan [--fix] target_path
20+
```
21+
On UNIX (AIX, Solaris, and so on)
22+
```
23+
java -jar logpresso-log4j2-scan-1.1.0.jar [--fix] target_path
24+
```
1525

1626
If you add `--fix` option, this program will copy vulnerable original JAR file to .bak file, and create new JAR file without `org/apache/logging/log4j/core/lookup/JndiLookup.class` entry. In most environments, JNDI lookup feature will not be used. However, you must use this option at your own risk. It is necessary to shutdown any running JVM process before applying patch. Start affected JVM process after fix.
1727

0 commit comments

Comments
 (0)