mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 12:41:30 +00:00
minor bug fix introduced in 2267dd8f47
This commit is contained in:
@@ -119,7 +119,11 @@ class Miscellaneous:
|
|||||||
|
|
||||||
def createSupportTbl(self, tblName, tblField, tblType):
|
def createSupportTbl(self, tblName, tblField, tblType):
|
||||||
inject.goStacked("DROP TABLE %s" % tblName, silent=True)
|
inject.goStacked("DROP TABLE %s" % tblName, silent=True)
|
||||||
|
|
||||||
|
if Backend.isDbms(DBMS.MSSQL) and tblName == self.cmdTblName:
|
||||||
inject.goStacked("CREATE TABLE %s(id INT PRIMARY KEY IDENTITY, %s %s)" % (tblName, tblField, tblType))
|
inject.goStacked("CREATE TABLE %s(id INT PRIMARY KEY IDENTITY, %s %s)" % (tblName, tblField, tblType))
|
||||||
|
else:
|
||||||
|
inject.goStacked("CREATE TABLE %s(%s %s)" % (tblName, tblField, tblType))
|
||||||
|
|
||||||
def cleanup(self, onlyFileTbl=False, udfDict=None, web=False):
|
def cleanup(self, onlyFileTbl=False, udfDict=None, web=False):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Reference in New Issue
Block a user