Paths from the banner cache are already URIs, so we don't need to reconvert them.

This commit is contained in:
Mike Auty
2017-11-04 15:52:02 +00:00
parent 01043b9f3e
commit dab5caf104
+1 -2
View File
@@ -1,5 +1,4 @@
import logging
import pathlib
from volatility.framework import interfaces, constants
from volatility.framework.automagic import linux_symbol_cache
@@ -56,7 +55,7 @@ class LinuxSymbolFinder(interfaces.automagic.AutomagicInterface):
vollog.debug("Identified banner: {}".format(repr(banner)))
symbol_files = self._linux_banners[banner]
if symbol_files:
isf_path = pathlib.Path(symbol_files[0]).as_uri()
isf_path = symbol_files[0]
vollog.debug("Using symbol library: {}".format(symbol_files[0]))
clazz = "volatility.framework.symbols.linux.LinuxKernelIntermedSymbols"
# Set the discovered options