Merge pull request #39 from fox-it/revert-36-main

Revert "Remove incorrect has_lookup=False for JndiLookup.class"
This commit is contained in:
yunzheng
2021-12-17 21:52:36 +01:00
committed by GitHub

View File

@@ -343,7 +343,7 @@ def main():
try:
has_lookup = zfile.open(lookup_path.as_posix())
except KeyError:
pass
has_lookup = False
check_vulnerable(zf, parents + [zpath], stats, has_lookup)
except IOError as e:
log.debug(f"{p}: {e}")