Skip to content

Commit 3a5d6b4

Browse files
author
root
committed
Store password hash as loot
1 parent fcca79b commit 3a5d6b4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/post/windows/gather/credentials/mcafee_hashdump.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -118,9 +118,9 @@ def process_hashes_and_versions(hashes_and_versions)
118118

119119
create_credential(credential_data)
120120

121-
# TODO: store_loot the file in the appropriate format, which likely means
122-
# iterating over hashes_and_versions differently so that they are grouped
123-
# by version (because john can only crack one format at a time)
121+
# Store McAfee password hash as loot
122+
loot_path = store_loot('mcafee.hash', 'text/plain', session, 'mcafee:'+hash, 'mcafee_hashdump.txt', 'McAfee Password Hash')
123+
print_status("McAfee password hash saved in: #{loot_path}")
124124
end
125125
end
126126
end

0 commit comments

Comments
 (0)