Files
metasploit-gs/lib/metasploit/framework/database.rb
T

16 lines
311 B
Ruby
Raw Normal View History

2013-04-01 16:06:40 -05:00
require 'metasploit/framework'
module Metasploit
2013-08-30 16:28:33 -05:00
module Framework
module Database
def self.configurations
YAML.load_file(configurations_pathname)
end
2013-04-01 16:06:40 -05:00
2013-08-30 16:28:33 -05:00
def self.configurations_pathname
Metasploit::Framework.root.join('config', 'database.yml')
end
end
end
2013-04-01 16:06:40 -05:00
end