Skip to content

Commit

Permalink
Fix for excluded objects not being excluded properly in graph results
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed May 11, 2022
1 parent f62042c commit 66d54d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/engine/analyzeobjects.go
Original file line number Diff line number Diff line change
Expand Up @@ -201,7 +201,7 @@ func AnalyzeObjects(opts AnalyzeObjectsOptions) (pg PwnGraph) {
}

if opts.ExcludeObjects != nil {
if _, found := opts.ExcludeObjects.Find(DistinguishedName, AttributeValueString(pwntarget.DN())); found {
if _, found := opts.ExcludeObjects.FindByID(pwntarget.ID()); found {
// skip excluded objects
// log.Debug().Msgf("Excluding target %v", pwntarget.DN())
continue
Expand Down

0 comments on commit 66d54d1

Please sign in to comment.