Method: Msf::Payload::Linux::BindTcp#required_space

Defined in:
lib/msf/core/payload/linux/bind_tcp.rb

#required_spaceObject

Determine the maximum amount of space required for the features requested



64
65
66
67
68
69
70
71
72
73
74
# File 'lib/msf/core/payload/linux/bind_tcp.rb', line 64

def required_space
  # Start with our cached default generated size
  space = cached_size

  # Reliability checks add 4 bytes for the first check, 5 per recv check (2)
  # TODO: coming soon
  #space += 14

  # The final estimated size
  space
end