Update exploit driver with correct method

This commit is contained in:
William Vu 2018-04-05 18:56:19 -05:00
parent 17ed88b766
commit 7cc82a14b6
1 changed files with 1 additions and 1 deletions

View File

@ -131,7 +131,7 @@ class ExploitDriver
# If we are being instructed to run as a job then let's create that job # If we are being instructed to run as a job then let's create that job
# like a good person. # 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 # Since references to the exploit and payload will hang around for
# awhile in the job, make sure we copy them so further changes to # awhile in the job, make sure we copy them so further changes to
# the datastore don't alter settings in existing jobs # the datastore don't alter settings in existing jobs