minor fix

This commit is contained in:
Miroslav Stampar 2012-03-19 11:18:00 +00:00
parent cce5c3c009
commit 7abfa2e6d4

View File

@ -106,7 +106,7 @@ class Fingerprint(GenericFingerprint):
if inject.checkBooleanExpression("REVERSE('sqlmap')='pamlqs'"): if inject.checkBooleanExpression("REVERSE('sqlmap')='pamlqs'"):
Backend.setVersion(">= 9.1.0") Backend.setVersion(">= 9.1.0")
elif inject.checkBooleanExpression("LENGTH(TO_CHAR(1, 'EEEE'))>0"): elif inject.checkBooleanExpression("LENGTH(TO_CHAR(1, 'EEEE'))>0"):
Backend.setVersion(">= 9.0.0") Backend.setVersion(">= 9.0.0", "< 9.1.0")
elif inject.checkBooleanExpression("2=(SELECT DIV(6, 3))"): elif inject.checkBooleanExpression("2=(SELECT DIV(6, 3))"):
Backend.setVersionList([">= 8.4.0", "< 9.0.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"):