Two men pleaded guilty to hacking girls' Snapchat accounts and stealing sexually explicit photos.