递归扫描文件或文件夹,寻找可能受以下漏洞影响的Java程序:
通过检查文件内部的类路径。
如果只想打印可能受影响的文件而非所有文件,请使用 -mode list 运行。

Usage: log4shelldetect [options] <path>
Options:
-include-zip
include zip files in the scan
-mode string
the output mode, either "report" (every java archive pretty printed) or "list" (list of potentially vulnerable files) (default "report")
此处的代码根据 unlicense 发布到公共领域。
除了 velocity-1.1.9.jar 是 Velocity 的一部分示例漏洞 .jar 文件,该文件根据 GPLv3 许可。
2.12.2 的检测尚不可用,等待 2.12.3 的发布,届时我需要测试。2.12.2 将显示为已修补。 ↩