Minor patch

This commit is contained in:
Miroslav Stampar 2014-08-26 22:40:50 +02:00
parent 2be0ebd883
commit decd092b2a

View File

@ -1267,7 +1267,7 @@ def expandAsteriskForColumns(expression):
infoMsg += "sqlmap will retrieve the column names itself" infoMsg += "sqlmap will retrieve the column names itself"
logger.info(infoMsg) logger.info(infoMsg)
_ = asterisk.group(2).replace("..", ".") _ = asterisk.group(2).replace("..", ".").replace(".dbo.", ".")
conf.db, conf.tbl = _.split(".", 1) if '.' in _ else (None, _) conf.db, conf.tbl = _.split(".", 1) if '.' in _ else (None, _)
conf.db = safeSQLIdentificatorNaming(conf.db) conf.db = safeSQLIdentificatorNaming(conf.db)
conf.tbl = safeSQLIdentificatorNaming(conf.tbl, True) conf.tbl = safeSQLIdentificatorNaming(conf.tbl, True)