Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 674d516

Browse files
committed
Minor patch
1 parent 8ceb490 commit 674d516

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

lib/core/agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,7 @@ def suffixQuery(self, expression, comment=None, suffix=None, where=None):
274274
where = kb.injection.data[kb.technique].where if where is None else where
275275
comment = kb.injection.data[kb.technique].comment if comment is None else comment
276276

277-
if Backend.getIdentifiedDbms() == DBMS.ACCESS and "--" in comment:
277+
if Backend.getIdentifiedDbms() == DBMS.ACCESS and "--" in (comment or ""):
278278
comment = queries[DBMS.ACCESS].comment.query
279279

280280
if comment is not None:

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
from lib.core.revision import getRevisionNumber
2121

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.0.4.8"
23+
VERSION = "1.0.4.9"
2424
REVISION = getRevisionNumber()
2525
STABLE = VERSION.count('.') <= 2
2626
VERSION_STRING = "sqlmap/%s#%s" % (VERSION, "stable" if STABLE else "dev")

0 commit comments

Comments
 (0)