From 06767bd44ce6f06534718bc8cef634aceacde072 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 5 Oct 2017 00:13:45 +0100 Subject: [PATCH] Ensure we get a warning of some kind when a bad scheme is provided. --- volatility/framework/automagic/stacker.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/volatility/framework/automagic/stacker.py b/volatility/framework/automagic/stacker.py index bf763d6c7..205091bd5 100644 --- a/volatility/framework/automagic/stacker.py +++ b/volatility/framework/automagic/stacker.py @@ -70,6 +70,9 @@ class LayerStacker(interfaces.automagic.AutomagicInterface): self.local_store = None if location.scheme == "file": self.local_store = location.path + else: + vollog.warning("Only file scheme supported for single-location") + return [] new_context = context.clone() current_layer_name = context.memory.free_layer_name("FileLayer")