mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-05-01 14:23:44 +03:00
Patch for an Issue #981
This commit is contained in:
parent
e03aaa7542
commit
636e0588d5
|
@ -10,6 +10,7 @@ import os
|
||||||
from lib.core.agent import agent
|
from lib.core.agent import agent
|
||||||
from lib.core.common import dataToOutFile
|
from lib.core.common import dataToOutFile
|
||||||
from lib.core.common import Backend
|
from lib.core.common import Backend
|
||||||
|
from lib.core.common import checkFile
|
||||||
from lib.core.common import decloakToTemp
|
from lib.core.common import decloakToTemp
|
||||||
from lib.core.common import decodeHexValue
|
from lib.core.common import decodeHexValue
|
||||||
from lib.core.common import isNumPosStrValue
|
from lib.core.common import isNumPosStrValue
|
||||||
|
@ -256,6 +257,8 @@ class Filesystem:
|
||||||
def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False):
|
def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False):
|
||||||
written = False
|
written = False
|
||||||
|
|
||||||
|
checkFile(localFile)
|
||||||
|
|
||||||
self.checkDbmsOs()
|
self.checkDbmsOs()
|
||||||
|
|
||||||
if localFile.endswith('_'):
|
if localFile.endswith('_'):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user