Penetration testing is classified as ethical hacking, and the individual who performs it is known as an ethical hacker.
White Box Testing
Black Box testing