mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-12-01 14:03:52 +03:00
minor fix for retrieving stuff like "SELECT * FROM testdb..users"
This commit is contained in:
parent
1067d43f14
commit
bfe8e51b7c
|
@ -1096,6 +1096,9 @@ def expandAsteriskForColumns(expression):
|
||||||
|
|
||||||
dbTbl = asterisk.group(1)
|
dbTbl = asterisk.group(1)
|
||||||
|
|
||||||
|
if dbTbl and ".." in dbTbl:
|
||||||
|
dbTbl = dbTbl.replace('..', '.dbo.')
|
||||||
|
|
||||||
if dbTbl and "." in dbTbl:
|
if dbTbl and "." in dbTbl:
|
||||||
conf.db, conf.tbl = dbTbl.split(".", 1)
|
conf.db, conf.tbl = dbTbl.split(".", 1)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user