1#!/usr/bin/env python
2
3"""
4Copyright (c) 2006-2019 sqlmap developers (http://sqlmap.org/)
5See the file 'LICENSE' for copying permission
6"""
7
8from lib.core.exception import SqlmapUnsupportedFeatureException
9from plugins.generic.takeover import Takeover as GenericTakeover
10
11class Takeover(GenericTakeover):
12    def osCmd(self):
13        errMsg = "on Firebird it is not possible to execute commands"
14        raise SqlmapUnsupportedFeatureException(errMsg)
15
16    def osShell(self):
17        errMsg = "on Firebird it is not possible to execute commands"
18        raise SqlmapUnsupportedFeatureException(errMsg)
19
20    def osPwn(self):
21        errMsg = "on Firebird it is not possible to establish an "
22        errMsg += "out-of-band connection"
23        raise SqlmapUnsupportedFeatureException(errMsg)
24
25    def osSmb(self):
26        errMsg = "on Firebird it is not possible to establish an "
27        errMsg += "out-of-band connection"
28        raise SqlmapUnsupportedFeatureException(errMsg)
29