Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
sqlmapproject
GitHub Repository: sqlmapproject/sqlmap
Path: blob/master/plugins/dbms/sybase/takeover.py
2992 views
1
#!/usr/bin/env python
2
3
"""
4
Copyright (c) 2006-2025 sqlmap developers (https://sqlmap.org)
5
See the file 'LICENSE' for copying permission
6
"""
7
8
from lib.core.exception import SqlmapUnsupportedFeatureException
9
from plugins.generic.takeover import Takeover as GenericTakeover
10
11
class Takeover(GenericTakeover):
12
def osCmd(self):
13
errMsg = "on Sybase it is not possible to execute commands"
14
raise SqlmapUnsupportedFeatureException(errMsg)
15
16
def osShell(self):
17
errMsg = "on Sybase it is not possible to execute commands"
18
raise SqlmapUnsupportedFeatureException(errMsg)
19
20
def osPwn(self):
21
errMsg = "on Sybase 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 Sybase it is not possible to establish an "
27
errMsg += "out-of-band connection"
28
raise SqlmapUnsupportedFeatureException(errMsg)
29
30