Sha256: e77ce80de55babac349c200ee14606507f1614caba39a0442e44406daeb5488e

Contents?: true

Size: 883 Bytes

Versions: 38

Compression:

Stored size: 883 Bytes

Contents

require 'ruby_smb/dcerpc/ndr'

module RubySMB
  module Dcerpc
    module Netlogon

      # [3.5.4.4.5 NetrServerPasswordSet2 (Opnum 30)](https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nrpc/14b020a8-0bcf-4af5-ab72-cc92bc6b1d81)
      class NetrServerPasswordSet2Request < BinData::Record
        attr_reader :opnum

        endian :little

        logonsrv_handle              :primary_name
        ndr_conf_var_wide_stringz    :account_name
        netlogon_secure_channel_type :secure_channel_type
        ndr_conf_var_wide_stringz    :computer_name
        netlogon_authenticator       :authenticator
        ndr_fixed_byte_array         :clear_new_password, initial_length: 516 # this is an encrypted NL_TRUST_PASSWORD

        def initialize_instance
          super
          @opnum = Netlogon::NETR_SERVER_PASSWORD_SET2
        end
      end
    end
  end
end

Version data entries

38 entries across 38 versions & 1 rubygems

Version Path
ruby_smb-3.3.13 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.3.12 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.3.11 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.3.10 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.3.9 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.3.7 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.3.6 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.3.5 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.3.4 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.3.3 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.3.2 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.3.1 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.3.0 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.2.8 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.2.7 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.2.6 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.2.5 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.2.4 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.2.3 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb
ruby_smb-3.2.2 lib/ruby_smb/dcerpc/netlogon/netr_server_password_set2_request.rb