mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-06 04:31:30 +00:00
Minor bug fixes
This commit is contained in:
@@ -875,12 +875,7 @@ class Enumeration:
|
|||||||
table = {}
|
table = {}
|
||||||
columns = {}
|
columns = {}
|
||||||
|
|
||||||
# TODO: check on Oracle
|
indexRange = getRange(count)
|
||||||
if kb.dbms == "Oracle":
|
|
||||||
plusOne = True
|
|
||||||
else:
|
|
||||||
plusOne = False
|
|
||||||
indexRange = getRange(count, plusOne=plusOne)
|
|
||||||
|
|
||||||
for index in indexRange:
|
for index in indexRange:
|
||||||
if kb.dbms in ( "MySQL", "PostgreSQL" ):
|
if kb.dbms in ( "MySQL", "PostgreSQL" ):
|
||||||
@@ -1032,7 +1027,7 @@ class Enumeration:
|
|||||||
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
indexRange = getRange(count, plusOne=plusOne)
|
indexRange = getRange(count)
|
||||||
|
|
||||||
for index in indexRange:
|
for index in indexRange:
|
||||||
query = rootQuery["blind"]["query"]
|
query = rootQuery["blind"]["query"]
|
||||||
@@ -1108,7 +1103,7 @@ class Enumeration:
|
|||||||
|
|
||||||
continue
|
continue
|
||||||
|
|
||||||
indexRange = getRange(count, plusOne=plusOne)
|
indexRange = getRange(count)
|
||||||
|
|
||||||
for index in indexRange:
|
for index in indexRange:
|
||||||
query = rootQuery["blind"]["query2"]
|
query = rootQuery["blind"]["query2"]
|
||||||
@@ -1343,7 +1338,12 @@ class Enumeration:
|
|||||||
|
|
||||||
lengths = {}
|
lengths = {}
|
||||||
entries = {}
|
entries = {}
|
||||||
indexRange = getRange(count, True)
|
|
||||||
|
if kb.dbms == "Oracle":
|
||||||
|
plusOne = True
|
||||||
|
else:
|
||||||
|
plusOne = False
|
||||||
|
indexRange = getRange(count, plusOne=plusOne)
|
||||||
|
|
||||||
for index in indexRange:
|
for index in indexRange:
|
||||||
for column in colList:
|
for column in colList:
|
||||||
|
|||||||
Reference in New Issue
Block a user