Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
add udpsockedi, tag compatible payloads
Browse files Browse the repository at this point in the history
Not all payloads compatible with TCP stagers are compatible with UDP
stagers, so assuming sockedi is not sufficient to ensure compatibility.
This adds a udpsockedi which pairs compatible payloads together.
  • Loading branch information
busterb committed Jun 11, 2019
1 parent 5c97c2f commit 44dfc35
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/payloads/stagers/windows/reverse_udp.rb
Expand Up @@ -27,7 +27,7 @@ def initialize(info = {})
'Platform' => 'win',
'Arch' => ARCH_X86,
'Handler' => Msf::Handler::ReverseUdp,
'Convention' => 'sockedi',
'Convention' => 'udpsockedi',
'Stager' => { 'RequiresMidstager' => false }
))
end
Expand Down
2 changes: 1 addition & 1 deletion modules/payloads/stages/windows/shell.rb
Expand Up @@ -22,7 +22,7 @@ def initialize(info = {})
'Session' => Msf::Sessions::CommandShellWindows,
'PayloadCompat' =>
{
'Convention' => 'sockedi -http -https'
'Convention' => 'sockedi udpsockedi -http -https'
},
'Stage' =>
{
Expand Down

0 comments on commit 44dfc35

Please sign in to comment.