datto / log4shell-tool

Log4Shell Enumeration, Mitigation and Attack Detection Tool
Apache License 2.0
15 stars 13 forks source link

failure on some devices Object reference not set to an instance of an object. #2

Open Tom-FT opened 2 years ago

Tom-FT commented 2 years ago

I am getting a failure running this on some devices using Datto RMM,

in the stderr I just get the message

Log4Shell Enumeration, Mitigation and Attack Detection Tool [WIN] Object reference not set to an instance of an object.

this device is a 2012 R2 Server

Datto-StanLee commented 2 years ago

Hi; Please direct all questions related to use of this Component via Datto RMM to Datto RMM Support.

The "object reference not set to instance of an object" error is an unintuitive way for the software to tell you that the job timed out. This may have been caused by setting the scan scope too wide for the timeout, which is set to an hour by default. I will be pushing an update to the ComStore script shortly to add some adjustments (specific to RMM, so the GitHub script will not be receiving them) and at that time I will also adjust the timeout to make it longer.

When you see that this ComStore Component has an update available, apply it, then try re-running and see if you get the same error.