mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-26 03:23:48 +03:00
Minor adjustments to PgSQL fingerprint
This commit is contained in:
parent
7324d53997
commit
1c51e11c5c
|
@ -110,9 +110,9 @@ class Fingerprint(GenericFingerprint):
|
||||||
if inject.checkBooleanExpression("LENGTH(TO_CHAR(1, 'EEEE'))>0"):
|
if inject.checkBooleanExpression("LENGTH(TO_CHAR(1, 'EEEE'))>0"):
|
||||||
Backend.setVersion(">= 9.0.0")
|
Backend.setVersion(">= 9.0.0")
|
||||||
elif inject.checkBooleanExpression("2=(SELECT DIV(6, 3))"):
|
elif inject.checkBooleanExpression("2=(SELECT DIV(6, 3))"):
|
||||||
Backend.setVersion(">= 8.4.0")
|
Backend.setVersionList([">= 8.4.0", "< 9.0.0"])
|
||||||
elif inject.checkBooleanExpression("EXTRACT(ISODOW FROM CURRENT_TIMESTAMP)<8"):
|
elif inject.checkBooleanExpression("EXTRACT(ISODOW FROM CURRENT_TIMESTAMP)<8"):
|
||||||
Backend.setVersionList([">= 8.3.0", "< 8.4"])
|
Backend.setVersionList([">= 8.3.0", "< 8.4.0"])
|
||||||
elif inject.checkBooleanExpression("ISFINITE(TRANSACTION_TIMESTAMP())"):
|
elif inject.checkBooleanExpression("ISFINITE(TRANSACTION_TIMESTAMP())"):
|
||||||
Backend.setVersionList([">= 8.2.0", "< 8.3.0"])
|
Backend.setVersionList([">= 8.2.0", "< 8.3.0"])
|
||||||
elif inject.checkBooleanExpression("9=(SELECT GREATEST(5, 9, 1))"):
|
elif inject.checkBooleanExpression("9=(SELECT GREATEST(5, 9, 1))"):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user