Skip to content

Commit

Permalink
Merge pull request #380 from NorthwaveCERT/patch-1
Browse files Browse the repository at this point in the history
Add ear file extension to Scan function
  • Loading branch information
breadchris committed Dec 23, 2021
2 parents ac30e3d + 451e1c4 commit 9891b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/log4shell/scan/scan.go
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ func (s *Log4jDirectoryScanner) Scan(

fileExt := util.FileExt(path)
switch fileExt {
case constants.JarFileExt, constants.WarFileExt:
case constants.JarFileExt, constants.WarFileExt, constants.EarFileExt:
log.Debug().
Str("path", path).
Msg("scanning archive")
Expand Down

0 comments on commit 9891b13

Please sign in to comment.