Land #7981, allow handler launched by the handler command to persist

Merge remote-tracking branch 'upstream/pr/7981' into upstream-master
bug/bundler_fix
Brent Cook 2017-02-28 02:38:42 -06:00
commit bbf271f6b0
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
1 changed files with 2 additions and 0 deletions

View File

@ -321,7 +321,9 @@ module Msf
'ExitOnSession' => exit_on_session,
'RunAsJob' => true
}
handler.datastore.reverse_merge!(payload_datastore)
handler.datastore.merge!(handler_opts)
# Launch our Handler and get the Job ID
handler.exploit_simple(handler_opts)