module PWN::Plugins::DAOMongo
def self.connect(opts = {})
def self.connect(opts = {}) st].nil? 1' # Defaults to localhost t].to_s rt].nil? Defaults to TCP port 27017 t].to_i atabase].to_s.scrub .nil? go::Client.new(["#{host}:#{port}"]) go::Client.new(["#{host}:#{port}"], database: database) n(mongo_conn: mongo_conn) => e