Skip to content

Commit

Permalink
Remove pivot listener once it stoped from the server
Browse files Browse the repository at this point in the history
  • Loading branch information
mrThe committed May 29, 2022
1 parent 4c7ae8d commit ae9fc59
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions implant/sliver/handlers/pivot-handlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ func pivotStopListenerHandler(envelope *pb.Envelope, connection *transports.Conn
return
}
pivots.StopListener(req.ID)
pivots.RemoveListener(req.ID)
connection.Send <- &pb.Envelope{
ID: envelope.ID,
Data: []byte{},
Expand Down

0 comments on commit ae9fc59

Please sign in to comment.