diff --git a/lib/core/agent.py b/lib/core/agent.py index e2c8eac70..e645f46e9 100644 --- a/lib/core/agent.py +++ b/lib/core/agent.py @@ -274,7 +274,7 @@ class Agent(object): where = kb.injection.data[kb.technique].where if where is None else where comment = kb.injection.data[kb.technique].comment if comment is None else comment - if Backend.getIdentifiedDbms() == DBMS.ACCESS and "--" in comment: + if Backend.getIdentifiedDbms() == DBMS.ACCESS and "--" in (comment or ""): comment = queries[DBMS.ACCESS].comment.query if comment is not None: diff --git a/lib/core/settings.py b/lib/core/settings.py index 43d022053..be7a050af 100644 --- a/lib/core/settings.py +++ b/lib/core/settings.py @@ -20,7 +20,7 @@ from lib.core.enums import OS from lib.core.revision import getRevisionNumber # sqlmap version (...) -VERSION = "1.0.4.8" +VERSION = "1.0.4.9" REVISION = getRevisionNumber() STABLE = VERSION.count('.') <= 2 VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")