Class: Msf::Payload::MalleableC2::Token

Inherits:
Object
  • Object
show all
Defined in:
lib/msf/core/payload/malleable_c2.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#typeObject (readonly)

Returns the value of attribute type.



44
45
46
# File 'lib/msf/core/payload/malleable_c2.rb', line 44

def type
  @type
end

#valueObject (readonly)

Returns the value of attribute value.



44
45
46
# File 'lib/msf/core/payload/malleable_c2.rb', line 44

def value
  @value
end