mirror of
https://github.com/sqlmapproject/sqlmap.git
synced 2024-11-22 09:36:35 +03:00
trying some more encoding as the file wasnt exactly the same - issue #742
This commit is contained in:
parent
3ec37b14a6
commit
ce67156d80
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user