Good resources to start with:
OWASP Top Ten Project https://goo.gl/yv6D4t
OWASP REST Security Cheat Sheet https://goo.gl/93VPKD
But if you get to that level at all, you probably have the kind of innate talent or predisposition (which is not the same thing as body type) that Fenriss dismisses; lots of people do all those things and don't, even with a lot more time, reach that kind of level.
And, while they're valid and common pieces of advice, I think it leaves out some important things for most people. More important than having a male and female teacher, IMO, is having the right teacher for you -- both skill and personality fit matter and good teachers will know both roles (there is still value to having teachers which specialize in each role, but I would say this is less important.)