From 1d8081e409be957ccab21e9db0372607ffdc2050 Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Sun, 1 Nov 2020 14:50:48 +0000 Subject: [PATCH] Plugins: Fix exception thrown in handles Fixes #368 --- volatility/framework/plugins/windows/handles.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/volatility/framework/plugins/windows/handles.py b/volatility/framework/plugins/windows/handles.py index 18361d3a0..ba6424970 100644 --- a/volatility/framework/plugins/windows/handles.py +++ b/volatility/framework/plugins/windows/handles.py @@ -90,8 +90,8 @@ class Handles(interfaces.plugins.PluginInterface): if not has_capstone: raise AttributeError("Unable to find the SAR value for decoding handle table pointers") else: - raise exceptions.MissingModuleException( - "Unable to find the SAR value for decoding handle table pointers", module = "capstone") + raise exceptions.MissingModuleException("capstone", + "Unable to find the SAR value for decoding handle table pointers") offset = self._decode_pointer(handle_table_entry.LowValue, magic) # print("LowValue: {0:#x} Magic: {1:#x} Offset: {2:#x}".format(handle_table_entry.InfoTable, magic, offset))