From 7cc82a14b6117875b4d5f55dc5b53c7c6a4c55df Mon Sep 17 00:00:00 2001 From: William Vu Date: Thu, 5 Apr 2018 18:56:19 -0500 Subject: [PATCH] Update exploit driver with correct method --- lib/msf/core/exploit_driver.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/core/exploit_driver.rb b/lib/msf/core/exploit_driver.rb index 846fd6569f..632e3a9cd3 100644 --- a/lib/msf/core/exploit_driver.rb +++ b/lib/msf/core/exploit_driver.rb @@ -131,7 +131,7 @@ class ExploitDriver # If we are being instructed to run as a job then let's create that job # like a good person. - if (use_job or exploit.stance == Msf::Exploit::Stance::Passive) + if (use_job or exploit.passive?) # Since references to the exploit and payload will hang around for # awhile in the job, make sure we copy them so further changes to # the datastore don't alter settings in existing jobs