mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-10-12 11:39:59 +00:00
fix for a bug reported by blueBoy
This commit is contained in:
@@ -565,6 +565,9 @@ Brandon E. <[email protected]>
|
||||
black zero <[email protected]>
|
||||
for reporting a minor bug
|
||||
|
||||
blueBoy <[email protected]>
|
||||
for reporting a bug
|
||||
|
||||
buawig <[email protected]>
|
||||
for reporting considerable amount of bugs
|
||||
|
||||
|
||||
+1
-1
@@ -560,8 +560,8 @@ class Agent:
|
||||
|
||||
if limited:
|
||||
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 = self.suffixQuery(inbandQuery, comment, suffix)
|
||||
|
||||
return inbandQuery
|
||||
|
||||
|
||||
@@ -2352,6 +2352,8 @@ class Enumeration:
|
||||
sqlType = None
|
||||
getOutput = None
|
||||
|
||||
query = query.rstrip(';')
|
||||
|
||||
for sqlTitle, sqlStatements in SQL_STATEMENTS.items():
|
||||
for sqlStatement in sqlStatements:
|
||||
if query.lower().startswith(sqlStatement):
|
||||
|
||||
Reference in New Issue
Block a user