fix for Oracle error based query "space" problem

This commit is contained in:
Miroslav Stampar
2010-10-19 14:10:09 +00:00
parent 878135fe40
commit bf850af2d8
2 changed files with 5 additions and 2 deletions

View File

@@ -358,11 +358,13 @@ def __goError(expression, resumeValue=True):
if match:
output = match.group('result')
if kb.dbms == "Oracle" and output:
output = output.replace("__SPACE__", " ")
return output
def getValue(expression, blind=True, inband=True, error=False, fromUser=False, expected=None, batch=False, unpack=True, sort=True, resumeValue=True, charsetType=None, firstChar=None, lastChar=None, dump=False, suppressOutput=False):
def getValue(expression, blind=True, inband=True, error=True, fromUser=False, expected=None, batch=False, unpack=True, sort=True, resumeValue=True, charsetType=None, firstChar=None, lastChar=None, dump=False, suppressOutput=False):
"""
Called each time sqlmap inject a SQL query on the SQL injection
affected parameter. It can call a function to retrieve the output