Move Compat into Payload so that is actually used

bug/bundler_fix
HD Moore 2015-11-09 16:06:05 -06:00
parent 8e5adfd79b
commit f86f427d54
4 changed files with 21 additions and 21 deletions

View File

@ -44,11 +44,11 @@ class Metasploit3 < Msf::Exploit::Remote
'DisableNops' => true,
'Compat' =>
{
'PayloadType' => 'cmd'
},
'PayloadType' => 'cmd',
# Based on the default Ubuntu 10.04 VM appliance
'RequiredCmd' => 'generic telnet netcat perl python'
},
},
'Platform' => %w{ linux unix },
'Targets' =>
[

View File

@ -39,12 +39,12 @@ class Metasploit3 < Msf::Exploit::Remote
'Space' => 1024,
'BadChars' => "\x00",
'DisableNops' => true,
},
'Compat' =>
{
'PayloadType' => 'cmd',
'RequiredCmd' => 'generic python perl',
},
},
'Targets' =>
[
[

View File

@ -36,13 +36,13 @@ class Metasploit4 < Msf::Exploit::Remote
{
'Space' => 1024,
'BadChars' => "\x00\x0A\x0D",
'DisableNops' => true
},
'DisableNops' => true,
'Compat' =>
{
'PayloadType' => 'cmd',
'RequiredCmd' => 'generic awk ruby'
},
},
# Tested:
# - CUPS version 1.4.3 on Ubuntu 10.04 (x86)
# - CUPS version 1.5.3 on Debian 7 (x64)

View File

@ -35,15 +35,15 @@ class Metasploit3 < Msf::Exploit::Remote
],
'Payload' =>
{
'BadChars' => "\x00\x0d\x0a"
},
'Platform' => %w{ linux unix },
'Arch' => ARCH_CMD,
'BadChars' => "\x00\x0d\x0a",
'Compat' =>
{
'PayloadType' => 'cmd',
'RequiredCmd' => 'generic perl ruby python netcat netcat-e'
},
},
'Platform' => %w{ linux unix },
'Arch' => ARCH_CMD,
'Targets' =>
[
['Narcissus', {}]