For definition of hacking, please see this: http://en.wikipedia.org/wiki/Hacker_...er_security%29:

In the computer security context, a hacker is someone who seeks and exploits weaknesses in a computer system or computer network. Hackers may be motivated by a multitude of reasons, such as profit, protest, challenge. enjoyment,[1] or to evaluate those weaknesses to assist in removing them.

[1] Sterling, Bruce (1993). "Part 2(d)". The Hacker Crackdown. McLean, Virginia: IndyPublish.com. p. 61.ISBN1-4043-0641-2.