log4shell-tool
log4shell-tool copied to clipboard
Errors when run from other directory
When executing the script from a directory that the script is not present in it fails the checks for Yara32.exe and Yara64.exe as the script is checking the directory the script is being run from for the files rather than the location the script is in.
Similarly the Yara.yar download goes to the directory that the script is run from.
Hi; This is intentional. The manner in which the script was originally developed assumes everything will be running from the same folder (see #4) as this is the only way things can be run using that solution. Check that case for some additions you can make to the script to make it more robust if you plan on running it differently. Cheers – SL