changing the syntax to work with ruby 2.1

Fixes #7881
bug/bundler_fix
darkbushido 2017-01-27 11:20:26 -06:00
parent f846535d78
commit 39d702ebd9
No known key found for this signature in database
GPG Key ID: 3922EB70FB80E8DD
1 changed files with 2 additions and 2 deletions

View File

@ -131,10 +131,10 @@ class Creds
user: 'Public, usually a username',
password: 'Private, private_type Password.',
ntlm: 'Private, private_type NTLM Hash.',
'ssh-key': 'Private, private_type SSH key, must be a file path.',
'ssh-key' => 'Private, private_type SSH key, must be a file path.',
hash: 'Private, private_type Nonreplayable hash',
realm: 'Realm, ',
'realm-type': "Realm, realm_type (#{Metasploit::Model::Realm::Key::SHORT_NAMES.keys.join(' ')}), defaults to domain."
'realm-type'=>"Realm, realm_type (#{Metasploit::Model::Realm::Key::SHORT_NAMES.keys.join(' ')}), defaults to domain."
}.each_pair do |keyword, description|
print_line " #{keyword.to_s.ljust 10}: #{description}"
end