From b886e47b6d40620eddcdf4f315003ca32ce66e68 Mon Sep 17 00:00:00 2001 From: Meatballs Date: Mon, 24 Jun 2013 14:53:41 +0100 Subject: [PATCH] Add unimplemented files --- plugins/dbms/hsql/filesystem.py | 21 +++++++++++++++++++++ plugins/dbms/hsql/takeover.py | 29 +++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+) create mode 100644 plugins/dbms/hsql/filesystem.py create mode 100644 plugins/dbms/hsql/takeover.py 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)