Grey hat

A grey hat is a hacker that sometimes can do illegal stuff, but does not exploit it or tell others how to do so.