I personally feel there are only two ways to deal with it. 1. As mentioned by experienced folks – file complaint and take actions there, rebel.
Or, 2. Suffer – like others did and go through with it like others.
In my opinion what really is important though – dont become who you hate now. When time comes and it is your turn – be a bit better to your juniors, treat a little better. This “goodwill” gesture grows with time and will teach others.
That is how bad stuffs like ragging, exploitation goes away from society.