Class: Ronin::Payloads::Encoders::PowerShell::Encode
- Inherits:
-
Ronin::Payloads::Encoders::PowerShellEncoder
- Object
- Encoder
- Ronin::Payloads::Encoders::PowerShellEncoder
- Ronin::Payloads::Encoders::PowerShell::Encode
- Defined in:
- lib/ronin/payloads/encoders/builtin/powershell/encode.rb
Overview
A PowerShell encoder that encodes every character in the given String as an PowerShell special character.
Instance Method Summary collapse
-
#encode(data) ⇒ String
HTML encodes the given data.
Methods inherited from Encoder
Instance Method Details
#encode(data) ⇒ String
HTML encodes the given data.
53 54 55 |
# File 'lib/ronin/payloads/encoders/builtin/powershell/encode.rb', line 53 def encode(data) Support::Encoding::PowerShell.encode(data) end |