From 3e4b4bc9103044e2351887e62ba218a89379bdd3 Mon Sep 17 00:00:00 2001 From: bcoles Date: Sun, 26 Feb 2023 03:31:14 +1100 Subject: [PATCH] hta_powershell: Fix loading beef_url_str from config (#2732) --- modules/social_engineering/hta_powershell/module.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/social_engineering/hta_powershell/module.rb b/modules/social_engineering/hta_powershell/module.rb index d54b0b8eb..fdd8f4770 100755 --- a/modules/social_engineering/hta_powershell/module.rb +++ b/modules/social_engineering/hta_powershell/module.rb @@ -9,7 +9,7 @@ class Hta_powershell < BeEF::Core::Command ps_url = @config.get('beef.extension.social_engineering.powershell.powershell_handler_url') [ - { 'name' => 'domain', 'ui_label' => 'Serving Domain (BeEF server)', 'value' => @configuration.beef_url_str }, + { 'name' => 'domain', 'ui_label' => 'Serving Domain (BeEF server)', 'value' => @config.beef_url_str }, { 'name' => 'ps_url', 'ui_label' => 'Powershell/HTA handler', 'value' => ps_url } ] end