Add credential data type

Added credential data type so that successful passwords are stored in the database and accessible via the creds command.
MS-2855/keylogger-mettle-extension
nromsdahl 2017-12-14 08:07:59 -06:00 committed by GitHub
parent be4939b56a
commit 384b250659
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -85,6 +85,7 @@ class MetasploitModule < Msf::Auxiliary
workspace_id: myworkspace_id
)
if result.success?
credential_data[:private_type] = :password
credential_core = create_credential(credential_data)
credential_data[:core] = credential_core
create_credential_login(credential_data)