Harassed - online, tell them to get over it. In person (i.e. someone is actually harassing you in real life), call the police because we already have laws against that.
Doxxed - If someone posts actual protected information, then sue them if you can. If someone just posts public information, then I don't see what the issue is.
Revenge-porned - If someone makes secret recordings of someone without their permission in a situation where that person would reasonably expect privacy, then that should be a crime. If someone makes a sex tape with someone willingly and hands ownership/control of said tape to that person, then you should have to live with the consequences of your actions. Don't make sex tapes. ¯\_(ツ)_/¯