mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 11:33:47 +03:00
minor update
This commit is contained in:
parent
c5c4aae3d5
commit
fb099615e2
|
@ -1211,6 +1211,15 @@ class Enumeration:
|
|||
indexRange = getRange(count, dump=True, plusOne=plusOne)
|
||||
|
||||
if kb.dbms == DBMS.ACCESS:
|
||||
for column in colList:
|
||||
# It would be good to have a numeric column as a pivot
|
||||
result = inject.checkBooleanExpression("%s" % safeStringFormat("EXISTS(SELECT %s FROM %s WHERE %s>0)", (column, conf.tbl, column)))
|
||||
|
||||
if result:
|
||||
colList.remove(column)
|
||||
colList.insert(0, column)
|
||||
break
|
||||
|
||||
value = " "
|
||||
for column in colList:
|
||||
for index in indexRange:
|
||||
|
|
|
@ -359,7 +359,7 @@
|
|||
<tables/>
|
||||
<dump_table>
|
||||
<inband query="SELECT %s FROM %s"/>
|
||||
<blind query="SELECT MIN(%s) FROM %s WHERE CVAR(%s) > '%s'" query2="SELECT TOP 1 %s FROM %s WHERE %s LIKE '%s'" count="SELECT COUNT(*) FROM %s"/>
|
||||
<blind query="SELECT MIN(%s) FROM %s WHERE CVAR(%s) > '%s'" query2="SELECT TOP 1 %s FROM %s WHERE CVAR(%s) LIKE '%s'" count="SELECT COUNT(*) FROM %s"/>
|
||||
</dump_table>
|
||||
</dbms>
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user