Skip to content

Commit 39761a9

Browse files
author
Brent Cook
committed
Land rapid7#7882, allow Ruby 2.1 to continue working for now.
2 parents 95449a8 + 39d702e commit 39761a9

File tree

1 file changed

+2
-2
lines changed
  • lib/msf/ui/console/command_dispatcher

1 file changed

+2
-2
lines changed

lib/msf/ui/console/command_dispatcher/creds.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -131,10 +131,10 @@ def cmd_creds_help
131131
user: 'Public, usually a username',
132132
password: 'Private, private_type Password.',
133133
ntlm: 'Private, private_type NTLM Hash.',
134-
'ssh-key': 'Private, private_type SSH key, must be a file path.',
134+
'ssh-key' => 'Private, private_type SSH key, must be a file path.',
135135
hash: 'Private, private_type Nonreplayable hash',
136136
realm: 'Realm, ',
137-
'realm-type': "Realm, realm_type (#{Metasploit::Model::Realm::Key::SHORT_NAMES.keys.join(' ')}), defaults to domain."
137+
'realm-type'=>"Realm, realm_type (#{Metasploit::Model::Realm::Key::SHORT_NAMES.keys.join(' ')}), defaults to domain."
138138
}.each_pair do |keyword, description|
139139
print_line " #{keyword.to_s.ljust 10}: #{description}"
140140
end

0 commit comments

Comments
 (0)