diff --git a/modules/analyze/export-graph.go b/modules/analyze/export-graph.go index 7dc608e..a13d1f7 100644 --- a/modules/analyze/export-graph.go +++ b/modules/analyze/export-graph.go @@ -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 }