lib/msf/core/payload/windows/x64/bind_tcp.rb
#
# Determine the maximum amount of space required for the features requested
#
Determine the maximum amount of space required for the features requested
Determine the maximum amount of space required for the features requested
def required_space
    space = cached_size
    space += 31
    space
  end
def required_space space = cached_size space += 31 space end
Determine the maximum amount of space required for the features requested
Determine the maximum amount of space required for the features requested
# Start with our cached default generated size # TODO: need help with this from the likes of HD. # EXITFUNK processing adds 31 bytes at most (for ExitThread, only ~16 for others) # EXITFUNK unset will still call ExitProces, which adds 7 bytes (accounted for above) # TODO: this is coming soon # Reliability checks add 4 bytes for the first check, 5 per recv check (2) #space += 14 # The final estimated size