log4j-detector icon indicating copy to clipboard operation
log4j-detector copied to clipboard

Problem output when scanning in Windows

Open trfreecodecamp opened this issue 3 years ago • 2 comments

I get a lot of these types of "Problem" messages. Are they safe to ignore? I am running in Windows.

-- Problem: C:\Program Files\Commvault\ContentStore\CVMedia\11.0.0\Windows\BinaryPayload\LooseUpdates\CU38\BinaryPayload\adLdapTool.exe.zip - Not actually a zip!?! (no magic number) -- Problem C:\tools\QA_Automation_backup.zip!/selenium-java-client-driver.jar - java.io.EOFException: Unexpected end of ZLIB input stream

trfreecodecamp avatar Dec 14 '21 21:12 trfreecodecamp

The "no magic number" warnings are definitely safe to ignore (means the file is not a zip despite its name, and thus cannot end up in Java's classpath).

Are you able to attach the "selenium-java-client-driver.jar" file? I'd like to investigate that one and see if there's possibly a bug in my code.

juliusmusseau avatar Dec 14 '21 22:12 juliusmusseau

This zip file contains the selenium-java-client-driver.jar file. I think the problem may be due to whatever compression sw was used to create it. I extracted the folder and ran the detector with no problems.
I then used 7-zip to compress it again. Again no problem with the new zip file.
I ran the detector against the jar file directly. Again no problem. The problem only occurs with the original zip file. I pared it down to just 2 jar files. selenesse-mck_reduced.zip

trfreecodecamp avatar Dec 14 '21 23:12 trfreecodecamp