Skip to content

Commit ce67156

Browse files
committed
trying some more encoding as the file wasnt exactly the same - issue sqlmapproject#742
1 parent 3ec37b1 commit ce67156

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

plugins/dbms/mssqlserver/filesystem.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,6 @@ def _stackedWriteFilePS(self, tmpPath, wFileContent, dFile, fileType):
180180
#psString = """$Content = Get-Content -Path %s -Encoding Byte
181181
#$Base64 = [System.Convert]::ToBase64String($Content)
182182
psString = """
183-
$Base64 = [System.Convert]::ToBase64String($Content)
184183
$Content = [System.Convert]::FromBase64String("%s")
185184
Set-Content -Path %s -Value $Content -Encoding Byte
186185
""" % (encodedFileContent, randPSScriptPath)

0 commit comments

Comments
 (0)