use the user-provided credentials

git-svn-id: file:///home/svn/framework3/trunk@6572 4d416f70-5f16-0410-b530-b9f4589650da
unstable
James Lee 2009-05-21 23:33:20 +00:00
parent defbb2fe9c
commit d9da2d1c0f
1 changed files with 1 additions and 1 deletions

View File

@ -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