Skip to content

Commit

Permalink
Fix restarting pivot listeners, so it don't panic
Browse files Browse the repository at this point in the history
  • Loading branch information
mrThe committed May 29, 2022
1 parent 4339ea5 commit 4c7ae8d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions implant/sliver/pivots/pivots.go
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ func RestartAllListeners(send chan<- *pb.Envelope) {
// {{if .Config.Debug}}
log.Printf("[pivot] failed to restart listener: %s", err)
// {{end}}
return false
}
go listener.Start()
AddListener(listener)
Expand Down

0 comments on commit 4c7ae8d

Please sign in to comment.