Skip to content

Commit

Permalink
Add BSD target to exploit/multi/ssh/sshexec module
Browse files Browse the repository at this point in the history
  • Loading branch information
bcoles committed May 2, 2019
1 parent 8a991d3 commit 60fb3b2
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion modules/exploits/multi/ssh/sshexec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ def initialize
'BadChars' => "",
'DisableNops' => true
},
'Platform' => %w[linux osx unix python],
'Platform' => %w[linux osx unix python bsd],
'CmdStagerFlavor' => %w[bourne echo printf wget],
'Targets' =>
[
Expand Down Expand Up @@ -103,6 +103,22 @@ def initialize
'CmdStagerFlavor' => %w[curl wget]
}
],
[
'BSD x86',
{
'Arch' => ARCH_X86,
'Platform' => 'bsd',
'CmdStagerFlavor' => %w[printf curl wget]
}
],
[
'BSD x64',
{
'Arch' => ARCH_X64,
'Platform' => 'bsd',
'CmdStagerFlavor' => %w[printf curl wget]
}
],
[
'Python',
{
Expand Down

0 comments on commit 60fb3b2

Please sign in to comment.