Move Compat into Payload so that is actually used
parent
8e5adfd79b
commit
f86f427d54
|
@ -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' =>
|
||||
[
|
||||
|
|
|
@ -39,12 +39,12 @@ class Metasploit3 < Msf::Exploit::Remote
|
|||
'Space' => 1024,
|
||||
'BadChars' => "\x00",
|
||||
'DisableNops' => true,
|
||||
},
|
||||
'Compat' =>
|
||||
{
|
||||
'PayloadType' => 'cmd',
|
||||
'RequiredCmd' => 'generic python perl',
|
||||
},
|
||||
},
|
||||
'Targets' =>
|
||||
[
|
||||
[
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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', {}]
|
||||
|
|
Loading…
Reference in New Issue