19ba7772f3
This reverts commit 149c3ecc63.
Conflicts:
lib/metasploit/framework/command/base.rb
lib/metasploit/framework/common_engine.rb
lib/metasploit/framework/require.rb
lib/msf/core/modules/namespace.rb
modules/auxiliary/analyze/jtr_postgres_fast.rb
modules/auxiliary/scanner/smb/smb_login.rb
msfconsole
16 lines
319 B
Ruby
16 lines
319 B
Ruby
require 'metasploit/framework'
|
|
|
|
module Metasploit
|
|
module Framework
|
|
module Database
|
|
def self.configurations
|
|
YAML.load_file(configurations_pathname)
|
|
end
|
|
|
|
def self.configurations_pathname
|
|
Metasploit::Framework::Application.paths['config/database'].first
|
|
end
|
|
end
|
|
end
|
|
end
|