Skip to content

Commit

Permalink
chore: change name of registry value to reflect new model (#1192)
Browse files Browse the repository at this point in the history
* chore: change name of registry value to reflect new model

* chore: update sharphound versions
  • Loading branch information
rvazarkar authored Mar 4, 2025
1 parent f13ea02 commit 90c7c50
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion dockerfiles/bloodhound.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
########
# Global build args
################
ARG SHARPHOUND_VERSION=v2.5.13
ARG SHARPHOUND_VERSION=v2.6.0
ARG AZUREHOUND_VERSION=v2.3.0

########
Expand Down
4 changes: 2 additions & 2 deletions packages/go/ein/ad.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,15 +72,15 @@ func ConvertComputerToNode(item Computer, itemType graph.Kind) IngestibleNode {
itemProps[ad.SMBSigning.String()] = item.SmbInfo.SigningEnabled
}

if item.RegistryData.Collected {
if item.NTLMRegistryData.Collected {
/*
RestrictSendingNtlmTraffic is sent to us as an uint
The possible values are
0: Allow All
1: Audit All
2: Deny All
*/
if item.RegistryData.RestrictSendingNtlmTraffic == 0 {
if item.NTLMRegistryData.RestrictSendingNtlmTraffic == 0 {
itemProps[ad.RestrictOutboundNTLM.String()] = false
} else {
itemProps[ad.RestrictOutboundNTLM.String()] = true
Expand Down
2 changes: 1 addition & 1 deletion packages/go/ein/ad_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func TestConvertComputerToNode(t *testing.T) {
"isdc": true,
},
},
RegistryData: ein.RegistryDataAPIResult{
NTLMRegistryData: ein.RegistryDataAPIResult{
APIResult: ein.APIResult{
Collected: true,
},
Expand Down
2 changes: 1 addition & 1 deletion packages/go/ein/incoming_models.go
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ type Computer struct {
UnconstrainedDelegation bool
SmbInfo SMBSigningAPIResult
IsWebClientRunning BoolAPIResult
RegistryData RegistryDataAPIResult
NTLMRegistryData RegistryDataAPIResult
}

type OU struct {
Expand Down
2 changes: 1 addition & 1 deletion tools/docker-compose/api.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
########
# Global build args
################
ARG SHARPHOUND_VERSION=v2.5.13
ARG SHARPHOUND_VERSION=v2.6.0
ARG AZUREHOUND_VERSION=v2.3.0

########
Expand Down

0 comments on commit 90c7c50

Please sign in to comment.