Skip to content

Commit

Permalink
editing netlogon.rb
Browse files Browse the repository at this point in the history
  • Loading branch information
sud0Ru committed May 31, 2024
1 parent b567893 commit 8269886
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/ruby_smb/dcerpc/netlogon.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ module Netlogon
NETR_SERVER_REQ_CHALLENGE = 4
NETR_SERVER_AUTHENTICATE3 = 26
NETR_SERVER_PASSWORD_SET2 = 30
DSR_GET_DC_NAME_EX2 = 34

# see: https://docs.microsoft.com/en-us/openspecs/windows_protocols/ms-nrpc/3b224201-b531-43e2-8c79-b61f6dea8640
class LogonsrvHandle < Ndr::NdrWideStringzPtr; end
Expand Down Expand Up @@ -65,6 +66,7 @@ def assign(val)
require 'ruby_smb/dcerpc/netlogon/netr_server_password_set2_response'
require 'ruby_smb/dcerpc/netlogon/netr_server_req_challenge_request'
require 'ruby_smb/dcerpc/netlogon/netr_server_req_challenge_response'
require 'ruby_smb/dcerpc/netlogon/dsr_get_dc_name_ex2_request'

# Calculate the netlogon session key from the provided shared secret and
# challenges. The shared secret is an NTLM hash.
Expand Down

0 comments on commit 8269886

Please sign in to comment.