From fb6f3aa35e0f45a16fbd284ef7f3bf5785a24b40 Mon Sep 17 00:00:00 2001 From: raimundmuc Date: Sat, 30 Nov 2019 22:10:20 +0100 Subject: [PATCH] Fix regression introduced by b3cdec5 --- plugins/dbms/postgresql/filesystem.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/dbms/postgresql/filesystem.py b/plugins/dbms/postgresql/filesystem.py index 41d5ebb3d..d21ebf1ec 100644 --- a/plugins/dbms/postgresql/filesystem.py +++ b/plugins/dbms/postgresql/filesystem.py @@ -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)