Question: how long does it take to learn how to hack?
Answer: Most people who try can obtain a decent skill set in eighteen months to two years if they completely concentrate on it. However, hacking is a vast ocean which takes years to explore its mystery. And if you are a genuine hacker, you will spend the rest of your life learning and developing your craft.