Fix regression introduced by b3cdec5 (#4022)

This commit is contained in:
raimundmuc 2019-11-30 22:48:34 +01:00 committed by Miroslav Stampar
parent 1233573df1
commit f947c5f76e

View File

@ -32,7 +32,7 @@ class Filesystem(GenericFilesystem):
return self.udfEvalCmd(cmd=remoteFile, udfName="sys_fileread")
def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False):
def unionWriteFile(self, localFile, remoteFile, fileType=None, forceCheck=False):
errMsg = "PostgreSQL does not support file upload with UNION "
errMsg += "query SQL injection technique"
raise SqlmapUnsupportedFeatureException(errMsg)