Skip to content

Commit

Permalink
Add ear file extension to Scan function
Browse files Browse the repository at this point in the history
  • Loading branch information
NorthwaveCERT committed Dec 21, 2021
1 parent 569b46c commit 451e1c4
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 451e1c4

Please sign in to comment.