Skip to content

Commit

Permalink
Use a string instead of an int array for credential data
Browse files Browse the repository at this point in the history
  • Loading branch information
zeroSteiner committed Sep 17, 2020
1 parent 33a6224 commit 45a8d32
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/ruby_smb/dcerpc/netlogon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,8 @@ module Netlogon
NETR_SERVER_PASSWORD_SET2 = 30

# see: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nrpc/d55e2632-7163-4f6c-b662-4b870e8cc1cd
class NetlogonCredential < BinData::Uint8Array
default_parameters initial_length: 8
class NetlogonCredential < BinData::String
default_parameters length: 8
end

# see: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nrpc/76c93227-942a-4687-ab9d-9d972ffabdab
Expand Down

0 comments on commit 45a8d32

Please sign in to comment.