Skip to content

Commit 2f362ae

Browse files
committed
Land rapid7#6215, Payload/Compat hash fixes
2 parents 8e5adfd + f86f427 commit 2f362ae

File tree

4 files changed

+21
-21
lines changed

4 files changed

+21
-21
lines changed

modules/exploits/linux/http/groundwork_monarch_cmd_exec.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@ def initialize(info={})
3737
[ 'US-CERT-VU', '345260' ],
3838
[ 'URL', 'https://www.sec-consult.com/fxdata/seccons/prod/temedia/advisories_txt/20130308-0_GroundWork_Monitoring_Multiple_critical_vulnerabilities_wo_poc_v10.txt' ]
3939
],
40-
'Arch' => ARCH_CMD,
40+
'Arch' => ARCH_CMD,
4141
'Payload' =>
4242
{
4343
'Space' => 8190,
4444
'DisableNops' => true,
4545
'Compat' =>
4646
{
47-
'PayloadType' => 'cmd'
47+
'PayloadType' => 'cmd',
48+
# Based on the default Ubuntu 10.04 VM appliance
49+
'RequiredCmd' => 'generic telnet netcat perl python'
4850
},
49-
# Based on the default Ubuntu 10.04 VM appliance
50-
'RequiredCmd' => 'generic telnet netcat perl python'
5151
},
5252
'Platform' => %w{ linux unix },
5353
'Targets' =>

modules/exploits/linux/http/zenoss_showdaemonxmlconfig_exec.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ def initialize(info = {})
3939
'Space' => 1024,
4040
'BadChars' => "\x00",
4141
'DisableNops' => true,
42-
},
43-
'Compat' =>
44-
{
45-
'PayloadType' => 'cmd',
46-
'RequiredCmd' => 'generic python perl',
42+
'Compat' =>
43+
{
44+
'PayloadType' => 'cmd',
45+
'RequiredCmd' => 'generic python perl',
46+
},
4747
},
4848
'Targets' =>
4949
[

modules/exploits/multi/http/cups_bash_env_exec.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -36,12 +36,12 @@ def initialize(info = {})
3636
{
3737
'Space' => 1024,
3838
'BadChars' => "\x00\x0A\x0D",
39-
'DisableNops' => true
40-
},
41-
'Compat' =>
42-
{
43-
'PayloadType' => 'cmd',
44-
'RequiredCmd' => 'generic awk ruby'
39+
'DisableNops' => true,
40+
'Compat' =>
41+
{
42+
'PayloadType' => 'cmd',
43+
'RequiredCmd' => 'generic awk ruby'
44+
},
4545
},
4646
# Tested:
4747
# - CUPS version 1.4.3 on Ubuntu 10.04 (x86)

modules/exploits/unix/webapp/narcissus_backend_exec.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,15 @@ def initialize(info={})
3535
],
3636
'Payload' =>
3737
{
38-
'BadChars' => "\x00\x0d\x0a"
38+
'BadChars' => "\x00\x0d\x0a",
39+
'Compat' =>
40+
{
41+
'PayloadType' => 'cmd',
42+
'RequiredCmd' => 'generic perl ruby python netcat netcat-e'
43+
},
3944
},
4045
'Platform' => %w{ linux unix },
4146
'Arch' => ARCH_CMD,
42-
'Compat' =>
43-
{
44-
'PayloadType' => 'cmd',
45-
'RequiredCmd' => 'generic perl ruby python netcat netcat-e'
46-
},
4747
'Targets' =>
4848
[
4949
['Narcissus', {}]

0 commit comments

Comments
 (0)