Skip to content

Commit

Permalink
RDP edge evaluator is broken, commenting it out
Browse files Browse the repository at this point in the history
  • Loading branch information
lkarlslund committed Oct 30, 2022
1 parent ca59141 commit 89a1210
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modules/integrations/localmachine/analyze/analyzer.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ var (
EdgeLocalAdminRights = engine.NewEdge("AdminRights")
EdgeLocalRDPRights = engine.NewEdge("RDPRights").RegisterProbabilityCalculator(func(source, target *engine.Object) engine.Probability {
var probability engine.Probability
target.Edges(engine.In).Range(func(potential *engine.Object, edge engine.EdgeBitmap) bool {
/* ENDLESS LOOPS
target.Edges(engine.In).Range(func(potential *engine.Object, edge engine.EdgeBitmap) bool {
sid := potential.SID()
if sid.IsBlank() {
return true // continue
Expand All @@ -26,7 +27,7 @@ var (
return false // break
}
return true
})
})*/
if probability < 30 {
probability = 30
}
Expand Down

0 comments on commit 89a1210

Please sign in to comment.