Skip to content

Commit

Permalink
Use correct parameter for plaintext payload
Browse files Browse the repository at this point in the history
  • Loading branch information
X0RW3LL committed Sep 4, 2023
1 parent 96b4a74 commit c052c4e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion helpers/Invoke-B64.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function Invoke-B64
[Switch]$Decode = $false
)

$cmd = "powershell -nop -ep unrestricted -w hidden -e"
$cmd = "powershell -nop -ep unrestricted -w hidden -c"
$enc = [Convert]::ToBase64String([Text.Encoding]::Unicode.GetBytes($Payload))
Set-Clipboard -Value ($cmd + ' ' + $enc)

Expand Down

0 comments on commit c052c4e

Please sign in to comment.