Skip to content

Commit

Permalink
Disabled users did not render properly on graph
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed Dec 15, 2021
1 parent 500ba64 commit 973df0f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/analyze/export-graph.go
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ func GenerateCytoscapeJS(pg engine.PwnGraph, alldetails bool) (CytoGraph, error)
"type": object.Type().String(),
}}

if uac, ok := object.OneAttrRaw(activedirectory.UserAccountControl).(uint64); ok && uac&engine.UAC_ACCOUNTDISABLE != 0 {
if uac, ok := object.AttrInt(activedirectory.UserAccountControl); ok && uac&engine.UAC_ACCOUNTDISABLE != 0 {
newnode.Data["_disabled"] = true
}

Expand Down

0 comments on commit 973df0f

Please sign in to comment.