File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -107,12 +107,8 @@ def init_db_opts_workspace(xopts)
107
107
public
108
108
109
109
110
- # Creates a credential.
110
+ # Creates a cracked credential.
111
111
#
112
- # @note Despite the fact the method name for this is called "rpc_create_cracked_credential", it
113
- # does not actually call the create_cracked_credential API in metasploit-credential. Instead,
114
- # it calls create_credential.
115
- # @todo This method needs to call create_cracked_credential, not create_credential.
116
112
# @param [Hash] xopts Credential options. (See #create_credential Documentation)
117
113
# @return [Metasploit::Credential::Core]
118
114
# @see https://github.com/rapid7/metasploit-credential/blob/master/lib/metasploit/credential/creation.rb#L107 #create_credential Documentation.
@@ -133,7 +129,7 @@ def init_db_opts_workspace(xopts)
133
129
# rpc.call('db.create_cracked_credential', opts)
134
130
def rpc_create_cracked_credential ( xopts )
135
131
opts = fix_cred_options ( xopts )
136
- create_credential ( opts )
132
+ create_cracked_credential ( opts )
137
133
end
138
134
139
135
You can’t perform that action at this time.
0 commit comments