Skip to content

Commit 3d08c0c

Browse files
committed
Merge pull request #2 from todb-r7/sj-prepend-migrate
Adding prepend_migrate? from todb
2 parents 0564a6e + b7652b4 commit 3d08c0c

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)