From d2eef99e37e945b58029207fb992dc051c577761 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 17 Jul 2017 21:52:01 +0100 Subject: [PATCH] Don't try making URIs into URIs. --- volatility/framework/automagic/linux.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/volatility/framework/automagic/linux.py b/volatility/framework/automagic/linux.py index 23a6096b3..1378af81d 100644 --- a/volatility/framework/automagic/linux.py +++ b/volatility/framework/automagic/linux.py @@ -1,5 +1,4 @@ import logging -import pathlib from volatility.framework import interfaces from volatility.framework.automagic import linux_symbol_cache @@ -49,7 +48,7 @@ class LinuxSymbolFinder(interfaces.automagic.AutomagicInterface): for offset, banner in layer.scan(context = context, scanner = mss, progress_callback = progress_callback): vollog.debug("Identified banner: {}".format(repr(banner))) symbol_files = self._linux_banners[banner] - isf_path = pathlib.Path(symbol_files[0]).as_uri() + isf_path = symbol_files[0] if isf_path: vollog.debug("Using symbol library: {}".format(symbol_files[0])) clazz = "volatility.framework.symbols.linux.LinuxKernelIntermedSymbols"