mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 02:53:46 +03:00
fix for a bug reported by blueBoy
This commit is contained in:
parent
fb6a84b10b
commit
8a174248dc
|
@ -565,6 +565,9 @@ Brandon E. <brandonpoc@gmail.com>
|
||||||
black zero <timeisflowing@gmail.com>
|
black zero <timeisflowing@gmail.com>
|
||||||
for reporting a minor bug
|
for reporting a minor bug
|
||||||
|
|
||||||
|
blueBoy <blueboy4444@gmail.com>
|
||||||
|
for reporting a bug
|
||||||
|
|
||||||
buawig <buawig@gmail.com>
|
buawig <buawig@gmail.com>
|
||||||
for reporting considerable amount of bugs
|
for reporting considerable amount of bugs
|
||||||
|
|
||||||
|
|
|
@ -560,8 +560,8 @@ class Agent:
|
||||||
|
|
||||||
if limited:
|
if limited:
|
||||||
inbandQuery += ",".join(map(lambda x: char if x != position else '(SELECT %s)' % query, range(0, count)))
|
inbandQuery += ",".join(map(lambda x: char if x != position else '(SELECT %s)' % query, range(0, count)))
|
||||||
inbandQuery = self.suffixQuery(inbandQuery, comment, suffix)
|
|
||||||
inbandQuery += FROM_TABLE.get(Backend.getIdentifiedDbms(), "")
|
inbandQuery += FROM_TABLE.get(Backend.getIdentifiedDbms(), "")
|
||||||
|
inbandQuery = self.suffixQuery(inbandQuery, comment, suffix)
|
||||||
|
|
||||||
return inbandQuery
|
return inbandQuery
|
||||||
|
|
||||||
|
|
|
@ -2352,6 +2352,8 @@ class Enumeration:
|
||||||
sqlType = None
|
sqlType = None
|
||||||
getOutput = None
|
getOutput = None
|
||||||
|
|
||||||
|
query = query.rstrip(';')
|
||||||
|
|
||||||
for sqlTitle, sqlStatements in SQL_STATEMENTS.items():
|
for sqlTitle, sqlStatements in SQL_STATEMENTS.items():
|
||||||
for sqlStatement in sqlStatements:
|
for sqlStatement in sqlStatements:
|
||||||
if query.lower().startswith(sqlStatement):
|
if query.lower().startswith(sqlStatement):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user