fox-it / log4j-finder

Find vulnerable Log4j2 versions on disk and also inside Java Archive Files (Log4Shell CVE-2021-44228, CVE-2021-45046, CVE-2021-45105)
MIT License
435 stars 97 forks source link

Fixed files and directory stats #46

Closed yunzheng closed 2 years ago

yunzheng commented 2 years ago

An empty collection.Counter() evaluates to False, use if stats is None instead.