Module: Rex::Powershell::Templates
- Included in:
- Payload
- Defined in:
- lib/rex/powershell/templates.rb
Constant Summary collapse
- DEFAULT_RIG_OPTS =
RandomIdentifier::Generator options
Rex::Powershell::Script::DEFAULT_RIG_OPTS
- TEMPLATE_DIR =
The base directory that all Powershell script templates live in
File.( File.join( __FILE__ , '..', '..', '..', '..', 'data', 'templates') )
- TO_MEM_DOTNET =
The powershell script template for memory injection using .NET
File.join(TEMPLATE_DIR, 'to_mem_dotnet.ps1.template')
- TO_MEM_REFLECTION =
The powershell script template for memory injection using reflection
File.join(TEMPLATE_DIR, 'to_mem_pshreflection.ps1.template')
- TO_MEM_OLD =
The powershell script template for memory injection using the old method
File.join(TEMPLATE_DIR, 'to_mem_old.ps1.template')
- TO_MEM_MSIL =
The powershell script template for memory injection using the old method
File.join(TEMPLATE_DIR, 'to_mem_msil.ps1.template')