mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-08-03 22:31:34 +00:00
Be more user friendly on messages and minor code layout improvement
This commit is contained in:
parent
09ca578ca1
commit
03b90e0a3f
6 changed files with 15 additions and 8 deletions
|
|
@ -195,7 +195,7 @@ class MSSQLServerMap(Fingerprint, Enumeration, Filesystem, Takeover):
|
|||
|
||||
|
||||
def getPrivileges(self):
|
||||
warnMsg = "this plugin can not fetch database users privileges"
|
||||
warnMsg = "on MySQL is it not possible to fetch database users privileges"
|
||||
logger.warn(warnMsg)
|
||||
|
||||
return {}
|
||||
|
|
|
|||
|
|
@ -210,7 +210,7 @@ class OracleMap(Fingerprint, Enumeration, Filesystem, Takeover):
|
|||
|
||||
|
||||
def getDbs(self):
|
||||
warnMsg = "this plugin can not enumerate databases"
|
||||
warnMsg = "on Oracle it is not possible to enumerate databases"
|
||||
logger.warn(warnMsg)
|
||||
|
||||
return []
|
||||
|
|
|
|||
|
|
@ -33,10 +33,10 @@ class Filesystem:
|
|||
"""
|
||||
|
||||
def readFile(self, rFile):
|
||||
errMsg = "this plugin does not support OS file reading yet"
|
||||
errMsg = "OS file reading not yet implemented for this DBMS"
|
||||
raise sqlmapUnsupportedFeatureException, errMsg
|
||||
|
||||
|
||||
def writeFile(self, wFile):
|
||||
errMsg = "this plugin does not support OS file writing yet"
|
||||
errMsg = "OS file writing not yet implemented for this DBMS"
|
||||
raise sqlmapUnsupportedFeatureException, errMsg
|
||||
|
|
|
|||
|
|
@ -33,5 +33,5 @@ class Takeover:
|
|||
"""
|
||||
|
||||
def osShell(self):
|
||||
errMsg = "this plugin does not support OS shell functionality yet"
|
||||
errMsg = "OS shell functionality not yet implemented for this DBMS"
|
||||
raise sqlmapUnsupportedFeatureException, errMsg
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue