This commit is contained in:
Miroslav Stampar
2021-08-26 17:46:56 +02:00
parent f1dbe9e388
commit 45553f0efc
2 changed files with 2 additions and 2 deletions

View File

@@ -51,7 +51,7 @@ class Takeover(GenericTakeover):
banVer = kb.bannerFp["dbmsVersion"]
if not banVer:
if not banVer or not banVer[0].isdigit():
errMsg = "unsupported feature on unknown version of PostgreSQL"
raise SqlmapUnsupportedFeatureException(errMsg)
elif distutils.version.LooseVersion(banVer) >= distutils.version.LooseVersion("10"):