fix handler persistence
parent
647020289f
commit
f08478e02f
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue