Skip to content

Commit 70033e2

Browse files
committed
Enable the payload handler by default
1 parent 3f6f70f commit 70033e2

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

modules/exploits/windows/fileformat/cve_2017_8464_lnk_rce.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,8 @@ def initialize(info = {})
4747
],
4848
'DefaultOptions' =>
4949
{
50-
'EXITFUNC' => 'process'
50+
'EXITFUNC' => 'process',
51+
'DisablePayloadHandler' => true
5152
},
5253
'Arch' => [ARCH_X86, ARCH_X64],
5354
'Payload' =>
@@ -76,7 +77,6 @@ def initialize(info = {})
7677

7778
register_advanced_options(
7879
[
79-
OptBool.new('DisablePayloadHandler', [false, 'Disable the handler code for the selected payload', true]),
8080
OptString.new('LnkComment', [true, 'The comment to use in the generated LNK file', 'Manage Flash Player Settings']),
8181
OptString.new('LnkDisplayName', [true, 'The display name to use in the generated LNK file', 'Flash Player'])
8282
]

modules/exploits/windows/local/cve_2017_8464_lnk_lpe.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,6 @@ def initialize(info = {})
7979

8080
register_advanced_options(
8181
[
82-
OptBool.new('DisablePayloadHandler', [false, 'Disable the handler code for the selected payload', true]),
8382
OptString.new('LnkComment', [true, 'The comment to use in the generated LNK file', 'Manage Flash Player Settings']),
8483
OptString.new('LnkDisplayName', [true, 'The display name to use in the generated LNK file', 'Flash Player'])
8584
]

0 commit comments

Comments
 (0)