Minor fix

This commit is contained in:
Miroslav Stampar 2014-09-29 14:07:59 +02:00
parent 1e636fb925
commit ff42720c62

View File

@ -1004,7 +1004,7 @@ def _setWafFunctions():
_ = dict(inspect.getmembers(module)) _ = dict(inspect.getmembers(module))
if "detect" not in _: if "detect" not in _:
errMsg = "missing function 'detect(page, headers, code)' " errMsg = "missing function 'detect(get_page)' "
errMsg += "in WAF script '%s'" % found errMsg += "in WAF script '%s'" % found
raise SqlmapGenericException(errMsg) raise SqlmapGenericException(errMsg)
else: else: