mirror of
https://github.com/sqlmapproject/sqlmap
synced 2025-12-24 01:08:49 +01:00
trying some more encoding as the file wasnt exactly the same - issue #742
This commit is contained in:
parent
3ec37b14a6
commit
ce67156d80
1 changed files with 0 additions and 1 deletions
|
|
@ -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 a new issue