log4shell-tool icon indicating copy to clipboard operation
log4shell-tool copied to clipboard

Errors when run from other directory

Open g0mikese opened this issue 3 years ago • 1 comments

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.

g0mikese avatar Dec 14 '21 20:12 g0mikese

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

Datto-StanLee avatar Dec 15 '21 09:12 Datto-StanLee