Skip to content

Commit faa9c11

Browse files
committed
Dont deregister an option that is in use
1 parent 748589f commit faa9c11

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/exploits/windows/misc/hp_dataprotector_exec_bar.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ def initialize(info = {})
6060
Opt::RPORT(5555),
6161
OptString.new('CMDPATH', [true, 'The cmd.exe path', 'c:\\windows\\system32\\cmd.exe'])
6262
], self.class)
63-
deregister_options('CMDSTAGER::DECODER', 'CMDSTAGER::FLAVOR')
63+
deregister_options('CMDSTAGER::FLAVOR')
6464
end
6565

6666
def check

0 commit comments

Comments
 (0)