diff --git a/lib/msf/core/exploit/powershell.rb b/lib/msf/core/exploit/powershell.rb index 66441e3094..de3df04e1f 100644 --- a/lib/msf/core/exploit/powershell.rb +++ b/lib/msf/core/exploit/powershell.rb @@ -8,9 +8,9 @@ module Exploit::Powershell super register_options( [ - OptBool.new('PSH::PERSIST', [true, 'Run the payload in a loop', false]), - OptBool.new('PSH::OLD_METHOD', [true, 'Use powershell 1.0', false]), - OptBool.new('PSH::RUN_WOW64', [ + OptBool.new('PERSIST', [true, 'Run the payload in a loop', false]), + OptBool.new('PSH_OLD_METHOD', [true, 'Use powershell 1.0', false]), + OptBool.new('RUN_WOW64', [ true, 'Execute powershell in 32bit compatibility mode, payloads need native arch', false