Class: Msf::Payload::MalleableC2::Token
- Inherits:
-
Object
- Object
- Msf::Payload::MalleableC2::Token
- Defined in:
- lib/msf/core/payload/malleable_c2.rb
Instance Attribute Summary collapse
-
#type ⇒ Object
readonly
Returns the value of attribute type.
-
#value ⇒ Object
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(type, value) ⇒ Token
constructor
A new instance of Token.
Constructor Details
#initialize(type, value) ⇒ Token
Returns a new instance of Token.
46 47 48 49 |
# File 'lib/msf/core/payload/malleable_c2.rb', line 46 def initialize(type, value) @type = type @value = value end |
Instance Attribute Details
#type ⇒ Object (readonly)
Returns the value of attribute type.
44 45 46 |
# File 'lib/msf/core/payload/malleable_c2.rb', line 44 def type @type end |
#value ⇒ Object (readonly)
Returns the value of attribute value.
44 45 46 |
# File 'lib/msf/core/payload/malleable_c2.rb', line 44 def value @value end |