Class: Msf::Payload::MalleableC2::ParsedSet

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(key, value) ⇒ ParsedSet

Returns a new instance of ParsedSet.



382
383
384
385
# File 'lib/msf/core/payload/malleable_c2.rb', line 382

def initialize(key, value)
  @key = key.downcase
  @value = MC2.from_c2_string_value(value)
end

Instance Attribute Details

#keyObject

Returns the value of attribute key.



381
382
383
# File 'lib/msf/core/payload/malleable_c2.rb', line 381

def key
  @key
end

#valueObject

Returns the value of attribute value.



381
382
383
# File 'lib/msf/core/payload/malleable_c2.rb', line 381

def value
  @value
end