Files
metasploit-gs/lib/metasploit/framework/database.rb
T
Brandon Turner 19ba7772f3 Revert "Various merge resolutions from master <- staging"
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
2014-08-22 10:17:44 -05:00

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