Remove the scan progress
See original GitHub issueHi,
im using the following command to scan my servers and log the findings:
%~dp0\log4j2-scan.exe --all-drives >> log4jscan.txt
Now there was a progress added and the log looks like
Running scan (129s): scanned 39865 directories, 186251 files, last visit: C:\Windows\WinSxS\amd64_microsoft-windows-settingmonitor_31bf3856ad364e35_10.0.14393.0_none_9af5864a1b37f25f Running scan (139s): scanned 51098 directories, 288483 files, last visit: C:\Windows\WinSxS\Temp\InFlight\16ef79251353d701c3220000900aa01d\amd64_microsoft-windows-cdp-api_31bf3856ad364e35_10.0.14393.3503_none_51a981bdcecf0d58 Running scan (162s): scanned 78060 directories, 289483 files, last visit: C:\Windows\WinSxS\wow64_microsoft-windows-d…erver-wmiv2provider_31bf3856ad364e35_10.0.14393.0_none_6b1cf224a7caff6a [*] Found CVE-2021-44228 vulnerability in D:\AED-SICAD\Backup 04082020\WebGEN40\WEB-INF\lib\log4j-core-2.11.1.jar, log4j 2.11.1 Running scan (172s): scanned 88798 directories, 327044 files, last visit: D:\AED-SICAD\UTJSC4.0\2019-12_Upgrade_UTJSC\UTJSC_4.0.1757\UTJSC.4.0.1757\utjsc40\esri\api4\dojox\atom\widget\nls
That is very bad as there is too much stuff in the log. Can we get like a --no-progress parameter so i can get a clean log ?
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:9 (3 by maintainers)
Top GitHub Comments
@romestylez Would you test v1.5.0 release? You can use
--silent
option.You can pipeline for findstr in cmd : log4j2-scan.exe --all-drives --trace | findstr “[*] Found” >> log4jscan.txt