Merge pull request #36 from yunzheng/main

Remove incorrect has_lookup=False for JndiLookup.class
This commit is contained in:
yunzheng
2021-12-17 19:45:16 +01:00
committed by GitHub

View File

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