diff --git a/payloads/library/execution/DNS-TXT-CommandInjection/ConvertBase64.ps1 b/payloads/library/execution/DNS-TXT-CommandInjection/ConvertBase64.ps1 new file mode 100644 index 0000000..ffdb8dd --- /dev/null +++ b/payloads/library/execution/DNS-TXT-CommandInjection/ConvertBase64.ps1 @@ -0,0 +1,3 @@ +$text = Read-Host -prompt "What would you like to encode" +$base64Text = [Convert]::ToBase64String([Text.Encoding]::Unicode.GetBytes($text)) +echo $base64Text