From 3c54192107a75d797cee58b4fcbbbc71729e1a08 Mon Sep 17 00:00:00 2001 From: cgranleese-r7 Date: Fri, 1 Aug 2025 14:48:28 +0100 Subject: [PATCH] Updates to use powershell language opts --- lib/rex/powershell/script.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/rex/powershell/script.rb b/lib/rex/powershell/script.rb index 3be2aca..569648a 100644 --- a/lib/rex/powershell/script.rb +++ b/lib/rex/powershell/script.rb @@ -14,7 +14,7 @@ class Script DEFAULT_RIG_OPTS = { max_length: 5, min_length: 2, - forbidden: Parser::RESERVED_VARIABLE_NAMES.map {|e| e[1..-1]} + language: :powershell } # Pretend we are actually a string extend ::Forwardable