Class: Rex::Post::Meterpreter::Extensions::Stdapi::Railgun::BufferItem

Inherits:
Object
  • Object
show all
Defined in:
lib/rex/post/meterpreter/extensions/stdapi/railgun/buffer_item.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(belongs_to_param_n, addr, length_in_bytes, datatype) ⇒ BufferItem

Returns a new instance of BufferItem.



40
41
42
43
44
45
# File 'lib/rex/post/meterpreter/extensions/stdapi/railgun/buffer_item.rb', line 40

def initialize(belongs_to_param_n, addr, length_in_bytes, datatype)
  @belongs_to_param_n = belongs_to_param_n
  @addr = addr
  @length_in_bytes = length_in_bytes
  @datatype = datatype
end

Instance Attribute Details

#addrObject (readonly)

Returns the value of attribute addr.



38
39
40
# File 'lib/rex/post/meterpreter/extensions/stdapi/railgun/buffer_item.rb', line 38

def addr
  @addr
end

#belongs_to_param_nObject (readonly)

Returns the value of attribute belongs_to_param_n.



38
39
40
# File 'lib/rex/post/meterpreter/extensions/stdapi/railgun/buffer_item.rb', line 38

def belongs_to_param_n
  @belongs_to_param_n
end

#datatypeObject (readonly)

Returns the value of attribute datatype.



38
39
40
# File 'lib/rex/post/meterpreter/extensions/stdapi/railgun/buffer_item.rb', line 38

def datatype
  @datatype
end

#length_in_bytesObject (readonly)

Returns the value of attribute length_in_bytes.



38
39
40
# File 'lib/rex/post/meterpreter/extensions/stdapi/railgun/buffer_item.rb', line 38

def length_in_bytes
  @length_in_bytes
end