Skip to content

Commit bbf271f

Browse files
author
Brent Cook
committed
Land rapid7#7981, allow handler launched by the handler command to persist
Merge remote-tracking branch 'upstream/pr/7981' into upstream-master
2 parents 8c876f4 + f08478e commit bbf271f

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)