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