From ce67156d8097cb2152256f9c0f0bc45a81914181 Mon Sep 17 00:00:00 2001 From: Bernardo Damele Date: Mon, 30 Jun 2014 20:26:05 +0100 Subject: [PATCH] trying some more encoding as the file wasnt exactly the same - issue #742 --- plugins/dbms/mssqlserver/filesystem.py | 1 - 1 file changed, 1 deletion(-) diff --git a/plugins/dbms/mssqlserver/filesystem.py b/plugins/dbms/mssqlserver/filesystem.py index cfa11ac17..4cb3a7440 100644 --- a/plugins/dbms/mssqlserver/filesystem.py +++ b/plugins/dbms/mssqlserver/filesystem.py @@ -180,7 +180,6 @@ class Filesystem(GenericFilesystem): #psString = """$Content = Get-Content -Path %s -Encoding Byte #$Base64 = [System.Convert]::ToBase64String($Content) psString = """ - $Base64 = [System.Convert]::ToBase64String($Content) $Content = [System.Convert]::FromBase64String("%s") Set-Content -Path %s -Value $Content -Encoding Byte """ % (encodedFileContent, randPSScriptPath)