The comedian was targeted by a hacker who tricked male celebrities into exposing themselves before capturing the footage