mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-04 14:55:40 +00:00
Minor update of fingerprinting methods
This commit is contained in:
parent
f144f10ebe
commit
4dd98cc8f3
4 changed files with 11 additions and 6 deletions
|
|
@ -133,7 +133,9 @@ class Fingerprint(GenericFingerprint):
|
|||
infoMsg = "actively fingerprinting %s" % DBMS.PGSQL
|
||||
logger.info(infoMsg)
|
||||
|
||||
if inject.checkBooleanExpression("RANDOM_NORMAL(0.0, 1.0) IS NOT NULL"):
|
||||
if inject.checkBooleanExpression("JSON_QUERY(NULL::jsonb, '$') IS NULL"):
|
||||
Backend.setVersion(">= 17.0")
|
||||
elif inject.checkBooleanExpression("RANDOM_NORMAL(0.0, 1.0) IS NOT NULL"):
|
||||
Backend.setVersion(">= 16.0")
|
||||
elif inject.checkBooleanExpression("REGEXP_COUNT(NULL,NULL) IS NULL"):
|
||||
Backend.setVersion(">= 15.0")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue