commit
dae8847c4d
|
@ -12,9 +12,21 @@ require 'msf/core'
|
||||||
module Msf::Payload::Windows
|
module Msf::Payload::Windows
|
||||||
|
|
||||||
require 'msf/core/payload/windows/prepend_migrate'
|
require 'msf/core/payload/windows/prepend_migrate'
|
||||||
|
|
||||||
# Provides the #prepends method
|
# Provides the #prepends method
|
||||||
|
# XXX: For some unfathomable reason, the order of requires here is
|
||||||
|
# important. If this include happens after require'ing the files
|
||||||
|
# below, it causes the windows/exec payload (and probably others) to
|
||||||
|
# somehow not have PrependMigrate despite having Payload::Windows,
|
||||||
|
# which leads to a NoMethodError on #prepends
|
||||||
include Msf::Payload::Windows::PrependMigrate
|
include Msf::Payload::Windows::PrependMigrate
|
||||||
|
|
||||||
|
require 'msf/core/payload/windows/dllinject'
|
||||||
|
require 'msf/core/payload/windows/exec'
|
||||||
|
require 'msf/core/payload/windows/loadlibrary'
|
||||||
|
require 'msf/core/payload/windows/reflectivedllinject'
|
||||||
|
require 'msf/core/payload/windows/x64/reflectivedllinject'
|
||||||
|
|
||||||
#
|
#
|
||||||
# ROR hash associations for some of the exit technique routines.
|
# ROR hash associations for some of the exit technique routines.
|
||||||
#
|
#
|
||||||
|
|
|
@ -4,6 +4,9 @@
|
||||||
require 'rex/post/meterpreter/packet'
|
require 'rex/post/meterpreter/packet'
|
||||||
require 'rex/post/meterpreter/extension'
|
require 'rex/post/meterpreter/extension'
|
||||||
require 'rex/post/meterpreter/client'
|
require 'rex/post/meterpreter/client'
|
||||||
|
|
||||||
|
# Used to generate a reflective DLL when migrating. This is yet another
|
||||||
|
# argument for moving the meterpreter client into the Msf namespace.
|
||||||
require 'msf/core/payload/windows'
|
require 'msf/core/payload/windows'
|
||||||
|
|
||||||
module Rex
|
module Rex
|
||||||
|
|
Loading…
Reference in New Issue