Skip to content

Commit b7652b4

Browse files
committed
Adding prepend_migrate?
1 parent 0564a6e commit b7652b4

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

lib/msf/core/exploit.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1242,6 +1242,15 @@ def handler_enabled?
12421242
not datastore['DisablePayloadHandler']
12431243
end
12441244

1245+
#
1246+
# Returns the state of the PrependMigrate option
1247+
# See https://github.com/rapid7/metasploit-framework/pull/917
1248+
# for discussion.
1249+
#
1250+
def prepend_migrate?
1251+
datastore['PrependMigrate']
1252+
end
1253+
12451254
##
12461255
#
12471256
# Handler interaction

0 commit comments

Comments
 (0)