diff --git a/plugins/dbms/hsql/filesystem.py b/plugins/dbms/hsql/filesystem.py new file mode 100644 index 000000000..558b59c53 --- /dev/null +++ b/plugins/dbms/hsql/filesystem.py @@ -0,0 +1,21 @@ +#!/usr/bin/env python + +""" +Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/) +See the file 'doc/COPYING' for copying permission +""" + +from lib.core.exception import SqlmapUnsupportedFeatureException +from plugins.generic.filesystem import Filesystem as GenericFilesystem + +class Filesystem(GenericFilesystem): + def __init__(self): + GenericFilesystem.__init__(self) + + def readFile(self, rFile): + errMsg = "Not implemented in HSQL" + raise SqlmapUnsupportedFeatureException(errMsg) + + def writeFile(self, wFile, dFile, fileType=None, forceCheck=False): + errMsg = "Not implemented in HSQL" + raise SqlmapUnsupportedFeatureException(errMsg) diff --git a/plugins/dbms/hsql/takeover.py b/plugins/dbms/hsql/takeover.py new file mode 100644 index 000000000..40a04722c --- /dev/null +++ b/plugins/dbms/hsql/takeover.py @@ -0,0 +1,29 @@ +#!/usr/bin/env python + +""" +Copyright (c) 2006-2013 sqlmap developers (http://sqlmap.org/) +See the file 'doc/COPYING' for copying permission +""" + +from lib.core.exception import SqlmapUnsupportedFeatureException +from plugins.generic.takeover import Takeover as GenericTakeover + +class Takeover(GenericTakeover): + def __init__(self): + GenericTakeover.__init__(self) + + def osCmd(self): + errMsg = "Not implemented in HSQL" + raise SqlmapUnsupportedFeatureException(errMsg) + + def osShell(self): + errMsg = "Not implemented in HSQL" + raise SqlmapUnsupportedFeatureException(errMsg) + + def osPwn(self): + errMsg = "Not implemented in HSQL" + raise SqlmapUnsupportedFeatureException(errMsg) + + def osSmb(self): + errMsg = "Not implemented in HSQL" + raise SqlmapUnsupportedFeatureException(errMsg)