mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
More fixes for --common-columns to work against MSSQL too
This commit is contained in:
parent
917b2b0d6b
commit
aa0fb276ba
|
@ -250,7 +250,7 @@ def resumeConfKb(expression, url, value):
|
|||
kb.brute.tables.append((db, table))
|
||||
|
||||
elif expression == "COLUMN_EXISTS" and url == conf.url:
|
||||
table, column = unSafeFormatString(value[:-1]).split('..')
|
||||
table, column = unSafeFormatString(value[:-1]).split('|')
|
||||
colName, colType = column.split(' ')
|
||||
|
||||
if '.' in table:
|
||||
|
|
|
@ -257,7 +257,7 @@ def columnExists(columnFile, regex=None):
|
|||
else:
|
||||
columns[column] = 'non-numeric'
|
||||
|
||||
dataToSessionFile("[%s][%s][%s][COLUMN_EXISTS][%s..%s %s]\n" % (conf.url, kb.injection.place,\
|
||||
dataToSessionFile("[%s][%s][%s][COLUMN_EXISTS][%s|%s %s]\n" % (conf.url, kb.injection.place,\
|
||||
safeFormatString(conf.parameters[kb.injection.place]), safeFormatString(table),\
|
||||
safeFormatString(column), safeFormatString(columns[column])))
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user