(self)
| 110 | return output |
| 111 | |
| 112 | def udfCheckNeeded(self): |
| 113 | if (not any((conf.fileRead, conf.commonFiles)) or (any((conf.fileRead, conf.commonFiles)) and not Backend.isDbms(DBMS.PGSQL))) and "sys_fileread" in self.sysUdfs: |
| 114 | self.sysUdfs.pop("sys_fileread") |
| 115 | |
| 116 | if not conf.osPwn: |
| 117 | self.sysUdfs.pop("sys_bineval") |
| 118 | |
| 119 | if not conf.osCmd and not conf.osShell and not conf.regRead: |
| 120 | self.sysUdfs.pop("sys_eval") |
| 121 | |
| 122 | if not conf.osPwn and not conf.regAdd and not conf.regDel: |
| 123 | self.sysUdfs.pop("sys_exec") |
| 124 | |
| 125 | def udfSetRemotePath(self): |
| 126 | errMsg = "udfSetRemotePath() method must be defined within the plugin" |
no test coverage detected