Skip to content

Commit f08478e

Browse files
author
Rich Whitcroft
committed
fix handler persistence
1 parent 6470202 commit f08478e

File tree

1 file changed

+2
-0
lines changed
  • lib/msf/ui/console/command_dispatcher

1 file changed

+2
-0
lines changed

lib/msf/ui/console/command_dispatcher/jobs.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,9 @@ def cmd_handler(*args)
321321
'ExitOnSession' => exit_on_session,
322322
'RunAsJob' => true
323323
}
324+
324325
handler.datastore.reverse_merge!(payload_datastore)
326+
handler.datastore.merge!(handler_opts)
325327

326328
# Launch our Handler and get the Job ID
327329
handler.exploit_simple(handler_opts)

0 commit comments

Comments
 (0)