Update exploit driver with correct method
This commit is contained in:
parent
17ed88b766
commit
7cc82a14b6
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue