logpresso / CVE-2021-44228-Scanner

Vulnerability scanner and mitigation patch for Log4j2 CVE-2021-44228
Apache License 2.0
854 stars 175 forks source link

Run from a UNC path #80

Closed tp111 closed 2 years ago

tp111 commented 2 years ago

Would it be possible to make the tool work from a UNC path? Can't make it work right now.

JHulsmans commented 2 years ago

I read your other issues so I know you're trying to make it work with SCCM.

Logpresso is being run in our environment from a UNC path so it does work. version 1.6.2

tp111 commented 2 years ago

I read your other issues so I know you're trying to make it work with SCCM.

Logpresso is being run in our environment from a UNC path so it does work. version 1.6.2

Well, I got it to work via SCCM package also byt I get an exit code 6 error that I would like to remove. But that is when I run it from a package so the file is run from a local conten cache. Not from UNC.

Can't get i to work when run manualy from UNC path.

tp111 commented 2 years ago

I read your other issues so I know you're trying to make it work with SCCM.

Logpresso is being run in our environment from a UNC path so it does work. version 1.6.2

Woluld you like to share how you run it from SCCM if it works for you without exit error code?

GorCed commented 2 years ago

Don't deploy as a package. run it like a script i SCCM instead. just make sure you can access the shared file with the account that runs the SCCM Client.

Firewolf1337 commented 2 years ago

& '\path\to\Java\runtime\java.exe' -jar '\path\to\logpresso-log4j2-scan-1.6.3.jar' $driveletter

will do the magic as a Script in SCCM

The Java JDK I've used in our environment -> https://cdn.azul.com/zulu/bin/zulu11.52.13-ca-jdk11.0.13-win_x64.zip