use the user-provided credentials
git-svn-id: file:///home/svn/framework3/trunk@6572 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
defbb2fe9c
commit
d9da2d1c0f
|
@ -42,7 +42,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
|
||||
def run
|
||||
connect
|
||||
if mssql_login
|
||||
if mssql_login(datastore['MSSQL_USER'], datastore['MSSQL_PASS'])
|
||||
cmd = datastore['CMD']
|
||||
cmd_exec(cmd)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue