Add service_details for SSH
parent
e22334343e
commit
3e20296cf5
|
@ -159,6 +159,14 @@ class MetasploitModule < Msf::Exploit::Remote
|
||||||
nil
|
nil
|
||||||
end
|
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
|
# Persistence and cleanup methods
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue