fix handler persistence

bug/bundler_fix
Rich Whitcroft 2017-02-20 13:51:07 -05:00
parent 647020289f
commit f08478e02f
1 changed files with 2 additions and 0 deletions

View File

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