diff --git a/lib/core/session.py b/lib/core/session.py index 79a3a9c29..8cb2c955a 100644 --- a/lib/core/session.py +++ b/lib/core/session.py @@ -439,6 +439,13 @@ def resumeConfKb(expression, url, value): logMsg += "'%s' from session file" % kb.stackedTest logger.info(logMsg) + elif expression == "Error based injection" and url == conf.url: + kb.errorTest = unSafeFormatString(value[:-1]) == 'Yes' + + logMsg = "resuming error based injection " + logMsg += "'%s' from session file" % kb.errorTest + logger.info(logMsg) + elif expression == "Union comment" and url == conf.url: kb.unionComment = unSafeFormatString(value[:-1])