From f947c5f76e939415724da47142e3dadb47ac9b00 Mon Sep 17 00:00:00 2001 From: raimundmuc Date: Sat, 30 Nov 2019 22:48:34 +0100 Subject: [PATCH] Fix regression introduced by b3cdec5 (#4022) --- 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)