We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e0fec0e + 5a3195d commit 3d6993dCopy full SHA for 3d6993d
lib/msf/core/db_connector.rb
@@ -247,6 +247,7 @@ def self.db_parse_db_uri_postgresql(path)
247
targ,name = dest.split('/')
248
(name = targ and targ = nil) if not name
249
res[:host],res[:port] = targ.split(':') if targ
250
+ name = name&.split('?')&.first
251
end
252
res[:name] = name || 'metasploit3'
253
res
0 commit comments