mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2026-01-07 15:19:01 +00:00
Be more user friendly on messages and minor code layout improvement
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user