HSQLDB write file support (#4379)

* Make asterisk work with --csrf-token option

* add --file-write support in HSQLDB

Co-authored-by: tree <chtpt@treedeMacBook-Pro.local>
This commit is contained in:
tree-chtsec
2020-10-13 16:56:39 +08:00
committed by GitHub
parent 231c3da057
commit babe52eb10
2 changed files with 58 additions and 3 deletions

View File

@@ -144,3 +144,13 @@ class Fingerprint(GenericFingerprint):
def getHostname(self):
warnMsg = "on HSQLDB it is not possible to enumerate the hostname"
logger.warn(warnMsg)
def checkDbmsOs(self, detailed=False):
if Backend.getOs():
infoMsg = "the back-end DBMS operating system is %s" % Backend.getOs()
logger.info(infoMsg)
else:
self.userChooseDbmsOs()