question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Remove the scan progress

See original GitHub issue

Hi,

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:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
xeraphcommented, Dec 15, 2021

@romestylez Would you test v1.5.0 release? You can use --silent option.

2reactions
AlexMilotincommented, Dec 15, 2021

You can pipeline for findstr in cmd : log4j2-scan.exe --all-drives --trace | findstr “[*] Found” >> log4jscan.txt

Read more comments on GitHub >

github_iconTop Results From Across the Web

Delete a Completed Policy Scan - Veracode Docs
Click Completed in the left navigation menu to see the completed scans for the application. Click the menu icon and select Delete Scan....
Read more >
Disable Forticlient Scan Progress window? : r/fortinet - Reddit
Is there a way to hide this? I'm not seeing the option in the EMS portal. r/fortinet - Disable Forticlient Scan Progress window?...
Read more >
Starting or stopping a scan task - Kaspersky Knowledge Base
If you want to stop the scan task, select Stop in the context menu. The task progress status that is displayed under the...
Read more >
Manage Your Scans
You have a few options. You can pause the scan (and resume it later) or cancel the scan. Select the scans you want...
Read more >
How to disable all notifications and scan progress on ...
7. Click on Advanced button and under Dialog options choose Do not show scan progress from the list. ... Be aware that disabling...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found