Remove incorrect has_lookup=False for JndiLookup.class
The exception handler set has_lookup=False, while it should remain True
This commit is contained in:
@@ -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}")
|
||||||
|
|||||||
Reference in New Issue
Block a user