mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
Important additional patch for #1170 (for PgSQL >= 9.0)
This commit is contained in:
parent
b6ea2fdb07
commit
ff6b62adf3
|
@ -53,6 +53,8 @@ class Filesystem(GenericFilesystem):
|
|||
# http://www.postgresql.org/docs/8.3/interactive/lo-funcs.html
|
||||
|
||||
inject.goStacked("SELECT lo_unlink(%d)" % self.oid)
|
||||
inject.goStacked("SELECT lo_create(%d)" % self.oid)
|
||||
inject.goStacked("DELETE FROM pg_largeobject WHERE loid=%d" % self.oid)
|
||||
|
||||
for offset in xrange(0, wFileSize, LOBLKSIZE):
|
||||
fcEncodedList = self.fileContentEncode(content[offset:offset + LOBLKSIZE], "base64", False)
|
||||
|
|
Loading…
Reference in New Issue
Block a user