mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor bug fix with --sql-query/shell when providing a statement with DISTINCT
This commit is contained in:
parent
954a927cee
commit
80df1fdcf9
5 changed files with 15 additions and 4 deletions
|
|
@ -350,6 +350,8 @@ def getValue(expression, blind=True, inband=True, fromUser=False, expected=None,
|
|||
expression = expandAsteriskForColumns(expression)
|
||||
value = None
|
||||
|
||||
expression = expression.replace("DISTINCT ", "")
|
||||
|
||||
if inband and kb.unionPosition:
|
||||
if kb.dbms == "Oracle" and " ORDER BY " in expression:
|
||||
expression = expression[:expression.index(" ORDER BY ")]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue