mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-07-29 12:41:58 +00:00
Minor bug fix to correctly enumerate columns on Microsoft SQL Server.
Minor adjustments to XML signatures. Updated documentation.
This commit is contained in:
parent
f2737ad0a3
commit
dc1f2deb74
9 changed files with 36 additions and 16 deletions
|
|
@ -772,9 +772,14 @@ class Enumeration:
|
|||
errMsg += "on database '%s'" % conf.db
|
||||
raise sqlmapNoneDataException, errMsg
|
||||
|
||||
if kb.dbms == "Microsoft SQL Server":
|
||||
plusOne = True
|
||||
else:
|
||||
plusOne = False
|
||||
|
||||
table = {}
|
||||
columns = {}
|
||||
indexRange = getRange(count)
|
||||
indexRange = getRange(count, plusOne=plusOne)
|
||||
|
||||
for index in indexRange:
|
||||
if kb.dbms in ( "MySQL", "PostgreSQL" ):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue