threatanalyzer_import - fix regkey issue

pull/184/head
Christophe Vandeplas 2018-05-02 12:43:34 +02:00
parent d29e300312
commit 370011c081
1 changed files with 0 additions and 2 deletions

View File

@ -457,8 +457,6 @@ def cleanup_regkey(item):
r'\\Local Settings\\Software\\Microsoft\\Windows\\Shell\\Bag',
r'\\Software\\Microsoft\\Windows\\CurrentVersion\\Explorer\\RunMRU\\'
}
item = item.replace('\\REGISTRY\\MACHINE\\', 'HKLM\\')
item = item.replace('\\REGISTRY\\USER\\', 'HKCU\\')
if list_in_string(noise_substrings, item, regex=True):
return None
return item