Land #8883, Fixup R payload platform and metadata

bug/bundler_fix
Adam Cammack 2017-08-23 17:07:25 -05:00
commit eb5ec8cdd7
No known key found for this signature in database
GPG Key ID: C9378BA088092D66
3 changed files with 13 additions and 4 deletions

View File

@ -352,6 +352,14 @@ class Msf::Module::Platform
Alias = "java"
end
#
# R
#
class R < Msf::Module::Platform
Rank = 100
Alias = "r"
end
#
# Ruby
#

View File

@ -27,7 +27,7 @@ module MetasploitModule
'Handler' => Msf::Handler::BindTcp,
'Session' => Msf::Sessions::CommandShell,
'PayloadType' => 'cmd',
'RequiredCmd' => 'ruby',
'RequiredCmd' => 'R',
'Payload' => { 'Offsets' => {}, 'Payload' => '' }
))
end

View File

@ -22,11 +22,12 @@ module MetasploitModule
'Description' => 'Connect back and create a command shell via R',
'Author' => [ 'RageLtMan' ],
'License' => MSF_LICENSE,
'Platform' => 'r',
'Arch' => ARCH_R,
'Platform' => 'unix',
'Arch' => ARCH_CMD,
'Handler' => Msf::Handler::ReverseTcp,
'Session' => Msf::Sessions::CommandShell,
'PayloadType' => 'r',
'PayloadType' => 'cmd',
'RequiredCmd' => 'R',
'Payload' => { 'Offsets' => {}, 'Payload' => '' }
))
end