minor update

This commit is contained in:
Miroslav Stampar 2011-06-17 22:28:07 +00:00
parent 87e9842371
commit 1440c9f2d4

View File

@ -500,11 +500,12 @@ def paramToDict(place, parameters=None):
if condition: if condition:
if elem[1].strip(DUMMY_SQL_INJECTION_CHARS) != elem[1]: if elem[1].strip(DUMMY_SQL_INJECTION_CHARS) != elem[1]:
errMsg = "you have provided tainted parameters with most " errMsg = "you have provided tainted parameter values "
errMsg += "probably leftovers from manual sql injection " errMsg += "(%s) with most probably leftover " % element
errMsg += "chars from manual sql injection "
errMsg += "tests (%s). " % DUMMY_SQL_INJECTION_CHARS errMsg += "tests (%s). " % DUMMY_SQL_INJECTION_CHARS
errMsg += "please, use valid parameter values so sqlmap " errMsg += "please, always use only valid parameter values "
errMsg += "could be able to do a valid run." errMsg += "so sqlmap could be able to do a valid run."
raise sqlmapSyntaxException, errMsg raise sqlmapSyntaxException, errMsg
testableParameters[parameter] = elem[1] testableParameters[parameter] = elem[1]
else: else: