mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-02 20:54:13 +03:00
Minor fix (e.g. Oracle identifier names can contain character $)
This commit is contained in:
parent
dcaad75a1e
commit
2be0ebd883
|
@ -1260,7 +1260,7 @@ def expandAsteriskForColumns(expression):
|
||||||
the SQL query string (expression)
|
the SQL query string (expression)
|
||||||
"""
|
"""
|
||||||
|
|
||||||
asterisk = re.search("^SELECT(\s+TOP\s+[\d]+)?\s+\*\s+FROM\s+([\w\.\_]+)\s*", expression, re.I)
|
asterisk = re.search("^SELECT(\s+TOP\s+[\d]+)?\s+\*\s+FROM\s+`?([^`\s()]+)", expression, re.I)
|
||||||
|
|
||||||
if asterisk:
|
if asterisk:
|
||||||
infoMsg = "you did not provide the fields in your query. "
|
infoMsg = "you did not provide the fields in your query. "
|
||||||
|
|
Loading…
Reference in New Issue
Block a user