From f4dd40ba0b55421f58e2b9f39beee3d45efa5cab Mon Sep 17 00:00:00 2001 From: Mike Auty Date: Thu, 30 Aug 2018 09:41:39 +0100 Subject: [PATCH] Ensure we're catching the appropriate expcetions rather than all of them. --- volatility/plugins/windows/userassist.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/volatility/plugins/windows/userassist.py b/volatility/plugins/windows/userassist.py index 670988b53..5f7462630 100644 --- a/volatility/plugins/windows/userassist.py +++ b/volatility/plugins/windows/userassist.py @@ -121,7 +121,7 @@ class UserAssist(interfaces_plugins.PluginInterface): if self._win7 is None: try: self._win7 = self._win7_or_later() - except: + except exceptions.SymbolError: # self._win7 will be None and only registry value rawdata will be output pass