This forum takes a dim view of hacking. The rules that you agreed to when you joined, which you should have read, state that.
Your question is like asking, in an ordinary automobile forum, "What level of mechanical knowledge do I need to be a car thief?", or maybe "How much knowledge of glass do I need to go around smashing windows?" and prompts a similar observation to the one I made earlier, namely that if you have to ask, that implies (1) that you ain't got the required level of knowledge and experience, and also (2) that you have not got much idea of how to get those things.
Put simply, to be a successful hacker, you need a very extensive knowledge not merely of programming but also of networking, OS design, computer and network security, and a detailed knowledge of how computer systems work in general. Often hackers are very bright computer science students. Others are sys admins or security specialists who have gone bad. I would add to the above qualities a defective moral sense. Hackers are criminals.