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