Fix for an Issue #757

This commit is contained in:
Miroslav Stampar 2014-07-11 16:24:57 +02:00
parent 305ec45fc6
commit e66a81ab4e

View File

@ -99,6 +99,9 @@ def _oneShotErrorUse(expression, field=None):
incrementCounter(kb.technique) incrementCounter(kb.technique)
if page and conf.noCast:
page = re.sub(r"'%s'.*?'%s'" % (kb.chars.start, kb.chars.stop), "", page)
# Parse the returned page to get the exact error-based # Parse the returned page to get the exact error-based
# SQL injection output # SQL injection output
output = reduce(lambda x, y: x if x is not None else y, (\ output = reduce(lambda x, y: x if x is not None else y, (\