Skip to content

Commit 0b68476

Browse files
h00diejheysel-r7
andauthored
Update modules/exploits/multi/persistence/ssh_key.rb
Co-authored-by: jheysel-r7 <Jack_Heysel@rapid7.com>
1 parent 048163e commit 0b68476

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/multi/persistence/ssh_key.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ def initialize(info = {})
3535
'h00die <mike@shorebreaksecurity.com>', # linux
3636
'Dean Welch <dean_welch[at]rapid7.com>' # windows
3737
],
38-
'Platform' => [], # this is used for payload selection but we don't use a payload
38+
'Platform' => %w[linux unix win], # this must be defined despite the module not using a payload
3939
'Arch' => ARCH_ALL, # doesn't matter because we don't use the payload
4040
'SessionTypes' => [ 'meterpreter', 'shell' ],
4141
'References' => [

0 commit comments

Comments
 (0)