Learning to "hack" is a process that is learned over several years of reading, trying and more reading.
My advise to you is go get a couple of decent books. A book to start is:
The hacker handbook 3.0 by Dr K.
Then subscribe to 2600
Then get to know TCP/IP intimately.
After the above
Learn how to code? Learn how to use Linux? Learn how to use Wireshark and nmap after building you own networking lab to run tests on.
Search "Certified Ethical Hacker" and get one of thier books.
You will never learn this in a month or two.
P.S. Please don't turn into a scumbag script kiddie.