mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-11-12 11:52:01 +01:00
Pass the password argument in db_create
git-svn-id: file:///home/svn/framework3/trunk@7823 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
f157d66625
commit
e2a5cb0ebe
@ -1431,7 +1431,7 @@ class Db
|
||||
system("dropdb #{cargs} #{info[:name]} >/dev/null 2>&1")
|
||||
system("createdb #{cargs} #{info[:name]}")
|
||||
|
||||
opts['pass'] ||= ''
|
||||
opts['password'] = info[:pass] || ''
|
||||
|
||||
# Do a little legwork to find the real database socket
|
||||
if(! opts['host'])
|
||||
|
Loading…
Reference in New Issue
Block a user