mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-08 15:49:01 +00:00
Implementing support for v2.x for H2
This commit is contained in:
@@ -103,6 +103,10 @@ class Fingerprint(GenericFingerprint):
|
||||
else:
|
||||
setDbms(DBMS.H2)
|
||||
|
||||
result = inject.checkBooleanExpression("JSON_OBJECT() IS NOT NULL")
|
||||
version = '2' if result else '1'
|
||||
Backend.setVersion(version)
|
||||
|
||||
self.getBanner()
|
||||
|
||||
return True
|
||||
|
||||
Reference in New Issue
Block a user