mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-25 19:13:48 +03:00
fix for NULL values
This commit is contained in:
parent
00449f1402
commit
34f70657ee
|
@ -73,7 +73,7 @@ def errorUse(expression, resumeValue=True):
|
||||||
forgedPayload = safeStringFormat(payload, (logic, randInt, startLimiter, expressionUnescaped, endLimiter))
|
forgedPayload = safeStringFormat(payload, (logic, randInt, startLimiter, expressionUnescaped, endLimiter))
|
||||||
result = Request.queryPage(urlencode(forgedPayload), content=True)
|
result = Request.queryPage(urlencode(forgedPayload), content=True)
|
||||||
|
|
||||||
match = re.search('%s(?P<result>.+?)%s' % (ERROR_START_CHAR, ERROR_END_CHAR), result[0], re.DOTALL | re.IGNORECASE)
|
match = re.search('%s(?P<result>.*?)%s' % (ERROR_START_CHAR, ERROR_END_CHAR), result[0], re.DOTALL | re.IGNORECASE)
|
||||||
if match:
|
if match:
|
||||||
output = match.group('result')
|
output = match.group('result')
|
||||||
if output:
|
if output:
|
||||||
|
|
Loading…
Reference in New Issue
Block a user