mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
minor bug fix introduced in 2267dd8f47
This commit is contained in:
parent
0b8de94ace
commit
1de109747f
|
@ -119,7 +119,11 @@ class Miscellaneous:
|
|||
|
||||
def createSupportTbl(self, tblName, tblField, tblType):
|
||||
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))
|
||||
else:
|
||||
inject.goStacked("CREATE TABLE %s(%s %s)" % (tblName, tblField, tblType))
|
||||
|
||||
def cleanup(self, onlyFileTbl=False, udfDict=None, web=False):
|
||||
"""
|
||||
|
|
Loading…
Reference in New Issue
Block a user