Add service_details for SSH

bug/bundler_fix
William Vu 2017-06-08 13:28:29 -05:00
parent e22334343e
commit 3e20296cf5
1 changed files with 8 additions and 0 deletions

View File

@ -159,6 +159,14 @@ class MetasploitModule < Msf::Exploit::Remote
nil
end
# This is for store_valid_credential above
def service_details
super.merge(
port: datastore['SSH_PORT'],
service_name: 'ssh'
)
end
#
# Persistence and cleanup methods
#