mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-25 07:39:03 +00:00
Minor bugs fixes
This commit is contained in:
@@ -113,6 +113,7 @@ SQL_STATEMENTS = {
|
||||
"grant ", ),
|
||||
|
||||
"SQL data execution": (
|
||||
"exec ",
|
||||
"execute ", ),
|
||||
|
||||
"SQL transaction": (
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user