Class: Ronin::Payloads::Encoders::SQL::Encode
- Inherits:
-
Ronin::Payloads::Encoders::SQLEncoder
- Object
- Encoder
- Ronin::Payloads::Encoders::SQLEncoder
- Ronin::Payloads::Encoders::SQL::Encode
- Defined in:
- lib/ronin/payloads/encoders/builtin/sql/encode.rb
Overview
A SQL encoder that encodes the given String as a SQL hex string.
Instance Method Summary collapse
-
#encode(data) ⇒ String
SQL encodes the given data.
Methods inherited from Encoder
Instance Method Details
#encode(data) ⇒ String
SQL encodes the given data.
52 53 54 |
# File 'lib/ronin/payloads/encoders/builtin/sql/encode.rb', line 52 def encode(data) Support::Encoding::SQL.encode(data) end |