mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
Minor update related to the Issue #993
This commit is contained in:
parent
a7b21a2f62
commit
d700e50b36
|
@ -134,6 +134,12 @@ def _oneShotErrorUse(expression, field=None):
|
||||||
check = "(?P<result>.*?)%s" % kb.chars.stop[:2]
|
check = "(?P<result>.*?)%s" % kb.chars.stop[:2]
|
||||||
output = extractRegexResult(check, trimmed, re.IGNORECASE)
|
output = extractRegexResult(check, trimmed, re.IGNORECASE)
|
||||||
|
|
||||||
|
if not output:
|
||||||
|
check = "(?P<result>[^\s<>'\"]+)"
|
||||||
|
output = extractRegexResult(check, trimmed, re.IGNORECASE)
|
||||||
|
else:
|
||||||
|
output = output.rstrip()
|
||||||
|
|
||||||
if any(Backend.isDbms(dbms) for dbms in (DBMS.MYSQL, DBMS.MSSQL)):
|
if any(Backend.isDbms(dbms) for dbms in (DBMS.MYSQL, DBMS.MSSQL)):
|
||||||
if offset == 1:
|
if offset == 1:
|
||||||
retVal = output
|
retVal = output
|
||||||
|
|
Loading…
Reference in New Issue
Block a user