mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-02-03 05:04:11 +03:00
Added support for takeover functionalities on PgSQL 8.4 running on Windows
This commit is contained in:
parent
1100b37feb
commit
746cbdba96
|
@ -452,10 +452,15 @@ class PostgreSQLMap(Fingerprint, Enumeration, Filesystem, Miscellaneous, Takeove
|
|||
|
||||
banVer = kb.bannerFp["dbmsVersion"]
|
||||
|
||||
if banVer >= "8.3":
|
||||
if banVer >= "8.4":
|
||||
majorVer = "8.4"
|
||||
elif banVer >= "8.3":
|
||||
majorVer = "8.3"
|
||||
else:
|
||||
elif banVer >= "8.2":
|
||||
majorVer = "8.2"
|
||||
else:
|
||||
errMsg = "unsupported feature on versions of PostgreSQL before 8.2"
|
||||
raise sqlmapUnsupportedFeatureException, errMsg
|
||||
|
||||
if kb.os == "Windows":
|
||||
self.udfLocalFile += "/postgresql/windows/%s/lib_postgresqludf_sys.dll" % majorVer
|
||||
|
|
BIN
udf/postgresql/windows/8.4/lib_postgresqludf_sys.dll
Executable file
BIN
udf/postgresql/windows/8.4/lib_postgresqludf_sys.dll
Executable file
Binary file not shown.
Loading…
Reference in New Issue
Block a user