Core: Fix LGTM recommendations

This is mostly unused imports and unused variables.
This commit is contained in:
Mike Auty
2020-11-04 22:41:39 +00:00
parent 7c75018fc4
commit 0a655d76a8
29 changed files with 68 additions and 103 deletions
@@ -168,7 +168,6 @@ class Hashdump(interfaces.plugins.PluginInterface):
enc_lm_hash = sam_data[lm_offset + 0x04:lm_offset + 0x14]
lmhash = cls.decrypt_single_hash(rid, hbootkey, enc_lm_hash, cls.almpassword)
elif lm_revision == b'\x02':
lm_exists = lm_len == 56
if lm_len == 56:
lm_salt = sam_data[lm_offset + 4:lm_offset + 20]
enc_lm_hash = sam_data[lm_offset + 20:lm_offset + 52]