Minor bugs fixes

This commit is contained in:
Bernardo Damele
2010-03-31 13:52:51 +00:00
parent 5fdebb5d5b
commit b19de015c5
5 changed files with 10 additions and 5 deletions

View File

@@ -413,7 +413,7 @@ class Metasploit:
cmd = "%s &" % self.exeFilePathRemote
if kb.dbms == "Microsoft SQL Server" and kb.stackedTest:
if kb.dbms == "Microsoft SQL Server" and (kb.stackedTest or conf.direct):
cmd = self.xpCmdshellForgeCmd(cmd)
self.execCmd(cmd, silent=True)