Skip to content

Commit 11f9c01

Browse files
committed
Change documentation
1 parent e79780d commit 11f9c01

File tree

1 file changed

+3
-10
lines changed

1 file changed

+3
-10
lines changed

lib/msf/core/rpc/v10/rpc_db.rb

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -115,16 +115,9 @@ def init_db_opts_workspace(xopts)
115115
# @see #rpc_create_credential
116116
# @example Here's how you would use this from the client:
117117
# opts = {
118-
# origin_type: :service,
119-
# address: '192.168.1.100',
120-
# port: 445,
121-
# service_name: 'smb',
122-
# protocol: 'tcp',
123-
# module_fullname: 'auxiliary/scanner/smb/smb_login',
124-
# workspace_id: myworkspace_id,
125-
# private_data: 'password1',
126-
# private_type: :password,
127-
# username: 'Administrator'
118+
# username: username,
119+
# password: password,
120+
# core_id: core_id
128121
# }
129122
# rpc.call('db.create_cracked_credential', opts)
130123
def rpc_create_cracked_credential(xopts)

0 commit comments

Comments
 (0)