Skip to content

Commit ff73b4d

Browse files
committed
Fix duplicate hash key "DefaultOptions"
In modules/exploits/windows/local/pxeexploit.rb.
1 parent 53e4549 commit ff73b4d

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

modules/exploits/windows/local/pxeexploit.rb

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ def initialize
3030
'DefaultOptions' =>
3131
{
3232
'EXITFUNC' => 'thread',
33+
'FILENAME' => 'update1',
34+
'SERVEONCE' => true # once they reboot; don't infect again - you'll kill them!
3335
},
3436
'Payload' =>
3537
{
@@ -47,11 +49,7 @@ def initialize
4749
],
4850
'Privileged' => true,
4951
'Stance' => Msf::Exploit::Stance::Passive,
50-
'DefaultTarget' => 0,
51-
'DefaultOptions' => {
52-
'FILENAME' => 'update1',
53-
'SERVEONCE' => true # once they reboot; don't infect again - you'll kill them!
54-
}
52+
'DefaultTarget' => 0
5553
)
5654

5755
register_options(

0 commit comments

Comments
 (0)