diff --git a/lib/msf/ui/console/command_dispatcher/core.rb b/lib/msf/ui/console/command_dispatcher/core.rb index 3af937847d..bc0bf9f1a6 100644 --- a/lib/msf/ui/console/command_dispatcher/core.rb +++ b/lib/msf/ui/console/command_dispatcher/core.rb @@ -231,7 +231,8 @@ class Core begin [ ::Msf::Config.script_directory + File::SEPARATOR + "resource", - ::Msf::Config.user_script_directory + File::SEPARATOR + "resource" + ::Msf::Config.user_script_directory + File::SEPARATOR + "resource", + "." ].each do |dir| next if not ::File.exist? dir tabs += ::Dir.new(dir).find_all { |e|