From bf2458392c7c13ded47a4ebca73e58da7876c381 Mon Sep 17 00:00:00 2001 From: Jack Walker Date: Fri, 24 Apr 2020 14:50:00 +1000 Subject: [PATCH] Fixed issue causing misidentification of debug modules. --- spec/beef/modules/debug/test_beef_debugs_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/beef/modules/debug/test_beef_debugs_spec.rb b/spec/beef/modules/debug/test_beef_debugs_spec.rb index a2c48437b..13ce28360 100644 --- a/spec/beef/modules/debug/test_beef_debugs_spec.rb +++ b/spec/beef/modules/debug/test_beef_debugs_spec.rb @@ -99,7 +99,7 @@ RSpec.describe 'BeEF Debug Command Modules:', :run_on_browserstack => true do @debug_mod_names_ids = {} @debug_mods = @debug_mod_ids.to_a.select { |cmd_mod| cmd_mod[1]['category'] == 'Debug' } .map do |debug_mod| - @debug_mod_names_ids[debug_mod[1]['class']] = debug_mod[0]['id'] + @debug_mod_names_ids[debug_mod[1]['class']] = debug_mod[1]['id'] end end