We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 725d4d7 commit c97be83Copy full SHA for c97be83
lib/msf/core/payload/windows.rb
@@ -75,7 +75,7 @@ def generate(*args)
75
if (test_arch.include?(ARCH_X86))
76
77
# PrependMigrate
78
- if (datastore['PrependMigrate'])
+ if datastore['PrependMigrate'] and datastore['PrependMigrate'].to_s.downcase == 'true'
79
payloadsize = "0x%04x" % buf.length
80
procname = datastore['PrependMigrateProc'] || 'rundll32'
81
0 commit comments