From 636e0588d5f90a2498966599787ae89a6eca7ee4 Mon Sep 17 00:00:00 2001 From: Miroslav Stampar Date: Tue, 2 Dec 2014 10:29:09 +0100 Subject: [PATCH] Patch for an Issue #981 --- plugins/generic/filesystem.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/plugins/generic/filesystem.py b/plugins/generic/filesystem.py index 9c4a949b9..cdfbd20cc 100644 --- a/plugins/generic/filesystem.py +++ b/plugins/generic/filesystem.py @@ -10,6 +10,7 @@ import os from lib.core.agent import agent from lib.core.common import dataToOutFile from lib.core.common import Backend +from lib.core.common import checkFile from lib.core.common import decloakToTemp from lib.core.common import decodeHexValue from lib.core.common import isNumPosStrValue @@ -256,6 +257,8 @@ class Filesystem: def writeFile(self, localFile, remoteFile, fileType=None, forceCheck=False): written = False + checkFile(localFile) + self.checkDbmsOs() if localFile.endswith('_'):