mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 21:21:33 +00:00
Avoid to check for existence of not needed UDFs and minor code adjustment for cleanup() method
This commit is contained in:
@@ -116,6 +116,13 @@ class UDF:
|
||||
|
||||
return output
|
||||
|
||||
def checkNeededUdfs(self):
|
||||
if not conf.osPwn:
|
||||
self.sysUdfs.pop("sys_bineval")
|
||||
|
||||
if not conf.osCmd and not conf.osShell and not conf.regRead:
|
||||
self.sysUdfs.pop("sys_eval")
|
||||
|
||||
def udfCreateFromSharedLib(self):
|
||||
errMsg = "udfSetRemotePath() method must be defined within the plugin"
|
||||
raise sqlmapUnsupportedFeatureException(errMsg)
|
||||
|
||||
Reference in New Issue
Block a user