149c3ecc63
* --ask option ported to new location * --version option now works * MSF version updated * All specs passing
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
|