Update log4j-finder.py
This commit is contained in:
@@ -147,7 +147,7 @@ def iter_jarfile(fobj, parents=None, stats=None):
|
|||||||
yield (zinfo, zfile, zpath, parents)
|
yield (zinfo, zfile, zpath, parents)
|
||||||
elif zpath.name.lower().endswith(JAR_EXTENSIONS):
|
elif zpath.name.lower().endswith(JAR_EXTENSIONS):
|
||||||
yield from iter_jarfile(
|
yield from iter_jarfile(
|
||||||
zfile.open(zinfo.filename), parents=parents + [zpath]
|
io.BytesIO(zfile.open(zinfo.filename).read()), parents=parents + [zpath]
|
||||||
)
|
)
|
||||||
except IOError as e:
|
except IOError as e:
|
||||||
log.debug(f"{fobj}: {e}")
|
log.debug(f"{fobj}: {e}")
|
||||||
|
|||||||
Reference in New Issue
Block a user