class RubySMB::Dcerpc::BindAck

Constants

ABSTRACT_SYNTAX_NOT_SUPPORTED
ACCEPTANCE

Presentation context negotiation results

LOCAL_LIMIT_EXCEEDED
PROPOSED_TRANSFER_SYNTAXES_NOT_SUPPORTED
PROVIDER_REJECTION
REASON_NOT_SPECIFIED

Reasons for rejection of a context element

USER_REJECTION

Public Instance Methods

initialize_instance() click to toggle source
Calls superclass method
# File lib/ruby_smb/dcerpc/bind_ack.rb, line 60
def initialize_instance
  super
  pdu_header.ptype = RubySMB::Dcerpc::PTypes::BIND_ACK
end
pad_length() click to toggle source
# File lib/ruby_smb/dcerpc/bind_ack.rb, line 65
def pad_length
  offset = (sec_addr.abs_offset + sec_addr.do_num_bytes) % 4
  (4 - offset) % 4
end