Skip to content

Commit 8dee76b

Browse files
committed
prepare for v2021.12.17
1 parent 01d08a6 commit 8dee76b

File tree

4 files changed

+17
-11
lines changed

4 files changed

+17
-11
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
2+
## v2021.12.17
3+
4+
- Ability to detect log4j-core-2.17.0.jar
5+
6+
17
## v2021.12.16
28

39
- Properly detect exploded Log4J versions (that are not inside *.jar and instead are just sitting as *.class directly on disk).

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,16 @@ We currently maintain a collection of [log4j-samples](https://github.com/mergeba
1313

1414
# Example Usage:
1515

16-
java -jar log4j-detector-2021.12.16.jar [path-to-scan] > hits.txt
16+
java -jar log4j-detector-2021.12.17.jar [path-to-scan] > hits.txt
1717

1818
![Terminal output from running java -jar log4j-detector.jar in a terminal](./log4j-detector.png)
1919

2020
# More Example Usage:
2121

2222
```
23-
java -jar log4j-detector-2021.12.16.jar ./samples
23+
java -jar log4j-detector-2021.12.17.jar ./samples
2424
25-
-- github.com/mergebase/log4j-detector v2021.12.16 (by mergebase.com) analyzing paths (could take a while).
25+
-- github.com/mergebase/log4j-detector v2021.12.17 (by mergebase.com) analyzing paths (could take a while).
2626
-- Note: specify the '--verbose' flag to have every file examined printed to STDERR.
2727
/opt/mergebase/log4j-detector/samples/clt-1.0-SNAPSHOT.jar contains Log4J-2.x >= 2.10.0 _VULNERABLE_ :-(
2828
/opt/mergebase/log4j-detector/samples/infinispan-embedded-query-8.2.12.Final.jar contains Log4J-2.x >= 2.0-beta9 (< 2.10.0) _VULNERABLE_ :-(
@@ -86,15 +86,15 @@ your system (e.g., 1 GB or larger).
8686
# Usage
8787

8888
```
89-
java -jar log4j-detector-2021.12.16.jar
89+
java -jar log4j-detector-2021.12.17.jar
9090
91-
Usage: java -jar log4j-detector-2021.12.16.jar [--verbose] [paths to scan...]
91+
Usage: java -jar log4j-detector-2021.12.17.jar [--verbose] [paths to scan...]
9292
9393
Exit codes: 0 = No vulnerable Log4J versions found.
9494
1 = At least one legacy Log4J 1.x version found.
9595
2 = At least one vulnerable Log4J version found.
9696
97-
About - MergeBase log4j detector (version 2021.12.16)
97+
About - MergeBase log4j detector (version 2021.12.17)
9898
Docs - https://github.com/mergebase/log4j-detector
9999
(C) Copyright 2021 Mergebase Software Inc. Licensed to you via GPLv3.
100100
```
@@ -105,7 +105,7 @@ Docs - https://github.com/mergebase/log4j-detector
105105
git clone https://github.com/mergebase/log4j-detector.git
106106
cd log4j-detector/
107107
mvn install
108-
java -jar target/log4j-detector-2021.12.16.jar
108+
java -jar target/log4j-detector-2021.12.17.jar
109109
```
110110
# Testing:
111111

pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
<modelVersion>4.0.0</modelVersion>
66
<groupId>com.mergebase</groupId>
77
<artifactId>log4j-detector</artifactId>
8-
<version>2021.12.16</version>
8+
<version>2021.12.17</version>
99
<licenses>
1010
<license>
1111
<name>GPL-3.0-only</name>

src/main/java/com/mergebase/log4j/Log4JDetector.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,20 +78,20 @@ public static void main(String[] args) {
7878

7979
if (argsList.isEmpty()) {
8080
System.out.println();
81-
System.out.println("Usage: java -jar log4j-detector-2021.12.16.jar [--verbose] [paths to scan...]");
81+
System.out.println("Usage: java -jar log4j-detector-2021.12.17.jar [--verbose] [paths to scan...]");
8282
System.out.println();
8383
System.out.println("Exit codes: 0 = No vulnerable Log4J versions found.");
8484
System.out.println(" 1 = At least one legacy Log4J 1.x version found.");
8585
System.out.println(" 2 = At least one vulnerable Log4J 2.x version found.");
8686
System.out.println();
87-
System.out.println("About - MergeBase log4j detector (version 2021.12.16)");
87+
System.out.println("About - MergeBase log4j detector (version 2021.12.17)");
8888
System.out.println("Docs - https://github.com/mergebase/log4j-detector ");
8989
System.out.println("(C) Copyright 2021 Mergebase Software Inc. Licensed to you via GPLv3.");
9090
System.out.println();
9191
System.exit(100);
9292
}
9393

94-
System.out.println("-- github.com/mergebase/log4j-detector v2021.12.16 (by mergebase.com) analyzing paths (could take a while).");
94+
System.out.println("-- github.com/mergebase/log4j-detector v2021.12.17 (by mergebase.com) analyzing paths (could take a while).");
9595
System.out.println("-- Note: specify the '--verbose' flag to have every file examined printed to STDERR.");
9696
for (String arg : argsList) {
9797
File dir = new File(arg);

0 commit comments

Comments
 (0)