make sure to report the realm

bug/bundler_fix
David Maloney 2014-06-23 12:08:49 -05:00
parent dadd959c6a
commit c61f59d8a9
No known key found for this signature in database
GPG Key ID: DEDBA9DC3A913DB2
1 changed files with 3 additions and 1 deletions

View File

@ -48,7 +48,9 @@ class Metasploit3 < Msf::Auxiliary
origin_type: :service,
private_data: datastore['PASSWORD'],
private_type: :password,
username: datastore['USERNAME']
username: datastore['USERNAME'],
realm_key: Metasploit::Credential::Realm::Key::POSTGRESQL_DATABASE,
realm_value: datastore['DATABASE']
}
credential_data.merge!(service_data)