mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2025-12-07 13:11:29 +00:00
trying some more encoding as the file wasnt exactly the same - issue #742
This commit is contained in:
@@ -180,7 +180,6 @@ class Filesystem(GenericFilesystem):
|
|||||||
#psString = """$Content = Get-Content -Path %s -Encoding Byte
|
#psString = """$Content = Get-Content -Path %s -Encoding Byte
|
||||||
#$Base64 = [System.Convert]::ToBase64String($Content)
|
#$Base64 = [System.Convert]::ToBase64String($Content)
|
||||||
psString = """
|
psString = """
|
||||||
$Base64 = [System.Convert]::ToBase64String($Content)
|
|
||||||
$Content = [System.Convert]::FromBase64String("%s")
|
$Content = [System.Convert]::FromBase64String("%s")
|
||||||
Set-Content -Path %s -Value $Content -Encoding Byte
|
Set-Content -Path %s -Value $Content -Encoding Byte
|
||||||
""" % (encodedFileContent, randPSScriptPath)
|
""" % (encodedFileContent, randPSScriptPath)
|
||||||
|
|||||||
Reference in New Issue
Block a user