google / log4jscanner

A log4j vulnerability filesystem scanner and Go package for analyzing JAR files.
Apache License 2.0
1.57k stars 120 forks source link

log4jscanner should be able to scan a single file #7

Open ericchiang opened 2 years ago

ericchiang commented 2 years ago

Currently it errors

$ ./log4jscanner jar/testdata/vuln-class.jar
2021/12/28 18:43:08 log4jscanner.go:100: Error: scanning jar/testdata/vuln-class.jar: stat jar/testdata/vuln-class.jar/.: not a directory