diff --git a/lib/msf/core/rpc/v10/rpc_db.rb b/lib/msf/core/rpc/v10/rpc_db.rb index 2cb2a627683d4..acb02f20be7a9 100644 --- a/lib/msf/core/rpc/v10/rpc_db.rb +++ b/lib/msf/core/rpc/v10/rpc_db.rb @@ -252,6 +252,8 @@ def rpc_invalidate_login(xopts) # * 'port' [Integer] Port. # * 'proto' [String] Protocol. # * 'sname' [String] Service name. + # * 'realm_key' [String] Realm key type. + # * 'realm_value' [String] Realm value. # @example Here's how you would use this from the client: # rpc.call('db.creds', {}) def rpc_creds(xopts) @@ -298,7 +300,9 @@ def rpc_creds(xopts) :host => host, :port => port, :proto => proto, - :sname => sname + :sname => sname, + :realm_key => cred.realm.try(:key), + :realm_value => cred.realm.try(:value) } end ret