mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Fixes #4779
This commit is contained in:
parent
f1dbe9e388
commit
45553f0efc
2 changed files with 2 additions and 2 deletions
|
|
@ -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"):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue