log4shell-finder
log4shell-finder copied to clipboard
Fastest filesystem scanner for log4shell (CVE-2021-44228, CVE-2021-45046) and other vulnerable (CVE-2017-5645, CVE-2019-17571, CVE-2022-23305, CVE-2022-23307 ... ) instances of log4j library. Excellen...
``` import ctypes def isLink(path): if os.path.exists(path): if os.path.isdir(path): FILE_ATTRIBUTE_REPARSE_POINT = 0x0400 attributes = ctypes.windll.kernel32.GetFileAttributesW(unicode(path)) return (attributes & FILE_ATTRIBUTE_REPARSE_POINT) > 0 return False ```
1. CVE-2017-5645 2. CVE-2021-42550 3. CVE-2020-9488 It is especially important to detect CVE-2021-42550 Maybe in the documentation (readme) such a table will be useful | Detect | CVE | CVSSv3...
### Built a scanner of the current version (1c14e73) using pyInstaller (one binary file, does not require python to run) 1. Windows 32 bit version, should work on all versions...