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
|
||||
#$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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user