Skip to content

A wrapper for a 3rd party scanner tool for log4j vulnerabilities

Notifications You must be signed in to change notification settings

commandbox-modules/commandbox-log4j-detect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This module is a simple wrapper for the Log4j Detect project found here:

https://github.com/whitesource/log4j-detect-distribution

The Log4j Detect project is a native Go binary which will scan any folder of jars for vulnerable files. This module will download the latest binary for your OS and run it.

Installation

Install the module like so:

CommandBox> install commandbox-log4j-detect

On first run, the module will download the latest version of the 3rd party library based on your OS and CPU arch. It will not check or download again on subsequent runs. You can use the --forceBinaryDownload flag when scanning to force it to re-download the latest 3rd party library if you wish.

CommandBox> log4j-detect C:/websites/ --forceBinaryDownload

Usage

Scan the current directory by running the command:

CommandBox> log4j-detect

Scan another directory by specying it as a parameter

CommandBox> log4j-detect C:/ColdFusion2021
CommandBox> log4j-detect /path/to/folder

Scan a list of directories for vulnerable Log4j jars

CommandBox> log4j-detect C:/foo,C:/bar,D:/baz

Scan a all drives on your machine. This can take a very long time.

CommandBox> log4j-detect --scanAllDrives

About

A wrapper for a 3rd party scanner tool for log4j vulnerabilities

Resources

Stars

Watchers

Forks

Packages

No packages published