File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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' )):
Original file line number Diff line number Diff line change 2020from 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 "
2424TYPE = "dev" if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] != '0' else "stable"
2525TYPE_COLORS = {"dev" : 33 , "stable" : 90 , "pip" : 34 }
2626VERSION_STRING = "sqlmap/%s#%s" % ('.' .join (VERSION .split ('.' )[:- 1 ]) if VERSION .count ('.' ) > 2 and VERSION .split ('.' )[- 1 ] == '0' else VERSION , TYPE )
You can’t perform that action at this time.
0 commit comments