You can go to jail get in alot of trouble plus you always have a chance of letting a virus into yoru computer
White hat hackers use their capabilities to uncover security failings to help safeguard organizations from dangerous hackers. They can sometimes be paid employees or contractors working for companies as security specialists who attempt to find gaps in security.