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

Skip to content

Commit b0a1efa

Browse files
committed
Minor update for #5279
1 parent de527f1 commit b0a1efa

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
@@ -489,7 +489,7 @@ def nullAndCastField(self, field):
489489
if field and Backend.getIdentifiedDbms():
490490
rootQuery = queries[Backend.getIdentifiedDbms()]
491491

492-
if field.startswith("(CASE") or field.startswith("(IIF") or conf.noCast:
492+
if field.startswith("(CASE") or field.startswith("(IIF") or conf.noCast and not (field.startswith("COUNT(") and getTechnique() in (PAYLOAD.TECHNIQUE.ERROR, PAYLOAD.TECHNIQUE.UNION) and Backend.getIdentifiedDbms() == DBMS.MSSQL):
493493
nulledCastedField = field
494494
else:
495495
if not (Backend.isDbms(DBMS.SQLITE) and not isDBMSVersionAtLeast('3')):

lib/core/settings.py

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

2222
# sqlmap version (<major>.<minor>.<month>.<monthly commit>)
23-
VERSION = "1.7.1.3"
23+
VERSION = "1.7.1.4"
2424
TYPE = "dev" if VERSION.count('.') > 2 and VERSION.split('.')[-1] != '0' else "stable"
2525
TYPE_COLORS = {"dev": 33, "stable": 90, "pip": 34}
2626
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)