This type of question has NOT confounded philosophers for thousands of years. Moral relativism -- the idea that everything is just about the same, depending on how you look at it --as a popular meme is very recent in the historical record.
Look. It's lazy thinking, that's all. I'm sorry to have to say that. Critical thinking requires of you to make moral choices. So make some. I've made mine in the matter. Nobody is saying your thinking skills or any better or any worse than anybody else. I'm just asking you to use them.
If you're still having problems, try a little Kant: only do those things that you would want the rest of the world to do. If your code says it's okay to attack sites because you "think you are in the right", whatever that means, then you should expect everybody to do that. If your code involves other things, then formulate your rules and stick to them. But don't sit around saying it's just all kind of the same. That's the starting point: without your brain analyzing it, yes, it's all kind of the same. But that's why you have a brain; its to tell the difference.
Look I'm sorry if I hurt your feelings or was rude or something. I really am. But there's an important point here. So I'll bow out now and perhaps the next time you hear it you'll get it.