mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Minor bugs fixes
This commit is contained in:
parent
5fdebb5d5b
commit
b19de015c5
5 changed files with 10 additions and 5 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue