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

Skip to content

Commit 3729b76

Browse files
committed
Fixes #4194
1 parent a8c3d17 commit 3729b76

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
@@ -420,7 +420,7 @@ def hexConvertField(self, field):
420420
rootQuery = queries[Backend.getIdentifiedDbms()]
421421
hexField = field
422422

423-
if "hex" in rootQuery:
423+
if "hex" in rootQuery and hasattr(rootQuery.hex, "query"):
424424
hexField = rootQuery.hex.query % field
425425
else:
426426
warnMsg = "switch '--hex' is currently not supported on DBMS '%s'" % Backend.getIdentifiedDbms()

lib/core/settings.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from thirdparty.six import unichr as _unichr
1919

2020
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
21-
VERSION = "1.4.5.11"
21+
VERSION = "1.4.5.12"
2222
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2323
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2424
VERSION_STRING = "sqlmap/%s#%s" % ('.'.join(VERSION.split('.')[:-1]) if VERSION.count('.') > 2 and VERSION.split('.')[-1] == '0' else VERSION, TYPE)

0 commit comments

Comments
 (0)