File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree 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.5.8.4 "
23+ VERSION = "1.5.8.5 "
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 )
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ def udfSetLocalPaths(self):
5151
5252 banVer = kb .bannerFp ["dbmsVersion" ]
5353
54- if not banVer :
54+ if not banVer or not banVer [ 0 ]. isdigit () :
5555 errMsg = "unsupported feature on unknown version of PostgreSQL"
5656 raise SqlmapUnsupportedFeatureException (errMsg )
5757 elif distutils .version .LooseVersion (banVer ) >= distutils .version .LooseVersion ("10" ):
You can’t perform that action at this time.
0 commit comments