Module: Rex::Powershell::Templates

Defined in:
lib/rex/powershell/templates.rb

Constant Summary collapse

TEMPLATE_DIR =

The base directory that all Powershell script templates live in

File.expand_path( 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')