There are more than 2 types of hackers
1. White hat hackers are ethical hackers, helping organizations to detect vulnerabilities and loopholes in the system
2. Black Hat hackers, also known as crackers, hack for personal gain.
3. Gray Hat hacker who may sometimes violate laws or typical ethical standards, but does not have the malicious intent typical of a black hat hacker.
4. Green Hat Hackers are amateur hackers with the intention of becoming the full-blown hacker
5. Blue Hat Hackers are amateur hackers, performing acts of vengeance
6. Red Hat Hackers is white hat hacker who tries to halt acts of Black hat hackers and come down heavily on the attacker by launching series of aggressive cyber attacks against the hacker
7. State/Nation sponsored Hacker works for a government to gain confidential information from other governments
8. Hackivist breaks into systems to achieve a social or political aim.
9. Malicious Insider can be an employee, former employee, or third party, who have inside information concerning the organization's security practices, data and computer systems.
10. Script Kiddie is an amateur hacker who breaks into the system using available tools
(Link Removed by Moderator)