From bb40a8a2071aad763f52252a899a1e9ae358a233 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Mon, 12 Jul 2021 02:24:55 +0100 Subject: [PATCH] Automagic: Catch remote download exceptions --- volatility3/framework/automagic/symbol_cache.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/volatility3/framework/automagic/symbol_cache.py b/volatility3/framework/automagic/symbol_cache.py index caf186a23..9af5b6def 100644 --- a/volatility3/framework/automagic/symbol_cache.py +++ b/volatility3/framework/automagic/symbol_cache.py @@ -166,8 +166,11 @@ class SymbolBannerCache(interfaces.automagic.AutomagicInterface): banner_location = constants.REMOTE_ISF_URL if not constants.OFFLINE: - rbf = RemoteBannerFormat(banner_location) - rbf.process(banners, operating_system) + try: + rbf = RemoteBannerFormat(banner_location) + rbf.process(banners, operating_system) + except urllib.error.URLError: + vollog.debug(f"Unable to download remote banner list from {banner_location}") class RemoteBannerFormat: